mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Don't use RegenerateAi abilities if it has a Target object and nothing is actually targeted
This commit is contained in:
@@ -148,6 +148,9 @@ public class RegenerateAi extends SpellAbilityAi {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tgt.getTargets().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return chance;
|
||||
|
||||
Reference in New Issue
Block a user