mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
SpellAbility fixed some changes
This commit is contained in:
@@ -1495,10 +1495,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SpellAbility p = getParent();
|
SpellAbility p = getParent();
|
||||||
if (p != null) {
|
return p != null && p.isTargeting(o);
|
||||||
return p.isTargeting(o);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Takes one argument like Permanent.Blue+withFlying
|
// Takes one argument like Permanent.Blue+withFlying
|
||||||
@@ -1519,7 +1516,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (incR[0].equals("Activated")) {
|
else if (incR[0].equals("Activated")) {
|
||||||
if (!(this instanceof AbilityActivated) && !(root instanceof AbilityActivated)) {
|
if (!(root instanceof AbilityActivated)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user