Add #grid show comand to display a targeted NPCs grid points visually

This commit is contained in:
Akkadius
2018-07-09 01:15:57 -05:00
parent b6388595f3
commit 0d094754db
3 changed files with 101 additions and 7 deletions
+4
View File
@@ -110,6 +110,8 @@ public:
virtual ~NPC();
static NPC *SpawnGridNodeNPC(std::string name, const glm::vec4 &position, uint32 grid_id, uint32 grid_number, uint32 pause);
//abstract virtual function implementations requird by base abstract class
virtual bool Death(Mob* killerMob, int32 damage, uint16 spell_id, EQEmu::skills::SkillType attack_skill);
virtual void Damage(Mob* from, int32 damage, uint16 spell_id, EQEmu::skills::SkillType attack_skill, bool avoidable = true, int8 buffslot = -1, bool iBuffTic = false, eSpecialAttacks special = eSpecialAttacks::None);
@@ -562,6 +564,8 @@ protected:
bool raid_target;
bool ignore_despawn; //NPCs with this set to 1 will ignore the despawn value in spawngroup
private:
uint32 loottable_id;
bool skip_global_loot;