mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Clean up card detail mess
This commit is contained in:
@@ -4357,13 +4357,15 @@ public class CardFactoryUtil {
|
|||||||
"| SpellDescription$ (" + inst.getReminderText() + ")";
|
"| SpellDescription$ (" + inst.getReminderText() + ")";
|
||||||
|
|
||||||
final String copyStr = "DB$ CopyPermanent | Defined$ Self | ImprintTokens$ True " +
|
final String copyStr = "DB$ CopyPermanent | Defined$ Self | ImprintTokens$ True " +
|
||||||
"| AddKeywords$ Haste | TokenRemembered$ Player.IsRemembered";
|
"| AddKeywords$ Haste | RememberTokens$ True | TokenRemembered$ Player.IsRemembered";
|
||||||
|
|
||||||
final String pumpStr = "DB$ Pump | Defined$ Imprinted | Permanent$ True " +
|
final String pumpStr = "DB$ Animate | Defined$ Remembered " +
|
||||||
"| KW$ HIDDEN CARDNAME attacks specific player each combat if able:Remembered";
|
"| HiddenKeywords$ CARDNAME attacks specific player each combat if able:Remembered";
|
||||||
|
|
||||||
|
final String pumpcleanStr = "DB$ Cleanup | ForgetDefined$ RememberedCard";
|
||||||
|
|
||||||
final String delTrigStr = "DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | RememberObjects$ Imprinted " +
|
final String delTrigStr = "DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | RememberObjects$ Imprinted " +
|
||||||
"| TriggerDescription$ Sacrifice them at the beginning of the next end step.";
|
"| StackDescription$ None | TriggerDescription$ Sacrifice them at the beginning of the next end step.";
|
||||||
|
|
||||||
final String sacStr = "DB$ SacrificeAll | Defined$ DelayTriggerRemembered";
|
final String sacStr = "DB$ SacrificeAll | Defined$ DelayTriggerRemembered";
|
||||||
|
|
||||||
@@ -4379,6 +4381,9 @@ public class CardFactoryUtil {
|
|||||||
AbilitySub pumpSA = (AbilitySub) AbilityFactory.getAbility(pumpStr, card);
|
AbilitySub pumpSA = (AbilitySub) AbilityFactory.getAbility(pumpStr, card);
|
||||||
copySA.setSubAbility(pumpSA);
|
copySA.setSubAbility(pumpSA);
|
||||||
|
|
||||||
|
AbilitySub pumpcleanSA = (AbilitySub) AbilityFactory.getAbility(pumpcleanStr, card);
|
||||||
|
pumpSA.setSubAbility(pumpcleanSA);
|
||||||
|
|
||||||
AbilitySub delTrigSA = (AbilitySub) AbilityFactory.getAbility(delTrigStr, card);
|
AbilitySub delTrigSA = (AbilitySub) AbilityFactory.getAbility(delTrigStr, card);
|
||||||
sa.setSubAbility(delTrigSA);
|
sa.setSubAbility(delTrigSA);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user