mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Rename, move and comment resolving ability event creation.
Should be clearer now.
This commit is contained in:
parent
111114e338
commit
3465493ccf
4 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue