produceextra, lki(last known information) for power, toughness and basic abilities

This commit is contained in:
Anthony Calosa
2015-09-30 23:45:54 +08:00
parent 956d21d431
commit e1c02c8bf5
10 changed files with 80 additions and 20 deletions

View File

@@ -608,6 +608,9 @@ void GameObserver::gameStateBasedEffects()
for (int j = zone->nb_cards - 1; j >= 0; j--)
{
MTGCardInstance * card = zone->cards[j];
card->LKIpower = card->power;
card->LKItoughness = card->toughness;
card->LKIbasicAbilities = card->basicAbilities;
card->afterDamage();
card->mPropertiesChangedSinceLastUpdate = false;
if(card->hasType(Subtypes::TYPE_PLANESWALKER) && (!card->counters||!card->counters->hasCounter("loyalty",0,0)))