Fixed bug stolen creatures that exploit themselves now trigger for the appropriate player
@@ -63,7 +63,6 @@ public class ExploitCreatureTriggeredAbility extends TriggeredAbilityImpl {
return new ExploitCreatureTriggeredAbility(this);
}
-
@Override
public boolean checkEventType(GameEvent event, Game game) {
return event.getType() == GameEvent.EventType.EXPLOITED_CREATURE;
@@ -75,6 +74,7 @@ public class ExploitCreatureTriggeredAbility extends TriggeredAbilityImpl {
if (!this.hasSourceObjectAbility(game, source, event)) {
return false;
}
+ this.setControllerId(event.getPlayerId());
return true; // if Exploits creature sacrifices itself, exploit triggers
}
return super.isInUseableZone(game, source, event);
@@ -98,4 +98,3 @@ public class ExploitCreatureTriggeredAbility extends TriggeredAbilityImpl {
return "When {this} exploits a creature, " + super.getRule();
}
}
-
