mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Converted Wall of Reverence to script.
This commit is contained in:
@@ -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.
|
||||
SVar:DBGainLife:DB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
|
||||
SVar:X:Targeted$CardPower
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Common
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/souls_grace.jpg
|
||||
SetInfo:ALA|Common|http://magiccards.info/scans/en/ala/28.jpg
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
Name:Wall of Reverence
|
||||
ManaCost:3 W
|
||||
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
|
||||
K:Defender
|
||||
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:Picture:http://www.wizards.com/global/images/magic/general/wall_of_reverence.jpg
|
||||
SetInfo:CFX|Rare|http://magiccards.info/scans/en/cfx/20.jpg
|
||||
|
||||
@@ -56,7 +56,7 @@ public class EndOfTurn extends Phase implements java.io.Serializable {
|
||||
|
||||
final CardList all = AllZoneUtil.getCardsIn(ZoneType.Battlefield);
|
||||
|
||||
EndOfTurn.endOfTurnWallOfReverence();
|
||||
//EndOfTurn.endOfTurnWallOfReverence();
|
||||
EndOfTurn.endOfTurnLighthouseChronologist();
|
||||
|
||||
// reset mustAttackEntity for me
|
||||
@@ -229,7 +229,7 @@ public class EndOfTurn extends Phase implements java.io.Serializable {
|
||||
|
||||
} // executeAt()
|
||||
|
||||
private static void endOfTurnWallOfReverence() {
|
||||
/*private static void endOfTurnWallOfReverence() {
|
||||
final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn();
|
||||
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);
|
||||
|
||||
}
|
||||
} // endOfTurnWallOfReverence()
|
||||
} // endOfTurnWallOfReverence()*/
|
||||
|
||||
private static void endOfTurnLighthouseChronologist() {
|
||||
final Player player = Singletons.getModel().getGameState().getPhaseHandler().getPlayerTurn();
|
||||
|
||||
Reference in New Issue
Block a user