mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Riddlesmith fix
This commit is contained in:
parent
92a0c2f20e
commit
a314c40206
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class RiddlesmithTriggeredAbility extends TriggeredAbilityImpl<RiddlesmithTrigge
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.SPELL_CAST) {
|
||||
if (event.getType() == GameEvent.EventType.SPELL_CAST && event.getPlayerId().equals(this.getControllerId())) {
|
||||
Spell spell = game.getStack().getSpell(event.getTargetId());
|
||||
if (spell != null && spell.getCardType().contains(CardType.ARTIFACT)) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue