forked from External/mage
[WOE] Implement Sharae of Numbing Depths (#10829)
* [WOE] Implement Sharae of Numbing Depths * change EventType.TAPPED's playerId to be the source's controller There seems to have been no usage of the previous playerId, and it can be retrieve from the target anyway. * apply review -- cleaner and check for creatures.
This commit is contained in:
parent
13151feb0b
commit
8fde855026
4 changed files with 92 additions and 2 deletions
|
|
@ -559,7 +559,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
//20091005 - 701.15a
|
||||
if (!tapped && !replaceEvent(EventType.TAP, game)) {
|
||||
this.tapped = true;
|
||||
game.fireEvent(new GameEvent(GameEvent.EventType.TAPPED, objectId, source, controllerId, 0, forCombat));
|
||||
game.fireEvent(new GameEvent(GameEvent.EventType.TAPPED, objectId, source, source == null ? null : source.getControllerId(), 0, forCombat));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue