From 23da591ff21df93e8524640d95feb0d7a7f0c96c Mon Sep 17 00:00:00 2001 From: tool4EvEr Date: Sun, 1 May 2022 10:39:22 +0200 Subject: [PATCH] Fix scripts --- forge-gui/res/cardsfolder/a/awe_strike.txt | 1 + forge-gui/res/cardsfolder/m/mana_vapors.txt | 6 +++++- forge-gui/res/cardsfolder/p/pollen_lullaby.txt | 7 +++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/a/awe_strike.txt b/forge-gui/res/cardsfolder/a/awe_strike.txt index fe6cdd36040..3deddb0098b 100644 --- a/forge-gui/res/cardsfolder/a/awe_strike.txt +++ b/forge-gui/res/cardsfolder/a/awe_strike.txt @@ -4,5 +4,6 @@ Types:Instant A:SP$ Effect | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature to entrance | Name$ Awe Struck | ReplacementEffects$ StrikeWithAwe | ExileOnMoved$ Battlefield | RememberObjects$ Targeted | AILogic$ Fog | SpellDescription$ The next time target creature would deal damage this turn, prevent that damage. You gain life equal to the damage prevented this way. SVar:StrikeWithAwe:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the targeted creature would deal damage this turn, prevent that damage. You gain life equal to the damage prevented this way. SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect +SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount Oracle:The next time target creature would deal damage this turn, prevent that damage. You gain life equal to the damage prevented this way. diff --git a/forge-gui/res/cardsfolder/m/mana_vapors.txt b/forge-gui/res/cardsfolder/m/mana_vapors.txt index 312301e09b9..799240bbd1b 100644 --- a/forge-gui/res/cardsfolder/m/mana_vapors.txt +++ b/forge-gui/res/cardsfolder/m/mana_vapors.txt @@ -1,7 +1,11 @@ Name:Mana Vapors ManaCost:1 U Types:Sorcery -A:SP$ PumpAll | Cost$ 1 U | ValidTgts$ Player | IsCurse$ True | ValidCards$ Land.TargetedPlayerCtrl | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent | SpellDescription$ Lands target player controls don't untap during their next untap step. +A:SP$ Effect | ValidTgts$ Player | StaticAbilities$ DontUntap | Triggers$ RemoveEffect | Duration$ Permanent | RememberObjects$ Targeted | SubAbility$ DBCleanup | SpellDescription$ Lands target player controls don't untap during their next untap step. +SVar:DontUntap:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Land.RememberedPlayerCtrl | AddHiddenKeyword$ This card doesn't untap during your next untap step. | Description$ Lands target player controls don't untap during their next untap step. +SVar:RemoveEffect:Mode$ Phase | Phase$ Untap | ValidPlayer$ Player.IsRemembered | TriggerZones$ Command | Static$ True | Execute$ ExileEffect +SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True #TODO: the AI doesn't really target the opponent with the tapped lands in a multiplayer game (not necessarily, anyway). Could use improvement before this card is marked AI playable. SVar:NeedsToPlay:Land.OppCtrl+tapped AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/pollen_lullaby.txt b/forge-gui/res/cardsfolder/p/pollen_lullaby.txt index b6b3b475b5d..78b5c64c028 100644 --- a/forge-gui/res/cardsfolder/p/pollen_lullaby.txt +++ b/forge-gui/res/cardsfolder/p/pollen_lullaby.txt @@ -2,7 +2,10 @@ Name:Pollen Lullaby ManaCost:1 W Types:Instant A:SP$ Fog | Cost$ 1 W | SubAbility$ DBClash | SpellDescription$ Prevent all combat damage that would be dealt this turn. Clash with an opponent. If you win, creatures that player controls don't untap during the player's next untap step. -SVar:DBClash:DB$ Clash | WinSubAbility$ DBPumpAll | RememberClasher$ True | SubAbility$ DBCleanup -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.RememberedPlayerCtrl | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent +SVar:DBClash:DB$ Clash | WinSubAbility$ DBEffect | RememberClasher$ True | SubAbility$ DBCleanup +SVar:DBEffect:DB$ Effect | StaticAbilities$ DontUntap | Triggers$ RemoveEffect | Duration$ Permanent | RememberObjects$ Remembered | SpellDescription$ Creatures that player controls don't untap during the player's next untap step. +SVar:DontUntap:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ This card doesn't untap during your next untap step. | Description$ Creatures that player controls don't untap during the player's next untap step. +SVar:RemoveEffect:Mode$ Phase | Phase$ Untap | ValidPlayer$ Player.IsRemembered | TriggerZones$ Command | Static$ True | Execute$ ExileEffect +SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True Oracle:Prevent all combat damage that would be dealt this turn. Clash with an opponent. If you win, creatures that player controls don't untap during the player's next untap step. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher mana value.)