Merge pull request #2346 from Agetian/fix-enlist-desc

Fix Enlist description during cost payment
This commit is contained in:
Anthony Calosa
2023-01-30 06:03:30 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -3707,7 +3707,7 @@ public class CardFactoryUtil {
+ " | Description$ " + sb.toString() + " (" + inst.getReminderText() + ")";
inst.addStaticAbility(StaticAbility.create(effect, state.getCard(), state, intrinsic));
} else if (keyword.equals("Enlist")) {
String effect = "Mode$ OptionalAttackCost | ValidCard$ Card.Self | Cost$ Enlist<1/CARDNAME> | Secondary$ True" +
String effect = "Mode$ OptionalAttackCost | ValidCard$ Card.Self | Cost$ Enlist<1/CARDNAME/creature> | Secondary$ True" +
"| Trigger$ TrigEnlist | Description$ Enlist ( " + inst.getReminderText() + ")";
StaticAbility st = StaticAbility.create(effect, state.getCard(), state, intrinsic);
st.setSVar("TrigEnlist", "DB$ Pump | NumAtt$ TriggerRemembered$CardPower" +

View File

@@ -1349,6 +1349,7 @@ lblUseTriggeredAbilityOf=Use triggered ability of
lblExertAttackersConfirm=Exert Attackers?
lblEnlistAttackersConfirm=Enlist Attackers?
lblEnlisted=Enlisted
lblSelectACostToEnlist=Select a {0} to enlist ({1} left)
lblThereNoCardInPlayerZone=There are no cards in {0} {1}
lblPutCardsOnTheTopLibraryOrGraveyard=Put {0} on the top of library or graveyard?
lblLibrary=Library