mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18: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:
@@ -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