MArcomage

Free multiplayer on-line fantasy card game

Please log in

Keywords > Enduring

Icon

Enduring

Effect

When card has this keyword, it also has a number next to this keyword. When card is played and the last card played was same as this one, opponent will suffer additional damage equal to number next to Enduring.

Lore

The battle often increases the capabilities of soldiers, but only for a short period of time mostly due to fatigue. However, there are creatures which have high endurance and are able to maintain battle trance without losing their strength. Such creatures tend to do more damage if they keep fighting for longer period of time.

Code

    if ($t->myData()->LastCard[$t->myLastCardIndex()] == $t->card()->id() && $t->myLastAction() == 'play') {
      $bonus_damage = $this->keywordValue($t->card()->getData('Keywords'), 'Enduring');
      $t->hisData()->attack($bonus_damage);
    }