- Converted Wall of Reverence to script.

This commit is contained in:
Sloth
2012-06-14 15:07:35 +00:00
parent 9560e7a7f2
commit d40c323c6c
3 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ Text:no text
A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ You gain life equal to target creature's power. A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ You gain life equal to target creature's power.
SVar:DBGainLife:DB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X SVar:DBGainLife:DB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Targeted$CardPower SVar:X:Targeted$CardPower
SVar:RemAIDeck:True
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/souls_grace.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/souls_grace.jpg
SetInfo:ALA|Common|http://magiccards.info/scans/en/ala/28.jpg SetInfo:ALA|Common|http://magiccards.info/scans/en/ala/28.jpg

View File

@@ -1,10 +1,14 @@
Name:Wall of Reverence Name:Wall of Reverence
ManaCost:3 W ManaCost:3 W
Types:Creature Spirit Wall Types:Creature Spirit Wall
Text:At the beginning of your end step, you may gain life equal to the power of target creature you control. Text:no text
PT:1/6 PT:1/6
K:Defender K:Defender
K:Flying K:Flying
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step, you may gain life equal to the power of target creature you control.
SVar:TrigDig:AB$ Pump | Cost$ 0 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ DBGainLife
SVar:DBGainLife:DB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:Targeted$CardPower
SVar:Rarity:Rare SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_reverence.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_reverence.jpg
SetInfo:CFX|Rare|http://magiccards.info/scans/en/cfx/20.jpg SetInfo:CFX|Rare|http://magiccards.info/scans/en/cfx/20.jpg

View File

@@ -56,7 +56,7 @@ public class EndOfTurn extends Phase implements java.io.Serializable {
final CardList all = AllZoneUtil.getCardsIn(ZoneType.Battlefield); final CardList all = AllZoneUtil.getCardsIn(ZoneType.Battlefield);
EndOfTurn.endOfTurnWallOfReverence(); //EndOfTurn.endOfTurnWallOfReverence();
EndOfTurn.endOfTurnLighthouseChronologist(); EndOfTurn.endOfTurnLighthouseChronologist();
// reset mustAttackEntity for me // reset mustAttackEntity for me
@@ -229,7 +229,7 @@ public class EndOfTurn extends Phase implements java.io.Serializable {
} // executeAt() } // executeAt()
private static void endOfTurnWallOfReverence() { /*private static void endOfTurnWallOfReverence() {
final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn(); final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn();
final CardList list = player.getCardsIn(ZoneType.Battlefield, "Wall of Reverence"); final CardList list = player.getCardsIn(ZoneType.Battlefield, "Wall of Reverence");
@@ -272,7 +272,7 @@ public class EndOfTurn extends Phase implements java.io.Serializable {
AllZone.getStack().addSimultaneousStackEntry(ability); AllZone.getStack().addSimultaneousStackEntry(ability);
} }
} // endOfTurnWallOfReverence() } // endOfTurnWallOfReverence()*/
private static void endOfTurnLighthouseChronologist() { private static void endOfTurnLighthouseChronologist() {
final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn(); final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn();