refactor(Scripts/TempleOfAhnQiraj): Clean up Cthun script (#19736)

* refactor(Scripts/TempleOfAhnQiraj): Clean up Cthun script

* Update boss_cthun.cpp

* Update boss_cthun.cpp
This commit is contained in:
Andrew
2024-08-25 16:46:24 -03:00
committed by GitHub
parent a470971a5d
commit c5399509e6
2 changed files with 25 additions and 142 deletions

View File

@@ -334,6 +334,7 @@ struct ScriptedAI : public CreatureAI
//Teleports a player without dropping threat (only teleports to same map)
void DoTeleportPlayer(Unit* unit, float x, float y, float z, float o);
void DoTeleportPlayer(Unit* unit, Position pos) { DoTeleportPlayer(unit, pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation()); };
void DoTeleportAll(float x, float y, float z, float o);
//Returns friendly unit with the most amount of hp missing from max hp