mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed mana ability (Deathrite Shaman's first ability is not a mana ability)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user