Merge pull request #1484 from Northmoc/hbg_mace

HBG: Mace of Disruption and support
This commit is contained in:
Paul Hammerton
2022-09-08 08:10:30 +01:00
committed by GitHub
4 changed files with 24 additions and 2 deletions

View File

@@ -2269,7 +2269,7 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
keyword = keyword.replace("Strike", "strike");
}
sb.append(i !=0 && sb.length() !=0 ? ", " : "");
sb.append(i > 0 && sb.length() !=0 ? keyword.toLowerCase() : keyword);
sb.append(i > 0 && sb.length() !=0 ? StringUtils.uncapitalize(keyword) : keyword);
}
if (sbLong.length() > 0) {
sbLong.append("\r\n");

View File

@@ -0,0 +1,11 @@
Name:Liara of the Flaming Fist
ManaCost:R W
Types:Legendary Creature Human Soldier
PT:2/2
T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigRepeatEach | TriggerDescription$ At the beginning of each combat, each creature you control gets +1/+1 until end of turn if it has the same name as another creature you control or a creature card in your graveyard.
SVar:TrigRepeatEach:DB$ RepeatEach | RepeatCards$ Creature.YouCtrl | RepeatSubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ Remembered | NumAtt$ +1 | NumDef$ +1 | ConditionCheckSVar$ X
SVar:X:Count$Valid Creature.IsNotRemembered+YouCtrl+sharesNameWith Remembered/Plus.Y
SVar:Y:Count$ValidGraveyard Creature.YouOwn+sharesNameWith Remembered
A:AB$ Pump | Cost$ 1 R W | ValidTgts$ Creature.Other+nonToken+YouCtrl | TgtPrompt$ Select another target nontoken creature you control | KW$ First Strike & Double team | SorcerySpeed$ True | GameActivationLimit$ 1 | SpellDescription$ Another target nontoken creature you control gains first strike and double team until end of turn. Activate only as a sorcery and only once.
Oracle:At the beginning of each combat, each creature you control gets +1/+1 until end of turn if it has the same name as another creature you control or a creature card in your graveyard.\n{1}{R}{W}: Another target nontoken creature you control gains first strike and double team until end of turn. Activate only as a sorcery and only once.

View File

@@ -0,0 +1,11 @@
Name:Mace of Disruption
ManaCost:1 W
Types:Artifact Equipment
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddToughness$ 2 | AddKeyword$ Protection from Demons & Protection from Devils | Description$ Equipped creature gets +0/+2 and has protection from Demons and from Devils.
T:Mode$ Attacks | ValidCard$ Creature.EquippedBy | Execute$ TrigEffect | TriggerDescription$ Whenever equipped creature attacks, it perpetually gets +1/+0 if it has the same name as another creature you control or a creature card in your graveyard.
SVar:TrigEffect:DB$ Effect | ConditionCheckSVar$ X | RememberObjects$ Equipped | Name$ Mace of Disruption's Perpetual Effect | Duration$ Permanent | StaticAbilities$ PerpetualP1P0
SVar:PerpetualP1P0:Mode$ Continuous | Affected$ Card.IsRemembered | AddPower$ 1 | EffectZone$ Command | AffectedZone$ Battlefield,Hand,Graveyard,Exile,Stack,Library,Command | Description$ This creature perpetually gets +1/+0.
K:Equip:1
SVar:X:Count$Valid Creature.!EquippedBy+YouCtrl+sharesNameWith Equipped/Plus.Y
SVar:Y:Count$ValidGraveyard Creature.YouOwn+sharesNameWith Equipped
Oracle:Equipped creature gets +0/+2 and has protection from Demons and from Devils. Whenever equipped creature attacks, it perpetually gets +1/+0 if it has the same name as another creature you control or a creature card in your graveyard.\nEquip {1}