mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'master' into 'master'
Restore the "move equipment" functionality for the AI See merge request core-developers/forge!1216
This commit is contained in:
@@ -1316,7 +1316,8 @@ public class AttachAi extends SpellAbilityAi {
|
||||
}
|
||||
|
||||
// Don't fortify if already fortifying
|
||||
if (attachSource.getAttachedTo() != null && attachSource.getAttachedTo().getController() == aiPlayer) {
|
||||
if (attachSource.isFortification() && attachSource.getAttachedTo() != null
|
||||
&& attachSource.getAttachedTo().getController() == aiPlayer) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user