- Added Land's Edge.

This commit is contained in:
Sloth
2013-05-10 20:51:50 +00:00
parent 605e1e3c47
commit fb4b53acc6
3 changed files with 19 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ public class DamageDealAi extends DamageAiBase {
dmg = ComputerUtilMana.determineLeftoverMana(sa, ai);
source.setSVar("PayX", Integer.toString(dmg));
}
if ("DiscardLands".equals(sa.getParam("AILogic"))) {
dmg = 2;
}
if (dmg <= 0) {
return false;
@@ -77,6 +80,10 @@ public class DamageDealAi extends DamageAiBase {
if (!ComputerUtilCost.checkRemoveCounterCost(abCost, source)) {
return false;
}
if ("DiscardLands".equals(sa.getParam("AILogic")) && !ComputerUtilCost.checkDiscardCost(ai, abCost, source)) {
return false;
}
if (source.getName().equals("Stuffy Doll")) {
// Now stuffy sits around for blocking