- Fixed mana ability (Deathrite Shaman's first ability is not a mana ability)

This commit is contained in:
swordshine
2013-07-07 09:55:35 +00:00
parent f063f52981
commit da052c02e2

View File

@@ -130,8 +130,9 @@ public abstract class SpellAbility implements ISpellAbility, ITargetable {
// Check whether spell or ability first // Check whether spell or ability first
if (this.isSpell()) if (this.isSpell())
return false; return false;
// without a target
if(getRestrictions() != null && getRestrictions().getPlaneswalker()) if (this.usesTargeting()) return false;
if (getRestrictions() != null && getRestrictions().getPlaneswalker())
return false; //Loyalty ability, not a mana ability. return false; //Loyalty ability, not a mana ability.
return getManaPartRecursive() != null; return getManaPartRecursive() != null;