mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed Runic Armasaur triggering off of your abilities
This commit is contained in:
parent
5c7993af38
commit
c59457b2e5
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,9 @@ class RunicArmasaurTriggeredAbility extends TriggeredAbilityImpl {
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
StackAbility stackAbility = (StackAbility) game.getStack().getStackObject(event.getSourceId());
|
||||
if (stackAbility != null && stackAbility.getAbilityType() == AbilityType.ACTIVATED) {
|
||||
if (stackAbility != null
|
||||
&& stackAbility.getAbilityType() == AbilityType.ACTIVATED
|
||||
&& game.getOpponents(this.getControllerId()).contains(stackAbility.getControllerId())) {
|
||||
MageObject abilitySourceObject = stackAbility.getSourceObject(game);
|
||||
return abilitySourceObject != null && (abilitySourceObject.isLand() || abilitySourceObject.isCreature());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue