mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed a bug with continuous static abilities with "RemoveAllAbilities" not granting mana abilities back.
- Removed stAnimate from Blood Moon and Lignify.
This commit is contained in:
@@ -2,8 +2,7 @@ Name:Blood Moon
|
|||||||
ManaCost:2 R
|
ManaCost:2 R
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:no text
|
Text:no text
|
||||||
S:Mode$ Continuous | Affected$ Land.nonBasic | RemoveAllAbilities$ True
|
S:Mode$ Continuous | Affected$ Land.nonBasic | AddType$ Mountain | RemoveSubTypes$ True | RemoveAllAbilities$ True | Description$ Nonbasic lands are Mountains.
|
||||||
K:stAnimateAll:Land.nonBasic:no change/no change/Overwrite:Land,Mountain,RemoveSubTypes:no colors:Overwrite:No Condition:Nonbasic lands are Mountains.
|
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_moon.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_moon.jpg
|
||||||
|
|||||||
@@ -4,8 +4,7 @@ Types:Tribal Enchantment Treefolk Aura
|
|||||||
Text:no text
|
Text:no text
|
||||||
K:Enchant creature
|
K:Enchant creature
|
||||||
A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Curse
|
A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Curse
|
||||||
S:Mode$ Continuous | Affected$ Card.EnchantedBy | RemoveAllAbilities$ True
|
S:Mode$ Continuous | Affected$ Card.EnchantedBy | SetPower$ 0 | SetToughness$ 4 | AddType$ Treefolk | RemoveCreatureTypes$ True | RemoveAllAbilities$ True | Description$ Enchanted creature is a 0/4 Treefolk with no abilities.
|
||||||
K:stAnimateEnchanted:Creature:0/4/Overwrite:Creature,Treefolk,Overwrite:no colors:Overwrite:No condition:Enchanted creature is a 0/4 Treefolk with no abilities.
|
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/lignify.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/lignify.jpg
|
||||||
|
|||||||
@@ -276,9 +276,12 @@ abstract public class Ability_Mana extends Ability_Activated implements java.io.
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
//Mana abilities with same Descriptions are "equal"
|
//Mana abilities with same Descriptions are "equal"
|
||||||
if (o == null)
|
if (o == null || !(o instanceof Ability_Mana))
|
||||||
return false;
|
return false;
|
||||||
return o.toString().equals(this.toString());
|
|
||||||
|
Ability_Mana abm = (Ability_Mana) o;
|
||||||
|
|
||||||
|
return abm.toUnsuppressedString().equals(this.toUnsuppressedString());
|
||||||
}
|
}
|
||||||
|
|
||||||
}//end class Ability_Mana
|
}//end class Ability_Mana
|
||||||
|
|||||||
@@ -871,6 +871,11 @@ public abstract class SpellAbility {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return toUnsuppressedString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toUnsuppressedString() {
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
SpellAbility node = this;
|
SpellAbility node = this;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user