Merge branch 'uvilda' into 'master'

Uvilda

See merge request core-developers/forge!4288
This commit is contained in:
Michael Kamensky
2021-03-28 09:35:44 +00:00
2 changed files with 36 additions and 0 deletions

View File

@@ -141,6 +141,8 @@ public enum CounterEnumType {
HIT("HIT", 255, 245, 195),
HONE("HONE", 51, 227, 255),
HOOFPRINT("HOOF", 233, 189, 170),
HOUR("HOUR", 198, 197, 210),

View File

@@ -0,0 +1,34 @@
Name:Uvilda, Dean of Perfection
ManaCost:2 U
Types:Legendary Creature Djinn Wizard
PT:2/2
A:AB$ ChangeZone | Cost$ T | RememberChanged$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Instant,Sorcery | ChangeNum$ 1 | SubAbility$ DBPutCounter | StackDescription$ SpellDescription | SpellDescription$ You may exile an instant or sorcery card from your hand and put three hone counters on it. It gains "At the beginning of your upkeep, if this card is exiled, remove a hone counter from it" and "When the last hone counter is removed from this card, if its exiled, you may cast it. It costs {4} less to cast this way."
SVar:DBPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ HONE | CounterNum$ 3 | SubAbility$ DBAddTriggers | TgtZone$ Exile
SVar:DBAddTriggers:DB$ Animate | Defined$ Remembered | Triggers$ TrigRemoveCounter,TrigCast | SubAbility$ DBCleanup | Permanent$ True
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:TrigRemoveCounter:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Exile | Execute$ DBRemoveCounter | TriggerDescription$ At the beginning of your upkeep, if this card is exiled, remove a hone counter from it.
SVar:DBRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ HONE | CounterNum$ 1
SVar:TrigCast:Mode$ CounterRemoved | TriggerZones$ Exile | ValidCard$ Card.Self | CounterType$ HONE | NewCounterAmount$ 0 | Execute$ DBCast | TriggerDescription$ When the last hone counter is removed from this card, if its exiled, you may cast it. It costs {4} less to cast this way.
SVar:DBCast:DB$ Play | Defined$ Self | PlayReduceCost$ 4
AlternateMode:Modal
SVar:BuffedBy:Instant,Sorcery
DeckHints:Type$Instant|Sorcery
Oracle:{T}: You may exile an instant or sorcery card from your hand and put three hone counters on it. It gains "At the beginning of your upkeep, if this card is exiled, remove a hone counter from it" and "When the last hone counter is removed from this card, if its exiled, you may cast it. It costs {4} less to cast this way."
ALTERNATE
Name:Nassari, Dean of Expression
ManaCost:3 R R
Types:Legendary Creature Efreet Shaman
PT:4/4
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ At the beginning of your upkeep, exile the top card of each opponent's library. Until end of turn, you may cast spells from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells.
SVar:TrigExile:DB$ Dig | Defined$ Player.Opponent | DigNum$ 1 | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of each opponent's library. Until end of turn, you may cast nonland cards from among those exiled cards, and you may spend mana as though it were mana of any color to cast those spells.
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | Triggers$ TriggerCast | RememberObjects$ Remembered | SubAbility$ DBCleanup
SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | Description$ Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast it.
SVar:TriggerCast:Mode$ SpellCast | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ TrigRemoveSelf | Static$ True
SVar:TrigRemoveSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
T:Mode$ SpellCast | ValidCard$ Card.wasCastFromExile | ValidActivatingPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell from exile, put a +1/+1 counter on CARDNAME
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
DeckHas:Ability$Counters
Oracle:At the begging of your upkeep, exile the top card of each opponents library. Until end of turn, you may cast spells from among those exiled cards, and you many spend mana as though it were mana of any color to cast those spells.\nWhenever you cast a spell from exile, put a +1/+1 counter on Nassari, Dean of Expression.