feat(Scripts/Commands): .debug boundary to visualize CreatureBoundary (#22099)

Co-authored-by: avarishd <46330494+avarishd@users.noreply.github.com>
Co-authored-by: treeston <treeston.mmoc@gmail.com>
This commit is contained in:
Jelle Meeus
2025-05-30 16:42:11 +02:00
committed by GitHub
parent 4ad3df7210
commit b15507eb06
4 changed files with 141 additions and 1 deletions
+3
View File
@@ -209,6 +209,9 @@ public:
virtual void PetStopAttack() { }
// intended for encounter design/debugging. do not use for other purposes. expensive.
int32 VisualizeBoundary(uint32 duration, Unit* owner = nullptr, bool fill = false, bool checkZ = false) const;
// boundary system methods
virtual bool CheckInRoom();
CreatureBoundary const* GetBoundary() const { return _boundary; }