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:
omegablast2002@yahoo.com
2010-08-31 17:52:38 +00:00
parent 498967ec66
commit 17eef3ef6f
3 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class Constants
POISONTWOTOXIC = 50,
POISONTHREETOXIC = 51,
PHANTOM = 52,
COUNTERASDAMAGE = 53,
WILTING = 53,
VIGOR = 54,
CHANGELING = 55,

View File

@@ -71,7 +71,7 @@ int Damage::resolve(){
damage = 0;
(_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 = damage; i > 0; i--){
(_target)->counters->addCounter(-1,-1);

View File

@@ -61,7 +61,7 @@ const char* Constants::MTGBasicAbilities[] = {
"poisontwotoxic",
"poisonthreetoxic",
"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
"changeling",//this card is every creature type at all times
};