Merge pull request #140 from Northmoc/tweaks

Old card tweaks
This commit is contained in:
tool4ever
2022-04-26 07:16:59 +00:00
committed by GitHub
2 changed files with 4 additions and 7 deletions

View File

@@ -1,11 +1,10 @@
Name:Alliance of Arms
ManaCost:W
Types:Sorcery
A:SP$ RepeatEach | Cost$ W | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player creates X 1/1 white Soldier creature tokens, where X is the total amount of mana paid this way.
A:SP$ RepeatEach | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player creates X 1/1 white Soldier creature tokens, where X is the total amount of mana paid this way.
SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore
SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn
SVar:DBToken:DB$ Token | TokenAmount$ JoinForcesAmount | TokenScript$ w_1_1_soldier | TokenOwner$ Player | StackDescription$ None
SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0
SVar:X:Count$ChosenNumber
SVar:JoinForcesAmount:Number$0
AI:RemoveDeck:All

View File

@@ -2,13 +2,11 @@ Name:Tidal Influence
ManaCost:2 U
Types:Enchantment
K:etbCounter:TIDE:1
S:Mode$ CantBeCast | ValidCard$ Card.Self | EffectZone$ All | CheckSVar$ X | Description$ Cast CARDNAME only if no permanents named Tidal Influence are on the battlefield.
SVar:X:Count$Valid Permanent.namedTidal Influence
S:Mode$ CantBeCast | ValidCard$ Card.Self | EffectZone$ All | IsPresent$ Permanent.namedTidal Influence | Description$ Cast this spell only if no permanents named Tidal Influence are on the battlefield.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBPutCounter | TriggerDescription$ At the beginning of your upkeep, put a tide counter on CARDNAME.
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ TIDE | CounterNum$ 1
S:Mode$ Continuous | Affected$ Creature.Blue | AddPower$ -2 | CheckSVar$ TidalCounters | SVarCompare$ EQ1 | Description$ As long as there is exactly one tide counter on CARDNAME, all blue creatures get -2/-0.
S:Mode$ Continuous | Affected$ Creature.Blue | AddPower$ +2 | CheckSVar$ TidalCounters | SVarCompare$ EQ3 | Description$ As long as there are exactly three tide counters on CARDNAME, all blue creatures get +2/+0.
SVar:TidalCounters:Count$CardCounters.TIDE
S:Mode$ Continuous | Affected$ Creature.Blue | AddPower$ -2 | IsPresent$ Card.Self+counters_EQ1_TIDE | Description$ As long as there is exactly one tide counter on CARDNAME, all blue creatures get -2/-0.
S:Mode$ Continuous | Affected$ Creature.Blue | AddPower$ +2 | IsPresent$ Card.Self+counters_EQ3_TIDE | Description$ As long as there are exactly three tide counters on CARDNAME, all blue creatures get +2/+0.
T:Mode$ Always | IsPresent$ Card.Self+counters_GE4_TIDE | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ Whenever there are four or more tide counters on CARDNAME, remove all tide counters from it.
SVar:TrigRemove:DB$ RemoveCounter | CounterType$ TIDE | CounterNum$ All
AI:RemoveDeck:Random