mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Merge branch 'ramirez' into 'master'
CMR: Ghost of Ramirez DePietro and keyword support See merge request core-developers/forge!3312
This commit is contained in:
@@ -4763,6 +4763,16 @@ public class CardFactoryUtil {
|
||||
String opName = Expressions.operatorName(part.substring(kwLength, kwLength + 2));
|
||||
String operand = part.substring(kwLength + 2);
|
||||
postponedAdjectives.add(Pair.of(true, "power" + opName + operand));
|
||||
} else if (part.startsWith("toughness")) {
|
||||
int kwLength = 9;
|
||||
String operand = part.substring(kwLength + 2);
|
||||
String opName = "";
|
||||
if (part.startsWith("toughnessGE")) {
|
||||
opName = " or greater";
|
||||
} else {
|
||||
opName = "update CardFactoryUtil line 4773";
|
||||
}
|
||||
postponedAdjectives.add(Pair.of(true, "toughness " + operand + opName));
|
||||
} else if (CardType.isACreatureType(part)) {
|
||||
if (creatures != null && CardType.isACreatureType(creatures)) { // e.g. Kor Castigator
|
||||
creatures = StringUtils.capitalize(Lang.getPlural(part)) + creatures;
|
||||
|
||||
11
forge-gui/res/cardsfolder/upcoming/ghost_of_ramirez_depietro.txt
Executable file
11
forge-gui/res/cardsfolder/upcoming/ghost_of_ramirez_depietro.txt
Executable file
@@ -0,0 +1,11 @@
|
||||
Name:Ghost of Ramirez DePietro
|
||||
ManaCost:2 U
|
||||
Types:Legendary Creature Pirate Spirit
|
||||
PT:2/3
|
||||
K:CantBeBlockedBy Creature.toughnessGE3
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, choose up to one target card in any graveyard that has been discarded or put there from a library this turn. Put that card into its owner's hand.
|
||||
SVar:TrigChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 1 | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Card.DiscardedThisTurn,Card.ThisTurnEntered_Graveyard_from_Library | TgtPrompt$ Choose up to one target card in any graveyard that has been discarded or put there from a library this turn
|
||||
K:Partner
|
||||
DeckHas:Ability$Graveyard
|
||||
DeckHints:Ability$Mill
|
||||
Oracle:Ghost of Ramirez DePietro can't be blocked by creatures with toughness 3 or greater.\nWhenever Ghost of Ramirez DePietro deals combat damage to a player, choose up to one target card in any graveyard that has been discarded or put there from a library this turn. Put that card into its owner's hand.\nPartner (You can have two commanders if both have partner.)
|
||||
Reference in New Issue
Block a user