Beispiel #1
0
 public function apply(Player $player, Boss $boss, $turns)
 {
     $boss->inflictDamage(3);
     if ($boss->isDead()) {
         return;
     }
 }
Beispiel #2
0
 public function cast(Player $player, Boss $boss, EffectTracker $effects)
 {
     $player->reduceMana($this->getCost());
     $player->giveHealth(2);
     $boss->inflictDamage(2);
 }