mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Tweaked AI with Ugin, the Spirit Dragon to use his +1 in Main1 when there's something to kill.
This commit is contained in:
@@ -62,16 +62,8 @@ public class DamageDealAi extends DamageAiBase {
|
||||
if (sa.getHostCard().getName().equals("Crater's Claws") && ai.hasFerocious()) {
|
||||
dmg += 2;
|
||||
}
|
||||
|
||||
String logic = sa.getParam("AILogic");
|
||||
|
||||
// Ugin AI: allow other effects to be evaluated first
|
||||
if (source.getName().equals("Ugin, the Spirit Dragon")) {
|
||||
if (ai.getGame().getPhaseHandler().getPhase().isBefore(PhaseType.MAIN2) ||
|
||||
source.getCounters(CounterType.LOYALTY) > 9) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ("DiscardLands".equals(logic)) {
|
||||
dmg = 2;
|
||||
} else if ("WildHunt".equals(logic)) {
|
||||
|
||||
Reference in New Issue
Block a user