mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Updated watcher for Gaze of the Gorgon
This commit is contained in:
parent
866c1c3973
commit
c8d142492f
1 changed files with 5 additions and 0 deletions
|
|
@ -89,4 +89,9 @@ public class BlockedAttackerWatcher extends Watcher {
|
|||
Set<MageObjectReference> blockedAttackers = blockData.get(new MageObjectReference(blocker, game));
|
||||
return blockedAttackers != null && blockedAttackers.contains(new MageObjectReference(attacker, game));
|
||||
}
|
||||
|
||||
public boolean creatureHasBlockedAttacker(MageObjectReference attacker, MageObjectReference blocker, Game game) {
|
||||
Set<MageObjectReference> blockedAttackers = blockData.get(blocker);
|
||||
return blockedAttackers != null && blockedAttackers.contains(attacker);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue