mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Merge pull request #6610 from Northmoc/ydsk3
YDSK: valiant_emberkin.txt + support
This commit is contained in:
@@ -161,7 +161,15 @@ public class StaticAbilityPanharmonicon {
|
||||
if (!stAb.matchesValidParam("ValidActivator", sa.getActivatingPlayer())) {
|
||||
return false;
|
||||
}
|
||||
} else if (trigMode.equals(TriggerType.DamageDone) || trigMode.equals(TriggerType.DamageDoneOnce)
|
||||
} else if (trigMode.equals(TriggerType.BecomesTarget)) {
|
||||
if (!stAb.matchesValidParam("ValidTarget", runParams.get(AbilityKey.Target))) {
|
||||
return false;
|
||||
}
|
||||
} else if (trigMode.equals(TriggerType.BecomesTargetOnce)) {
|
||||
if (!stAb.matchesValidParam("ValidTarget", runParams.get(AbilityKey.Targets))) {
|
||||
return false;
|
||||
}
|
||||
} else if (trigMode.equals(TriggerType.DamageDone) || trigMode.equals(TriggerType.DamageDoneOnce)
|
||||
|| trigMode.equals(TriggerType.DamageAll) || trigMode.equals(TriggerType.DamageDealtOnce)) {
|
||||
if (stAb.hasParam("CombatDamage") && stAb.getParam("CombatDamage").equalsIgnoreCase("True") !=
|
||||
(Boolean) runParams.get(AbilityKey.IsCombatDamage)) {
|
||||
|
||||
10
forge-gui/res/cardsfolder/v/valiant_emberkin.txt
Normal file
10
forge-gui/res/cardsfolder/v/valiant_emberkin.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Valiant Emberkin
|
||||
ManaCost:1 R W
|
||||
Types:Enchantment Creature Mouse Glimmer
|
||||
PT:1/1
|
||||
K:Haste
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME enters or attacks, target creature you control perpetually gets +1/+0.
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters or attacks, target creature you control perpetually gets +1/+0.
|
||||
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ 1 | Duration$ Perpetual
|
||||
S:Mode$ Panharmonicon | ValidMode$ BecomesTarget,BecomesTargetOnce | ValidCard$ Permanent.YouCtrl | ValidTarget$ Creature.YouCtrl | Description$ If a creature you control becoming the target of a spell or ability causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
|
||||
Oracle:Haste\Whenever Valiant Emberkin enters or attacks, target creature you control perpetually gets +1/+0.\nIf a creature you control becoming the target of a spell or ability causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.
|
||||
Reference in New Issue
Block a user