added a modifier for "tap" for cards that say "enters the battlefield tapped", they are supposed to be tapped when put in play, which mean they should not trigger @tapped(.
for cards with the line or options "do/pay MANA or this card enters the battlefield tapped" simply change it to tap(noevent) it will simulate the card being placed into play already tapped.
This commit is contained in:
@@ -4334,8 +4334,8 @@ ABestow * ABestow::clone() const
|
||||
}
|
||||
|
||||
//Tapper
|
||||
AATapper::AATapper(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target, ManaCost * _cost) :
|
||||
ActivatedAbility(observer, id, card, _cost, 0)
|
||||
AATapper::AATapper(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target, ManaCost * _cost, bool sendNoEvent) :
|
||||
ActivatedAbility(observer, id, card, _cost, 0),_sendNoEvent(sendNoEvent)
|
||||
{
|
||||
target = _target;
|
||||
aType = MTGAbility::TAPPER;
|
||||
@@ -4348,7 +4348,7 @@ int AATapper::resolve()
|
||||
{
|
||||
while (_target->next)
|
||||
_target = _target->next; //This is for cards such as rampant growth
|
||||
_target->tap();
|
||||
_target->tap(_sendNoEvent);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user