Core/AI: 06443e3 followup
(cherry picked from commit bb9af06cd4ff80f078fcb6ae4871c74a1a174bcc)
This commit is contained in:
@@ -188,6 +188,10 @@ struct TC_GAME_API ScriptedAI : public CreatureAI
|
||||
void ResetThreatList(Unit* who = nullptr);
|
||||
// Returns the threat level of victim towards who (or me if not specified)
|
||||
float GetThreat(Unit const* victim, Unit const* who = nullptr);
|
||||
// Stops combat, ignoring restrictions, for the given creature
|
||||
void ForceCombatStop(Creature* who, bool reset = true);
|
||||
// Stops combat, ignoring restrictions, for the found creatures
|
||||
void ForceCombatStopForCreatureEntry(uint32 entry, float maxSearchRange = 250.0f, bool samePhase = true, bool reset = true);
|
||||
|
||||
void DoTeleportTo(float x, float y, float z, uint32 time = 0);
|
||||
void DoTeleportTo(float const pos[4]);
|
||||
@@ -339,8 +343,6 @@ class TC_GAME_API BossAI : public ScriptedAI
|
||||
|
||||
void TeleportCheaters();
|
||||
|
||||
void ForceCombatStopForCreatureEntry(uint32 entry, float maxSearchRange = 250.0f, bool reset = true);
|
||||
|
||||
EventMap events;
|
||||
SummonList summons;
|
||||
TaskScheduler scheduler;
|
||||
|
||||
Reference in New Issue
Block a user