mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Corrosive Ooze - Fixed a bug game breaking bug if it is in the deck.
This commit is contained in:
parent
ad5b719dd2
commit
fc4e51e355
1 changed files with 4 additions and 3 deletions
|
@ -199,9 +199,10 @@ class CorrosiveOozeCombatWatcher extends Watcher {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (game.getTurn().getPhaseType().equals(TurnPhase.COMBAT)) {
|
||||
if (event.getType() == GameEvent.EventType.ZONE_CHANGE) {
|
||||
if (((ZoneChangeEvent) event).getFromZone().equals(Zone.BATTLEFIELD)) {
|
||||
|
||||
if (event.getType() == GameEvent.EventType.ZONE_CHANGE) {
|
||||
if (((ZoneChangeEvent) event).getFromZone().equals(Zone.BATTLEFIELD)) {
|
||||
if (game.getTurn() != null && TurnPhase.COMBAT.equals(game.getTurn().getPhaseType())) {
|
||||
// Check if a previous blocked or blocked by creatures is leaving the battlefield
|
||||
for (Map.Entry<MageObjectReference, HashSet<MageObjectReference>> entry : oozeBlocksOrBlocked.entrySet()) {
|
||||
for (MageObjectReference mor : entry.getValue()) {
|
||||
|
|
Loading…
Reference in a new issue