Fixed Flamerush Rider, added battleready option to "clone with" keyword.

This commit is contained in:
Vittorio Alfieri
2021-01-28 15:56:15 +01:00
parent 024e015dfc
commit b35e503a0f
4 changed files with 13 additions and 4 deletions
+7
View File
@@ -5153,6 +5153,7 @@ AACloner::AACloner(GameObserver* observer, int _id, MTGCardInstance * _source, M
target = _target;
source = _source;
options = optionsList;
battleReady = (abilitiesStringList.find("battleready") != string::npos)?true:false;
if (abilitiesStringList.size() > 0)
{
PopulateAbilityIndexVector(awith, abilitiesStringList);
@@ -5265,6 +5266,12 @@ int AACloner::resolve()
TokenandAbilityClone->addToGame();
}
}
if(battleReady)
{
spell->source->summoningSickness = 0;
spell->source->tap();
spell->source->setAttacker(1);
}
if(andAbility)
{
MTGAbility * andAbilityClone = andAbility->clone();