mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-12 00:38:44 +00:00
AffectedAmount -> Relative
This commit is contained in:
@@ -137,7 +137,7 @@ public class CostAdjustment {
|
||||
if (StringUtils.isNumeric(amount)) {
|
||||
count = Integer.parseInt(amount);
|
||||
} else {
|
||||
if (st.hasParam("AffectedAmount")) {
|
||||
if (st.hasParam("Relative")) {
|
||||
count = AbilityUtils.calculateAmount(hostCard, st.hasSVar(amount) ? st.getSVar(amount) : amount, sa);
|
||||
} else {
|
||||
count = AbilityUtils.calculateAmount(hostCard, amount, st);
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:2
|
||||
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.
|
||||
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: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.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name:Fireball
|
||||
ManaCost:X R
|
||||
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.
|
||||
SVar:X:Count$xPaid
|
||||
SVar:MaxTargets:SVar$Maxplayer/Plus.Maxcreatureorplaneswalker
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name:Hum of the Radix
|
||||
ManaCost:2 G G
|
||||
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
|
||||
AI:RemoveDeck:Random
|
||||
Oracle:Each artifact spell costs {1} more to cast for each artifact its controller controls.
|
||||
|
||||
Reference in New Issue
Block a user