muffin v7.5.13
This commit is contained in:
parent
911ed68baa
commit
acf3e3cb18
69 changed files with 2731 additions and 1425 deletions
|
|
@ -391,7 +391,7 @@ internal sealed class BossModIpc : IDisposable
|
|||
AddTransientStrategy(preset, "BossMod.Autorotation.MiscAI.StayCloseToTarget", "Range", isRanged ? "15" : "3");
|
||||
}
|
||||
|
||||
public bool EnableAi(EPreset preset)
|
||||
public bool EnableAi(EPreset preset, bool activateAi = true)
|
||||
{
|
||||
if (!CreateShellPreset(preset))
|
||||
{
|
||||
|
|
@ -411,6 +411,10 @@ internal sealed class BossModIpc : IDisposable
|
|||
_logger.LogWarning("Unable to set BossMod preset {Preset}: {Message}", preset, ipcError.Message);
|
||||
return false;
|
||||
}
|
||||
if (!activateAi)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
string aiCommand = GetAiCommand();
|
||||
if (aiCommand != null)
|
||||
{
|
||||
|
|
@ -424,7 +428,7 @@ internal sealed class BossModIpc : IDisposable
|
|||
|
||||
public void EnableQuestBattleAi()
|
||||
{
|
||||
EnableAi(EPreset.Active);
|
||||
EnableAi(EPreset.Active, _configuration.SinglePlayerDuties.EnableBossModAi);
|
||||
ConfigureSoloDutyZone();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue