MKC: panoptic_projektor.txt + support (#4601)

This commit is contained in:
Northmoc
2024-01-26 17:00:24 -05:00
committed by GitHub
parent da66b849ca
commit 848e7c2d08
3 changed files with 15 additions and 1 deletions

View File

@@ -160,6 +160,10 @@ public class StaticAbilityPanharmonicon {
if (!stAb.matchesValidParam("ValidTarget", runParams.get(AbilityKey.DamageTarget))) {
return false;
}
} else if (trigMode.equals(TriggerType.TurnFaceUp)) {
if (!stAb.matchesValidParam("ValidTurned", runParams.get(AbilityKey.Card))) {
return false;
}
}
return true;

View File

@@ -7,7 +7,7 @@ SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBReveal | SpellDescription$ Dr
SVar:DBReveal:DB$ ImmediateTrigger | Execute$ TrigDealDamage | UnlessCost$ Reveal<1/Giant> | UnlessPayer$ You | UnlessSwitched$ True | SpellDescription$ You may reveal a Giant card from your hand. When you do, CARDNAME deals 2 damage to target opponent or planeswalker.
SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Player.Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker. | NumDmg$ 2
SVar:DBEffect:DB$ Effect | StaticAbilities$ ReduceCost | Triggers$ TrigCastSpell | SpellDescription$ The next Giant spell you cast this turn costs {2} less to cast.
SVar:ReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Giant | Activator$ You | Amount$ 2
SVar:ReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Giant | Activator$ You | Amount$ 2 | Description$ The next Giant spell you cast this turn costs {2} less to cast.
SVar:TrigCastSpell:Mode$ SpellCast | ValidCard$ Giant | ValidActivatingPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True
SVar:RemoveEffect:DB$ ChangeZone | Origin$ Command | Destination$ Exile
DeckHints:Type$Giant

View File

@@ -0,0 +1,10 @@
Name:Panoptic Projektor
ManaCost:4
Types:Artifact
A:AB$ Effect | Cost$ T | StaticAbilities$ ReduceCost | Triggers$ TrigCastSpell | SpellDescription$ The next face-down creature spell you cast this turn costs {3} less to cast.
SVar:ReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Creature.faceDown | Activator$ You | Amount$ 3 | Description$ The next face-down creature spell you cast this turn costs {3} less to cast.
SVar:TrigCastSpell:Mode$ SpellCast | ValidCard$ Creature.faceDown | ValidActivatingPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True
SVar:RemoveEffect:DB$ ChangeZone | Origin$ Command | Destination$ Exile
S:Mode$ Panharmonicon | ValidMode$ TurnFaceUp | ValidCard$ Permanent.YouCtrl | ValidTurned$ Permanent | Description$ If turning a face-down permanent face up causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
DeckHints:Keyword$Morph|Megamorph|Disguise
Oracle:{T}: The next face-down creature spell you cast this turn costs {3} less to cast.\nIf turning a face-down permanent face up causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.