* Mardu Woe-Reaper - Fixed that it triggered not just for warrioors or itself going to graveyard (fixes #679).

This commit is contained in:
LevelX2 2015-01-18 10:20:18 +01:00
parent 89ca54e80b
commit ed87d87ac2

View file

@ -94,7 +94,7 @@ class MarduWoeReaperTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) {
if (event.getType() == GameEvent.EventType.ENTERS_THE_BATTLEFIELD && event.getPlayerId().equals(this.getControllerId())) {
Permanent permanent = game.getPermanent(event.getTargetId());
if (permanent != null && (permanent.getId() == event.getSourceId() || permanent.getSubtype().contains("Warrior"))) {
if (permanent != null && (permanent.getId() == this.getSourceId() || permanent.getSubtype().contains("Warrior"))) {
return true;
}
}