- C15: added Anya, Merciless Angel

This commit is contained in:
swordshine
2015-11-19 10:57:58 +00:00
parent 28d31ceeba
commit f8ef7cfb6f
3 changed files with 16 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1866,6 +1866,7 @@ forge-gui/res/cardsfolder/a/anurid_scavenger.txt -text
forge-gui/res/cardsfolder/a/anurid_swarmsnapper.txt -text
forge-gui/res/cardsfolder/a/anvil_of_bogardan.txt svneol=native#text/plain
forge-gui/res/cardsfolder/a/anvilwrought_raptor.txt -text
forge-gui/res/cardsfolder/a/anya_merciless_angel.txt -text
forge-gui/res/cardsfolder/a/apathy.txt -text
forge-gui/res/cardsfolder/a/apes_of_rath.txt svneol=native#text/plain
forge-gui/res/cardsfolder/a/apex_hawks.txt svneol=native#text/plain

View File

@@ -2160,6 +2160,10 @@ public class Player extends GameEntity implements Comparable<Player> {
return false;
}
}
} else if (property.startsWith("LessThanHalfStartingLifeTotal")) {
if (this.getLife() >= (int) Math.ceil(this.getStartingLife() / 2.0)) {
return false;
}
}
return true;
}

View File

@@ -0,0 +1,11 @@
Name:Anya, Merciless Angel
ManaCost:3 R W
Types:Legendary Creature Angel
PT:4/4
K:Flying
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +3/+3 for each opponent whose life total is less than half his or her starting life total.
SVar:X:SVar$Y/Times.3
SVar:Y:PlayerCountOpponents$HasPropertyLessThanHalfStartingLifeTotal
S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Indestructible | CheckSVar$ Y | Description$ As long as an opponent's life total is less than half his or her starting life total, CARDNAME has indestructible.
SVar:Picture:http://www.wizards.com/global/images/magic/general/anya_merciless_angel.jpg
Oracle:Flying\nAnya, Merciless Angel gets +3/+3 for each opponent whose life total is less than half his or her starting life total.\nAs long as an opponent's life total is less than half his or her starting life total, Anya has indestructible.