changed "counterasdamage" to "wilting" parser would understand it fine in abilities=, but the ability could not be granted in lords ect.
This commit is contained in:
@@ -108,7 +108,7 @@ class Constants
|
|||||||
POISONTWOTOXIC = 50,
|
POISONTWOTOXIC = 50,
|
||||||
POISONTHREETOXIC = 51,
|
POISONTHREETOXIC = 51,
|
||||||
PHANTOM = 52,
|
PHANTOM = 52,
|
||||||
COUNTERASDAMAGE = 53,
|
WILTING = 53,
|
||||||
VIGOR = 54,
|
VIGOR = 54,
|
||||||
CHANGELING = 55,
|
CHANGELING = 55,
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ int Damage::resolve(){
|
|||||||
damage = 0;
|
damage = 0;
|
||||||
(_target)->counters->removeCounter(1,1);
|
(_target)->counters->removeCounter(1,1);
|
||||||
}
|
}
|
||||||
if ((_target)->has(Constants::COUNTERASDAMAGE)) {
|
if ((_target)->has(Constants::WILTING)) {
|
||||||
for (int i = 0; i < damage; i++){
|
for (int i = 0; i < damage; i++){
|
||||||
for (int i = damage; i > 0; i--){
|
for (int i = damage; i > 0; i--){
|
||||||
(_target)->counters->addCounter(-1,-1);
|
(_target)->counters->addCounter(-1,-1);
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ const char* Constants::MTGBasicAbilities[] = {
|
|||||||
"poisontwotoxic",
|
"poisontwotoxic",
|
||||||
"poisonthreetoxic",
|
"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.
|
"wilting",//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
|
||||||
"changeling",//this card is every creature type at all times
|
"changeling",//this card is every creature type at all times
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user