mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 17:26:30 +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:
@@ -409,6 +409,8 @@ public:
|
||||
inline void SetBaseRace(uint32 i) { m_pp.race=i; }
|
||||
inline void SetBaseGender(uint32 i) { m_pp.gender=i; }
|
||||
inline void SetDeity(uint32 i) {m_pp.deity=i;deity=i;}
|
||||
|
||||
void SetTrackingID(uint32 entity_id);
|
||||
|
||||
inline uint8 GetLevel2() const { return m_pp.level2; }
|
||||
inline uint16 GetBaseRace() const { return m_pp.race; }
|
||||
|
||||
Reference in New Issue
Block a user