mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[CLB] Implemented Tomb of Horrors Adventurer
This commit is contained in:
parent
6f94151930
commit
e6e74c2000
3 changed files with 87 additions and 1 deletions
|
|
@ -70,7 +70,11 @@ public class CastSecondSpellTriggeredAbility extends TriggeredAbilityImpl {
|
|||
throw new IllegalArgumentException("TargetController " + targetController + " not supported");
|
||||
}
|
||||
CastSpellLastTurnWatcher watcher = game.getState().getWatcher(CastSpellLastTurnWatcher.class);
|
||||
return watcher != null && watcher.getAmountOfSpellsPlayerCastOnCurrentTurn(event.getPlayerId()) == 2;
|
||||
if (watcher != null && watcher.getAmountOfSpellsPlayerCastOnCurrentTurn(event.getPlayerId()) == 2) {
|
||||
this.getEffects().setValue("spellCast", game.getSpell(event.getTargetId()));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue