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