Implemented "Battle" type from MOM set (they are like planeswalkers), added some new primitives from MOM set, fixed some primitives targeting any target.

This commit is contained in:
Vittorio Alfieri
2023-05-11 15:57:08 +02:00
parent f395274c0b
commit 6ef8b45709
15 changed files with 225 additions and 44 deletions

View File

@@ -857,6 +857,8 @@ void GameObserver::gameStateBasedEffects()
found++;
if(stypes.find("planeswalker") != string::npos && card->target->hasType("planeswalker"))
found++;
if(stypes.find("battle") != string::npos && card->target->hasType("battle"))
found++;
}
if((!found || protectionfromQ) && !card->isBestowed)