Fixed primitives, fixed a problem on "flip" ability for some backside cards (e.g. "Edgar Markov's Coffin"), added new keywords "pnumcreswp" and "onumcreswp" to calculate the number of creatures that have toughness greater than their power.

This commit is contained in:
Vittorio Alfieri
2021-11-07 22:13:39 +01:00
parent f371295f24
commit 8012672a70
5 changed files with 26 additions and 13 deletions

View File

@@ -4794,7 +4794,7 @@ int AAFlip::resolve()
int activatedanyability = 0;
MTGCardInstance * Flipper = (MTGCardInstance*)source;
this->oneShot = true;
if(Flipper->isFlipped > 0 && forcetype == "")
if(Flipper->isFlipped > 0 && forcetype == "" && flipStats != "myorigname" && flipStats != "chosenname" && flipStats != "backside") // Fixed a problem on some backside cards (e.g. "Edgar Markov's Coffin").
{
game->removeObserver(this);
return 0;