mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed Livewire Lash.
This commit is contained in:
parent
c92e56c6d6
commit
1a4cba5196
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue