[Zone] Make zone controller less likely to be visible, immune to all forms of combat (#4750)

* [Zone] Make zone controller less likely to be visible, immune to all forms of combat

* Exclude zone controller from scanning
This commit is contained in:
Chris Miles
2025-03-06 16:08:08 -06:00
committed by GitHub
parent d6a21be25e
commit 0c301419c2
4 changed files with 13 additions and 7 deletions
+1
View File
@@ -671,6 +671,7 @@ public:
((static_cast<float>(current_mana) / max_mana) * 100); }
virtual int64 CalcMaxMana();
uint32 GetNPCTypeID() const { return npctype_id; }
inline bool IsZoneController() const { return npctype_id == ZONE_CONTROLLER_NPC_ID; }
void SetNPCTypeID(uint32 npctypeid) { npctype_id = npctypeid; }
inline const glm::vec4& GetPosition() const { return m_Position; }
inline void SetPosition(const float x, const float y, const float z) { m_Position.x = x; m_Position.y = y; m_Position.z = z; }