mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- The AI will no longer use the DealDamage AF abilities when the damage is 0.
This commit is contained in:
@@ -239,6 +239,9 @@ public class AbilityFactory_DealDamage {
|
||||
dmg = getNumDamage(saMe);
|
||||
boolean rr = AF.isSpell();
|
||||
|
||||
if(dmg <= 0)
|
||||
return false;
|
||||
|
||||
// temporarily disabled until better AI
|
||||
if (!CostUtil.checkLifeCost(abCost, source, 4))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user