mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Land's Edge.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user