Merge pull request #5098 from NoahGleason/swift-silence

Implement Swift Silence
This commit is contained in:
LevelX2 2018-07-14 10:27:19 +02:00 committed by GitHub
commit 1e2d269086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}