mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Add Arboria (LEG)
This commit is contained in:
parent
38272a6dde
commit
3055bac004
3 changed files with 17 additions and 26 deletions
|
|
@ -87,7 +87,7 @@ class ArboriaEffect extends RestrictionEffect {
|
|||
@Override
|
||||
public boolean canAttack(Permanent attacker, UUID defenderId, Ability source, Game game) {
|
||||
CastSpellYourLastTurnWatcher watcher = (CastSpellYourLastTurnWatcher) game.getState().getWatchers().get(CastSpellYourLastTurnWatcher.class.getSimpleName());
|
||||
if (watcher.getAmountOfSpellsCastOnPlayersTurn(defenderId) > 0) {
|
||||
if (watcher != null && watcher.getAmountOfSpellsCastOnPlayersTurn(defenderId) > 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue