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