mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
[Quest API] Add IsNPCSpawned(npc_ids) and CountSpawnedNPCs(npc_ids) to Perl/Lua. (#1570)
- Add quest::isnpcspawned(npc_ids) to Perl. - Add quest::countspawnednpcs(npc_ids) to Perl. - Add eq.is_npc_spawned(npc_ids) to Lua. - Add eq.count_spawned_npcs(npc_ids) to Lua.
This commit is contained in:
@@ -158,6 +158,8 @@ public:
|
||||
Mob *GetMob(const char* name);
|
||||
Mob *GetMobByNpcTypeID(uint32 get_id);
|
||||
bool IsMobSpawnedByNpcTypeID(uint32 get_id);
|
||||
bool IsNPCSpawned(std::vector<uint32> npc_ids);
|
||||
uint32 CountSpawnedNPCs(std::vector<uint32> npc_ids);
|
||||
Mob *GetTargetForVirus(Mob* spreader, int range);
|
||||
inline NPC *GetNPCByID(uint16 id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user