mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Converted parts of Forsaken Wastes and Leyline of Punishment to script.
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
Name:Forsaken Wastes
|
Name:Forsaken Wastes
|
||||||
ManaCost:2 B
|
ManaCost:2 B
|
||||||
Types:World Enchantment
|
Types:World Enchantment
|
||||||
Text:Players cannot gain life.
|
Text:no text
|
||||||
|
S:Mode$ Continuous | Affected$ Player | AddKeyword$ You can't gain life. | Description$ Players can't gain life.
|
||||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player loses 1 life.
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player loses 1 life.
|
||||||
T:Mode$ SpellCast | TargetsValid$ Card.Self | Execute$ TrigLoseLife5 | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME becomes the target of a spell, that spell's controller loses 5 life.
|
T:Mode$ SpellCast | TargetsValid$ Card.Self | Execute$ TrigLoseLife5 | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME becomes the target of a spell, that spell's controller loses 5 life.
|
||||||
SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ TriggeredPlayer | LifeAmount$ 1
|
SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ TriggeredPlayer | LifeAmount$ 1
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
Name:Leyline of Punishment
|
Name:Leyline of Punishment
|
||||||
ManaCost:2 R R
|
ManaCost:2 R R
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:If Leyline of Punishment is in your opening hand, you may begin the game with it on the battlefield. Players can't gain life. Damage can't be prevented.
|
Text:If Leyline of Punishment is in your opening hand, you may begin the game with it on the battlefield. Damage can't be prevented.
|
||||||
|
S:Mode$ Continuous | Affected$ Player | AddKeyword$ You can't gain life. | Description$ Players can't gain life.
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/leyline_of_punishment.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/leyline_of_punishment.jpg
|
||||||
|
|||||||
@@ -381,8 +381,7 @@ public abstract class Player extends GameEntity {
|
|||||||
* @return a boolean.
|
* @return a boolean.
|
||||||
*/
|
*/
|
||||||
public final boolean canGainLife() {
|
public final boolean canGainLife() {
|
||||||
if (AllZoneUtil.isCardInPlay("Leyline of Punishment") || AllZoneUtil.isCardInPlay("Platinum Emperion", this)
|
if (AllZoneUtil.isCardInPlay("Platinum Emperion", this)) {
|
||||||
|| AllZoneUtil.isCardInPlay("Forsaken Wastes")) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (this.hasKeyword("You can't gain life.")) {
|
if (this.hasKeyword("You can't gain life.")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user