changed a previous fix a bit, also, altho this is not the "layers system" and we don't really support it, i thought i could atleast support the reapply of p/t bonuses from counters for atransformer...

and while messing around i found out that i forgot an important check in the new kicker with menu, to check if the card was still in the hand :P
This commit is contained in:
omegablast2002@yahoo.com
2011-04-28 15:17:49 +00:00
parent 59a8afb745
commit 669f8744b6
3 changed files with 33 additions and 1 deletions

View File

@@ -485,6 +485,8 @@ int MTGKickerRule::isReactingToClick(MTGCardInstance * card, ManaCost * mana)
if(OptionKicker::KICKER_ALWAYS == options[Options::KICKERPAYMENT].number)
return 0;
Player * player = game->currentlyActing();
if(!player->game->hand->hasCard(card))
return 0;
ManaCost * kicker = card->getManaCost()->kicker;
if(!kicker)
{