mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Converted the triggered ability of Necropotence to script (actually it wasn't even a triggered ability). Updated the wording on the activated ability.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
Name:Necropotence
|
||||
ManaCost:B B B
|
||||
Types:Enchantment
|
||||
Text:Skip your draw step.\r\nWhenever you discard a card, exile that card from your graveyard.
|
||||
SVar:RemRandomDeck:True
|
||||
Text:Skip your draw step.
|
||||
T:Mode$ Discarded | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ Whenever you discard a card, exile that card from your graveyard.
|
||||
SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Defined$ TriggeredCard | Origin$ Graveyard | Destination$ Exile
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/necropotence.jpg
|
||||
SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/44.jpg
|
||||
|
||||
@@ -983,12 +983,6 @@ public abstract class Player extends GameEntity {
|
||||
}
|
||||
}
|
||||
|
||||
// necro disrupts madness
|
||||
if (AllZoneUtil.getPlayerCardsInPlay(c.getOwner(), "Necropotence").size() > 0) {
|
||||
AllZone.getGameAction().exile(c);
|
||||
return;
|
||||
}
|
||||
|
||||
AllZone.getGameAction().discard_madness(c);
|
||||
|
||||
if ((c.hasKeyword("If a spell or ability an opponent controls causes you to discard CARDNAME, put it onto the battlefield instead of putting it into your graveyard.")
|
||||
|
||||
@@ -724,13 +724,13 @@ public abstract class AbstractCardFactory implements NewConstants, CardFactoryIn
|
||||
}
|
||||
}; //SpellAbility
|
||||
|
||||
ability.setDescription("Pay 1 life: Set aside the top card of your library face down. "
|
||||
+ "At the end of your turn, put that card into your hand.");
|
||||
ability.setDescription("Pay 1 life: Exile the top card of your library face down. " +
|
||||
"Put that card into your hand at the beginning of your next end step.");
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(card.getName());
|
||||
sb.append(" - Set aside the top card of your library face down. "
|
||||
+ "At the end of your turn, put that card into your hand.");
|
||||
sb.append(" - Exile the top card of your library face down. " +
|
||||
"Put that card into your hand at the beginning of your next end step.");
|
||||
ability.setStackDescription(sb.toString());
|
||||
|
||||
card.addSpellAbility(ability);
|
||||
|
||||
Reference in New Issue
Block a user