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:
Fulgur14
2024-09-18 07:18:06 +02:00
committed by GitHub
parent 922a0c21be
commit 95dd06e55f
3 changed files with 15 additions and 1 deletions

View File

@@ -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;

View File

@@ -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.

View 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.