mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Ancient Cellarspawn - incomplete, might need support (#6123)
* Ancient Cellarspawn - incomplete, might need support * Support Ancient Cellarspawn --------- Co-authored-by: TRT <>
This commit is contained in:
@@ -139,6 +139,9 @@ public class TriggerSpellAbilityCastOrCopy extends Trigger {
|
|||||||
if (!matchesValidParam("ValidSA", spellAbility)) {
|
if (!matchesValidParam("ValidSA", spellAbility)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!matchesValidParam("ValidSAonCard", spellAbility, cast)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (hasParam("TargetsValid")) {
|
if (hasParam("TargetsValid")) {
|
||||||
SpellAbility sa = spellAbility;
|
SpellAbility sa = spellAbility;
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ Types:Ongoing Scheme
|
|||||||
S:Mode$ ReduceCost | EffectZone$ Command | ValidCard$ Card | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Spells you cast cost {1} less to cast.
|
S:Mode$ ReduceCost | EffectZone$ Command | ValidCard$ Card | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Spells you cast cost {1} less to cast.
|
||||||
T:Mode$ Phase | Phase$ End Of Turn | ValidPlayer$ Player.Opponent | Execute$ Abandon | TriggerZones$ Command | CheckSVar$ X | SVarCompare$ GE4 | TriggerDescription$ At the beginning of your opponents' end step, if they cast four or more spells this turn, abandon this scheme.
|
T:Mode$ Phase | Phase$ End Of Turn | ValidPlayer$ Player.Opponent | Execute$ Abandon | TriggerZones$ Command | CheckSVar$ X | SVarCompare$ GE4 | TriggerDescription$ At the beginning of your opponents' end step, if they cast four or more spells this turn, abandon this scheme.
|
||||||
SVar:Abandon:DB$ Abandon
|
SVar:Abandon:DB$ Abandon
|
||||||
SVar:X:Count$ThisTurnCast_Card.YouDontCtrl
|
SVar:X:Count$ThisTurnCast_Card.ActivePlayerCtrl
|
||||||
Oracle:(An ongoing scheme remains face up until it's abandoned.)\nSpells you cast cost {1} less to cast.\nAt the beginning of your opponents' end step, if they cast four or more spells this turn, abandon this scheme.
|
Oracle:(An ongoing scheme remains face up until it's abandoned.)\nSpells you cast cost {1} less to cast.\nAt the beginning of your opponents' end step, if they cast four or more spells this turn, abandon this scheme.
|
||||||
|
|||||||
11
forge-gui/res/cardsfolder/upcoming/ancient_cellarspawn.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/ancient_cellarspawn.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Name:Ancient Cellarspawn
|
||||||
|
ManaCost:1 B B
|
||||||
|
Types:Enchantment Creature Horror
|
||||||
|
PT:3/3
|
||||||
|
S:Mode$ ReduceCost | ValidCard$ Demon,Horror,Nightmare | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Each spell you cast that's a Demon, Horror, or Nightmare costs {1} less to cast.
|
||||||
|
T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | ValidSAonCard$ Spell.ManaSpent LTX | TriggerDescription$ Whenever you cast a spell, if the amount of mana spent to cast it was less than its mana value, target opponent loses life equal to the difference.
|
||||||
|
SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ SVar$Y/Minus.Z
|
||||||
|
SVar:X:Count$CardManaCost
|
||||||
|
SVar:Y:TriggeredCard$CardManaCost
|
||||||
|
SVar:Z:TriggeredCard$CastTotalManaSpent
|
||||||
|
Oracle:Each spell you cast that's a Demon, Horror, or Nightmare costs {1} less to cast.\nWhenever you cast a spell, if the amount of mana spent to cast it was less than its mana value, target opponent loses life equal to the difference.
|
||||||
Reference in New Issue
Block a user