mirror of
https://github.com/correl/mage.git
synced 2025-04-10 17:00:08 -09: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
Reference in a new issue