Fixed Livewire Lash.

This commit is contained in:
magenoxx 2011-07-29 02:49:45 +04:00
parent c92e56c6d6
commit 1a4cba5196

View file

@ -92,7 +92,8 @@ class LivewireLashAbility extends TriggeredAbilityImpl<LivewireLashAbility> {
@Override @Override
public boolean checkTrigger(GameEvent event, Game game) { public boolean checkTrigger(GameEvent event, Game game) {
if (event.getType() == EventType.TARGETED && event.getTargetId().equals(sourceId)) { if (event.getType() == EventType.TARGETED && event.getTargetId().equals(sourceId)) {
if (game.getCard(event.getSourceId()).getCardType().contains(CardType.SORCERY)) { if (game.getCard(event.getSourceId()).getCardType().contains(CardType.SORCERY) ||
game.getCard(event.getSourceId()).getCardType().contains(CardType.INSTANT)) {
return true; return true;
} }
} }