add AFR artifact and updated counter enum list to support HARMONY counters

This commit is contained in:
Wendell Wilkerson
2021-07-11 22:31:58 -05:00
parent b6dfbd5e2c
commit eec8b7a42a
4 changed files with 30 additions and 0 deletions

View File

@@ -139,6 +139,8 @@ public enum CounterEnumType {
GROWTH("GRWTH", 87, 226, 32), GROWTH("GRWTH", 87, 226, 32),
HARMONY("HRMNY", 0, 230, 155),
HATCHLING("HATCH", 201, 199, 186), HATCHLING("HATCH", 201, 199, 186),
HEALING("HEAL", 255, 166, 236), HEALING("HEAL", 255, 166, 236),

View File

@@ -0,0 +1,11 @@
Name:Instrument of the Bards
ManaCost:G
Types:Legendary Artifact
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on CARDNAME.
SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ HARMONY | CounterNum$ 1
A:AB$ ChangeZone | Cost$ 3 G T | Origin$ Library | Destination$ Hand | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with mana value equal to the number of harmony counters on CARDNAME, reveal it, and put it into your hand. If that card is legendary, create a Treasure token. Then shuffle.
SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | ConditionDefined$ Remembered | ConditionPresent$ Card.Legendary | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Count$CardCounters.HARMONY
DeckHas:Ability$Token
Oracle:At the beginning of your upkeep, you may put a harmony counter on Instrument of the Bards.\n{3}{G}, {T}: Search your library for a creature card with mana value equal to the number of harmony counters on Instrument of the Bards, reveal it, and put it into your hand. If that card is legendary, create a Treasure token. Then shuffle.

View File

@@ -0,0 +1,8 @@
Name:Spare Dagger
ManaCost:1
Types:Artifact Equipment
K:Equip:1
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddTrigger$ AttackTrigger | Description$ Equipped creature gets +1/+0 and has "Whenever this creature attacks, you may sacrifice Spare Dagger. When you do, this creature deals 1 damage to any target."
SVar:AttackTrigger:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ Whenever this creature attacks, you may sacrifice ORIGINALHOST. When you do, this creature deals 1 damage to any target.
SVar:TrigDealDamage:AB$ DealDamage | Cost$ Sac<1/OriginalHost/Spare Dagger> | ValidTgts$ Player,Creature,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1
Oracle:Equipped creature gets +1/+0 and has "Whenever this creature attacks, you may sacrifice Spare Dagger. When you do, this creature deals 1 damage to any target."\nEquip {1} ({1}: Attach to target creature you control. Equip only as a sorcery.)

View File

@@ -0,0 +1,9 @@
Name:Thieves' Tools
ManaCost:1 B
Types:Artifact Equipment
K:Equip:3
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ DBToken | TriggerDescription$ When CARDNAME enters the battlefield, create a Treasure token.
SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You
S:Mode$ Continuous | Affected$ Creature.EquippedBy+powerLE3 | AddHiddenKeyword$ Unblockable | Description$ nEquipped creature can't be blocked as long as its power is 3 or less.
DeckHas:Ability$Token
Oracle:When Thieves' Tools enters the battlefield, create a Treasure token. (It's an artifact with \"{T}, Sacrifice this artifact: Add one mana of any color.\")\nEquipped creature can't be blocked as long as its power is 3 or less.\nEquip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)