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:
@@ -467,12 +467,14 @@ void MTGCardInstance::eventblocked(MTGCardInstance * opponent)
|
||||
}
|
||||
|
||||
//Taps the card
|
||||
void MTGCardInstance::tap()
|
||||
void MTGCardInstance::tap(bool sendNoEvent)
|
||||
{
|
||||
if (tapped)
|
||||
return;
|
||||
tapped = 1;
|
||||
WEvent * e = NEW WEventCardTap(this, 0, 1);
|
||||
if (sendNoEvent)
|
||||
dynamic_cast<WEventCardTap*>(e)->noTrigger = true;
|
||||
observer->receiveEvent(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user