AffectedAmount -> Relative

This commit is contained in:
TRT
2022-02-03 13:56:59 +01:00
parent 8a3d6823d5
commit 616a6e5ddd
4 changed files with 4 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ public class CostAdjustment {
if (StringUtils.isNumeric(amount)) { if (StringUtils.isNumeric(amount)) {
count = Integer.parseInt(amount); count = Integer.parseInt(amount);
} else { } else {
if (st.hasParam("AffectedAmount")) { if (st.hasParam("Relative")) {
count = AbilityUtils.calculateAmount(hostCard, st.hasSVar(amount) ? st.getSVar(amount) : amount, sa); count = AbilityUtils.calculateAmount(hostCard, st.hasSVar(amount) ? st.getSVar(amount) : amount, sa);
} else { } else {
count = AbilityUtils.calculateAmount(hostCard, amount, st); count = AbilityUtils.calculateAmount(hostCard, amount, st);

View File

@@ -3,7 +3,7 @@ ManaCost:2
Types:Artifact Types:Artifact
R:Event$ ProduceMana | ActiveZones$ Battlefield | ValidCard$ Land | ValidAbility$ Activated.hasTapCost | ManaAmount$ GE2 | ReplaceWith$ ProduceC | Description$ If a land is tapped for two or more mana, it produces {C} instead of any other type and amount. R:Event$ ProduceMana | ActiveZones$ Battlefield | ValidCard$ Land | ValidAbility$ Activated.hasTapCost | ManaAmount$ GE2 | ReplaceWith$ ProduceC | Description$ If a land is tapped for two or more mana, it produces {C} instead of any other type and amount.
SVar:ProduceC:DB$ ReplaceMana | ReplaceMana$ C SVar:ProduceC:DB$ ReplaceMana | ReplaceMana$ C
S:Mode$ RaiseCost | Activator$ Player | Type$ Spell | Amount$ X | AffectedAmount$ True | Description$ Each spell a player casts costs {1} more to cast for each other spell that player has cast this turn. S:Mode$ RaiseCost | Activator$ Player | Type$ Spell | Amount$ X | Relative$ True | Description$ Each spell a player casts costs {1} more to cast for each other spell that player has cast this turn.
SVar:X:Count$ThisTurnCast_Card.YouCtrl SVar:X:Count$ThisTurnCast_Card.YouCtrl
SVar:NonStackingEffect:True SVar:NonStackingEffect:True
Oracle:If a land is tapped for two or more mana, it produces {C} instead of any other type and amount.\nEach spell a player casts costs {1} more to cast for each other spell that player has cast this turn. Oracle:If a land is tapped for two or more mana, it produces {C} instead of any other type and amount.\nEach spell a player casts costs {1} more to cast for each other spell that player has cast this turn.

View File

@@ -1,7 +1,7 @@
Name:Fireball Name:Fireball
ManaCost:X R ManaCost:X R
Types:Sorcery Types:Sorcery
S:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ IncreaseCost | AffectedAmount$ True | EffectZone$ All | Description$ This spell costs {1} more to cast for each target beyond the first. S:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ IncreaseCost | Relative$ True | EffectZone$ All | Description$ This spell costs {1} more to cast for each target beyond the first.
A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ 0 | TargetMax$ MaxTargets | DivideEvenly$ RoundedDown | SpellDescription$ CARDNAME deals X damage divided evenly, rounded down, among any number of targets. A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ 0 | TargetMax$ MaxTargets | DivideEvenly$ RoundedDown | SpellDescription$ CARDNAME deals X damage divided evenly, rounded down, among any number of targets.
SVar:X:Count$xPaid SVar:X:Count$xPaid
SVar:MaxTargets:SVar$Maxplayer/Plus.Maxcreatureorplaneswalker SVar:MaxTargets:SVar$Maxplayer/Plus.Maxcreatureorplaneswalker

View File

@@ -1,7 +1,7 @@
Name:Hum of the Radix Name:Hum of the Radix
ManaCost:2 G G ManaCost:2 G G
Types:Enchantment Types:Enchantment
S:Mode$ RaiseCost | ValidCard$ Artifact | Activator$ Player | Type$ Spell | Amount$ X | AffectedAmount$ True | Description$ Each artifact spell costs {1} more to cast for each artifact its controller controls. S:Mode$ RaiseCost | ValidCard$ Artifact | Activator$ Player | Type$ Spell | Amount$ X | Relative$ True | Description$ Each artifact spell costs {1} more to cast for each artifact its controller controls.
SVar:X:Count$Valid Artifact.YouCtrl SVar:X:Count$Valid Artifact.YouCtrl
AI:RemoveDeck:Random AI:RemoveDeck:Random
Oracle:Each artifact spell costs {1} more to cast for each artifact its controller controls. Oracle:Each artifact spell costs {1} more to cast for each artifact its controller controls.