mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed Hagra Diabolist
This commit is contained in:
@@ -168,7 +168,7 @@ public class ReplacementHandler {
|
|||||||
if (mapParams.containsKey("ReplaceWith")) {
|
if (mapParams.containsKey("ReplaceWith")) {
|
||||||
final String effectSVar = mapParams.get("ReplaceWith");
|
final String effectSVar = mapParams.get("ReplaceWith");
|
||||||
final String effectAbString = replacementEffect.getHostCard().getSVar(effectSVar);
|
final String effectAbString = replacementEffect.getHostCard().getSVar(effectSVar);
|
||||||
|
// TODO: the source of replacement effect should be the source of the original effect
|
||||||
effectSA = AbilityFactory.getAbility(effectAbString, replacementEffect.getHostCard());
|
effectSA = AbilityFactory.getAbility(effectAbString, replacementEffect.getHostCard());
|
||||||
effectSA.setTrigger(true);
|
effectSA.setTrigger(true);
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Name:Festival
|
Name:Festival
|
||||||
ManaCost:W
|
ManaCost:W
|
||||||
Types:Instant
|
Types:Instant
|
||||||
Text:Cast Festival only during an opponent's upkeep.
|
Text:Cast CARDNAME only during an opponent's upkeep.
|
||||||
A:SP$ Effect | Cost$ W | Name$ Festival Effect | StaticAbilities$ KWPump | OpponentTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Creatures can't attack this turn.
|
A:SP$ Effect | Cost$ W | Name$ Festival Effect | StaticAbilities$ KWPump | OpponentTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Creatures can't attack this turn.
|
||||||
SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Creatures can't attack this turn.
|
SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Creatures can't attack this turn.
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Name:Hagra Diabolist
|
Name:Hagra Diabolist
|
||||||
ManaCost:4 B
|
ManaCost:4 B
|
||||||
Types:Creature Orge Shaman Ally
|
Types:Creature Ogre Shaman Ally
|
||||||
PT:3/2
|
PT:3/2
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have target player lose life equal to the number of Allies you control.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have target player lose life equal to the number of Allies you control.
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigLoseLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have target player lose life equal to the number of Allies you control.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigLoseLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have target player lose life equal to the number of Allies you control.
|
||||||
|
|||||||
Reference in New Issue
Block a user