From ecd3e66c5ead488a72ea165280b1edcad8f6b930 Mon Sep 17 00:00:00 2001 From: tool4EvEr Date: Thu, 11 Aug 2022 19:15:01 +0200 Subject: [PATCH] Fixes --- forge-gui/res/cardsfolder/s/shadowbane.txt | 3 ++- forge-gui/res/cardsfolder/upcoming/kagha_shadow_archdruid.txt | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/s/shadowbane.txt b/forge-gui/res/cardsfolder/s/shadowbane.txt index e54e14a4ba5..619feb92d41 100644 --- a/forge-gui/res/cardsfolder/s/shadowbane.txt +++ b/forge-gui/res/cardsfolder/s/shadowbane.txt @@ -3,10 +3,11 @@ ManaCost:1 W Types:Instant A:SP$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next time a source of your choice would deal damage to you and/or creatures you control this turn, prevent that damage. If damage from a black source is prevented this way, you gain that much life. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RepDmg | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 -SVar:RepDmg:Event$ DamageDone | ValidTarget$ You,Creature.YouCtrl | ValidSource$ Card.ChosenCardStrict,Emblem.ChosenCard | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage to you or a creature you control from any one source. If that source is black, gain 1 life for each 1 damage prevented in this way. +SVar:RepDmg:Event$ DamageDone | ValidTarget$ You,Creature.YouCtrl | ValidSource$ Card.ChosenCardStrict,Emblem.ChosenCard | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ The next time a source of your choice would deal damage to you and/or creatures you control this turn, prevent that damage. If damage from a black source is prevented this way, you gain that much life. SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:ReplaceCount$DamageAmount SVar:Y:ReplacedSource$Valid Card.BlackSource +DeckHas:Ability$LifeGain Oracle:The next time a source of your choice would deal damage to you and/or creatures you control this turn, prevent that damage. If damage from a black source is prevented this way, you gain that much life. diff --git a/forge-gui/res/cardsfolder/upcoming/kagha_shadow_archdruid.txt b/forge-gui/res/cardsfolder/upcoming/kagha_shadow_archdruid.txt index e96287b9153..f90122886bf 100644 --- a/forge-gui/res/cardsfolder/upcoming/kagha_shadow_archdruid.txt +++ b/forge-gui/res/cardsfolder/upcoming/kagha_shadow_archdruid.txt @@ -3,9 +3,9 @@ ManaCost:2 B G Types:Legendary Creature Elf Druid PT:1/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gains deathtouch until end of turn. Mill two cards. (Put the top two cards of your library into your graveyard.) -SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ Deathtouch | Subability$ TrigMill +SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ Deathtouch | SubAbility$ TrigMill SVar:TrigMill:DB$ Mill | NumCards$ 2 S:Mode$ Continuous | Affected$ Land.YouOwn+ThisTurnEnteredFrom_Library,Permanent.YouOwn+ThisTurnEnteredFrom_Library | Condition$ PlayerTurn | MayPlay$ True | MayPlayLimit$ 1 | EffectZone$ Battlefield | AffectedZone$ Graveyard | Description$ Once during each of your turns, you may play a land or cast a permanent spell from among cards in your graveyard that were put there from your library this turn. SVar:HasAttackEffect:TRUE -DeckHas:Ability$Mill & Ability$Graveyard +DeckHas:Ability$Mill|Graveyard Oracle:Whenever Kagha, Shadow Archdruid attacks, it gains deathtouch until end of turn. Mill two cards. (Put the top two cards of your library into your graveyard.)\nOnce during each of your turns, you may play a land or cast a permanent spell from among cards in your graveyard that were put there from your library this turn.