mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 22:57:15 +00:00
[Quest API] Add TrackNPC to Perl/Lua. (#2272)
* [Quest API] Add TrackNPC to Perl/Lua. - Add quest::tracknpc(entity_id) to Perl. - Add eq.track_npc(entity_id) to Lua. - This will allow server operators to arbitrarily Track NPCs for clients with scripts. - Modified tracking to auto turn off and tell you that you discovered your target if within 10 units, this is to allow scripted Tracking to turn off without the need for the Tracking skill. * Remove unnecessary DoTracking() call. * Update client.cpp
This commit is contained in:
@@ -336,6 +336,7 @@ public:
|
||||
int getspellstat(uint32 spell_id, std::string stat_identifier, uint8 slot = 0);
|
||||
const SPDat_Spell_Struct *getspell(uint32 spell_id);
|
||||
std::string getenvironmentaldamagename(uint8 damage_type);
|
||||
void TrackNPC(uint32 entity_id);
|
||||
|
||||
Client *GetInitiator() const;
|
||||
NPC *GetNPC() const;
|
||||
|
||||
Reference in New Issue
Block a user