forced to change "poisondamage" to "poisontoxic" also poisontwotoxic, poisonthreetoxic
This commit is contained in:
@@ -104,9 +104,9 @@ class Constants
|
|||||||
CANTREGEN = 46,
|
CANTREGEN = 46,
|
||||||
ONEBLOCKER = 47,
|
ONEBLOCKER = 47,
|
||||||
INFECT = 48,
|
INFECT = 48,
|
||||||
POISONDAMAGE = 49,
|
POISONTOXIC = 49,
|
||||||
POISONTWODAMAGE = 50,
|
POISONTWOTOXIC = 50,
|
||||||
POISONTHREEDAMAGE = 51,
|
POISONTHREETOXIC = 51,
|
||||||
PHANTOM = 52,
|
PHANTOM = 52,
|
||||||
COUNTERASDAMAGE = 53,
|
COUNTERASDAMAGE = 53,
|
||||||
VIGOR = 54,
|
VIGOR = 54,
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ int Damage::resolve(){
|
|||||||
}return a;
|
}return a;
|
||||||
}//--------------------------------------------------
|
}//--------------------------------------------------
|
||||||
//poison AND damage----------------------------------
|
//poison AND damage----------------------------------
|
||||||
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONDAMAGE)){
|
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONTOXIC)){
|
||||||
MTGCardInstance * _target = (MTGCardInstance *)target;
|
MTGCardInstance * _target = (MTGCardInstance *)target;
|
||||||
for (int i = 0; i < damage; i++){
|
for (int i = 0; i < damage; i++){
|
||||||
a = target->dealDamage(1);
|
a = target->dealDamage(1);
|
||||||
@@ -124,7 +124,7 @@ int Damage::resolve(){
|
|||||||
_target->poisonCount += 1;
|
_target->poisonCount += 1;
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONTWODAMAGE)){
|
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONTWOTOXIC)){
|
||||||
MTGCardInstance * _target = (MTGCardInstance *)target;
|
MTGCardInstance * _target = (MTGCardInstance *)target;
|
||||||
for (int i = 0; i < damage; i++){
|
for (int i = 0; i < damage; i++){
|
||||||
a = target->dealDamage(1);
|
a = target->dealDamage(1);
|
||||||
@@ -133,7 +133,7 @@ int Damage::resolve(){
|
|||||||
_target->poisonCount += 2;
|
_target->poisonCount += 2;
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONTHREEDAMAGE)){
|
while(target->type_as_damageable == DAMAGEABLE_PLAYER && source->has(Constants::POISONTHREETOXIC)){
|
||||||
MTGCardInstance * _target = (MTGCardInstance *)target;
|
MTGCardInstance * _target = (MTGCardInstance *)target;
|
||||||
for (int i = 0; i < damage; i++){
|
for (int i = 0; i < damage; i++){
|
||||||
a = target->dealDamage(1);
|
a = target->dealDamage(1);
|
||||||
|
|||||||
@@ -57,9 +57,9 @@ const char* Constants::MTGBasicAbilities[] = {
|
|||||||
"cantregen",
|
"cantregen",
|
||||||
"oneblocker",
|
"oneblocker",
|
||||||
"infect",
|
"infect",
|
||||||
"poisondamage",
|
"poisontoxic",
|
||||||
"poisontwodamage",
|
"poisontwotoxic",
|
||||||
"poisonthreedamage",
|
"poisonthreetoxic",
|
||||||
"phantom",//prevents damage and remove 1 +1/+1 counter
|
"phantom",//prevents damage and remove 1 +1/+1 counter
|
||||||
"counterasdamage",//source takes damage in the form of -1/-1 counters.
|
"counterasdamage",//source takes damage in the form of -1/-1 counters.
|
||||||
"vigor",//instead of taking damage the source gains +1/+1 counters
|
"vigor",//instead of taking damage the source gains +1/+1 counters
|
||||||
|
|||||||
Reference in New Issue
Block a user