- Fixed Hagra Diabolist

This commit is contained in:
swordshine
2014-05-10 13:51:08 +00:00
parent b2ba987fe3
commit 4250b8eafb
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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