Implement Swift Silence

This commit is contained in:
Noah Gleason 2018-07-01 19:03:47 -04:00
parent 1b14c6f72d
commit 3d79890e9a
No known key found for this signature in database
GPG key ID: EC030EC6B0650A40
3 changed files with 81 additions and 1 deletions

View file

@ -89,10 +89,10 @@ public class SpellStack extends ArrayDeque<StackObject> {
game.informPlayers(counteredObjectName + " is countered by " + sourceObject.getLogName());
}
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.COUNTERED, objectId, sourceId, stackObject.getControllerId()));
return true;
} else if (!game.isSimulation()) {
game.informPlayers(counteredObjectName + " could not be countered by " + sourceObject.getLogName());
}
return true;
}
return false;
}