private static void RevertClearArea() { if (!IsCombatModeModified) { return; } TrinityCombat.ResetCombatMode(); //if (Components.Combat.TrinityCombat.CombatMode == CombatMode.KillAll) //{ // Components.Combat.TrinityCombat.CombatMode = _previousCombatMode; // Core.Logger.Debug($"Reverting combat mode to '{_previousCombatMode}' after clearing area"); //} GameEvents.OnWorldChanged -= OnWorldChanged; IsCombatModeModified = false; }
private bool Completed() { TrinityCombat.ResetCombatMode(); return(true); }
public override void DoneMethod() { Core.Logger.Debug($"{TagClassName} Has Ended"); TrinityCombat.ResetCombatMode(); }
private async Task <bool> Failed() { TrinityCombat.ResetCombatMode(); Core.Logger.Log("[ClearLevelArea] Failed"); return(true); }