mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
- Added Dulcet Sirens.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5541,6 +5541,7 @@ forge-gui/res/cardsfolder/d/duergar_hedge_mage.txt svneol=native#text/plain
|
|||||||
forge-gui/res/cardsfolder/d/duergar_mine_captain.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/duergar_mine_captain.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/d/dukhara_peafowl.txt -text
|
forge-gui/res/cardsfolder/d/dukhara_peafowl.txt -text
|
||||||
forge-gui/res/cardsfolder/d/dukhara_scavenger.txt -text
|
forge-gui/res/cardsfolder/d/dukhara_scavenger.txt -text
|
||||||
|
forge-gui/res/cardsfolder/d/dulcet_sirens.txt -text
|
||||||
forge-gui/res/cardsfolder/d/dune_beetle.txt -text
|
forge-gui/res/cardsfolder/d/dune_beetle.txt -text
|
||||||
forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt svneol=native#text/plain
|
forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt svneol=native#text/plain
|
||||||
forge-gui/res/cardsfolder/d/dune_diviner.txt -text
|
forge-gui/res/cardsfolder/d/dune_diviner.txt -text
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ public class MustAttackEffect extends SpellAbilityEffect {
|
|||||||
entity = sa.getHostCard();
|
entity = sa.getHostCard();
|
||||||
} else if (defender.equals("You")) {
|
} else if (defender.equals("You")) {
|
||||||
entity = sa.getActivatingPlayer();
|
entity = sa.getActivatingPlayer();
|
||||||
|
} else if (defender.equals("ParentTargeted")) {
|
||||||
|
entity = (GameEntity)sa.getParent().getTargets().getFirstTargetedPlayer();
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException("Illegal defender " + defender + " for MustAttackEffect in card " + sa.getHostCard());
|
throw new RuntimeException("Illegal defender " + defender + " for MustAttackEffect in card " + sa.getHostCard());
|
||||||
}
|
}
|
||||||
|
|||||||
10
forge-gui/res/cardsfolder/d/dulcet_sirens.txt
Normal file
10
forge-gui/res/cardsfolder/d/dulcet_sirens.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Dulcet Sirens
|
||||||
|
ManaCost:2 U
|
||||||
|
Types:Creature Siren
|
||||||
|
PT:1/3
|
||||||
|
K:Morph:U
|
||||||
|
A:AB$ Pump | Cost$ U T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBMustAttack | SpellDescription$ Target creature attacks target opponent this turn if able.
|
||||||
|
SVar:DBMustAttack:DB$ MustAttack | ValidTgts$ Creature | TgtPrompt$ Select target creature | Defender$ ParentTargeted | ThisTurn$ True
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dulcet_sirens.jpg
|
||||||
|
Oracle:{U}, {T}: Target creature attacks target opponent this turn if able.\nMorph {U} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)
|
||||||
@@ -3,7 +3,7 @@ ManaCost:no cost
|
|||||||
Types:Vanguard
|
Types:Vanguard
|
||||||
HandLifeModifier:+0/-6
|
HandLifeModifier:+0/-6
|
||||||
A:AB$ ChooseSource | Cost$ 0 | ActivationZone$ Command | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBTargetOpp | ActivationLimit$ 1 | SpellDescription$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. CARDNAME deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
|
A:AB$ ChooseSource | Cost$ 0 | ActivationZone$ Command | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBTargetOpp | ActivationLimit$ 1 | SpellDescription$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. CARDNAME deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
|
||||||
SVar:DBTargetOpp:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to give damamge | RememberObjects$ Targeted | StackDescription$ None | SubAbility$ DBEffect
|
SVar:DBTargetOpp:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to give damage | RememberObjects$ Targeted | StackDescription$ None | SubAbility$ DBEffect
|
||||||
SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | RememberObjects$ Remembered | SVars$ DamageEffectYou,DamageEffectPlayer,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1
|
SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | RememberObjects$ Remembered | SVars$ DamageEffectYou,DamageEffectPlayer,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1
|
||||||
|
|
||||||
SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.IsRemembered | PreventionEffect$ True | ReplaceWith$ DamageEffectYou | Description$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. Stuffy Doll Avatar deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
|
SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.IsRemembered | PreventionEffect$ True | ReplaceWith$ DamageEffectYou | Description$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. Stuffy Doll Avatar deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
|
||||||
|
|||||||
Reference in New Issue
Block a user