Creepy Doll fix

This commit is contained in:
magenoxx 2011-10-05 22:53:37 +04:00
parent 7a998c0dfe
commit 92a1af83bd

View file

@ -93,7 +93,7 @@ class CreepyDollTriggeredAbility extends TriggeredAbilityImpl<CreepyDollTriggere
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (event instanceof DamagedCreatureEvent) {
if (((DamagedCreatureEvent) event).isCombatDamage()) {
if (((DamagedCreatureEvent) event).isCombatDamage() && event.getSourceId().equals(sourceId)) {
getEffects().get(0).setTargetPointer(new FixedTarget(event.getTargetId()));
return true;
}