Rename, move and comment resolving ability event creation.

Should be clearer now.
This commit is contained in:
emerald000 2020-05-03 18:56:35 -04:00
parent 111114e338
commit 3465493ccf
4 changed files with 5 additions and 3 deletions

View file

@ -152,6 +152,9 @@ public abstract class AbilityImpl implements Ability {
boolean result = true;
//20100716 - 117.12
if (checkIfClause(game)) {
// Ability has started resolving. Fire event.
// Used for abilities counting the number of resolutions like Ashling the Pilgrim.
game.fireEvent(new GameEvent(GameEvent.EventType.RESOLVING_ABILITY, this.getOriginalId(), this.getSourceId(), this.getControllerId()));
if (this instanceof TriggeredAbility) {
for (UUID modeId : this.getModes().getSelectedModes()) {
this.getModes().setActiveMode(modeId);