Fixed a crash on counterremoved trigger, fixed/add some primitives that have ability to double the damage to any target.

This commit is contained in:
valfieri
2020-10-12 17:20:07 +02:00
parent 29985718a7
commit 75347a2f37
3 changed files with 79 additions and 32 deletions
+1 -1
View File
@@ -2025,7 +2025,7 @@ public:
if(type == 1)
e->targetCard->counters->addCounter(e->name.c_str(),e->power,e->toughness,true,true,e->source);
else
e->targetCard->counters->removeCounter(counter->name.c_str(),counter->power,counter->toughness,true,true,e->source);
e->targetCard->counters->removeCounter(e->name.c_str(),e->power,e->toughness,true,true,e->source);
}
return 1;
}