$npc->AI_SetRoambox(float distance, float max_x, float min_x, float max_y, float min_y, [uint32 max_delay = 2500], [uint32 min_delay = 2500])$npc->AddAISpell(int priority, int spell_id, int type, int mana_cost, int recast_delay, int resist_adjust)$npc->AddCash(uint16 copper, uint16 silver, uint16 gold, uint16 platinum)$npc->AddDefensiveProc(int spell_id, int chance)$npc->AddItem(uint32 item_id, [uint16 charges = 0], [bool equip_item = true], [uint32 aug1 = 0], [uint32 aug2 = 0], [uint32 aug3 = 0], [uint32 aug4 = 0], [uint32 aug5 = 0], [uint32 aug6 = 0])$npc->AddLootTable([uint32 loottable_id])$npc->AddMeleeProc(int spell_id, int chance)$npc->AddRangedProc(int spell_id, int chance)$npc->AssignWaypoints(uint32 grid_id)$npc->CalculateNewWaypoint()$npc->ChangeLastName(string name)$npc->CheckNPCFactionAlly(int32 faction_id)$npc->ClearItemList()$npc->ClearLastName()$npc->CountLoot()$npc->DisplayWaypointInfo(client* target)$npc->DoClassAttacks(mob* target)$npc->GetAccuracyRating()$npc->GetAttackDelay()$npc->GetAttackSpeed()$npc->GetAvoidanceyRating()$npc->GetCombatState()$npc->GetCopper()$npc->GetGold()$npc->GetGrid()$npc->GetGuardPointX()$npc->GetGuardPointY()$npc->GetGuardPointZ()$npc->GetLoottableID()$npc->GetMaxDMG()$npc->GetMaxDamage(uint8 target_level)$npc->GetMaxWp()$npc->GetMinDMG()$npc->GetNPCFactionID()$npc->GetNPCHate(mob* entity)$npc->GetNPCSpellsID()$npc->GetPetSpellID()$npc->GetPlatinum()$npc->GetPrimSkill()$npc->GetPrimaryFaction()$npc->GetScore()$npc->GetSecSkill()$npc->GetSilver()$npc->GetSlowMitigation()$npc->GetSp2()$npc->GetSpawnKillCount()$npc->GetSpawnPointH()$npc->GetSpawnPointID()$npc->GetSpawnPointX()$npc->GetSpawnPointY()$npc->GetSpawnPointZ()$npc->GetSpellFocusDMG()$npc->GetSpellFocusHeal()$npc->GetSwarmOwner()$npc->GetSwarmTarget()$npc->GetWaypointMax()$npc->IsAnimal()$npc->IsGuarding()$npc->IsOnHatelist(mob* target)$npc->MerchantCloseShop()$npc->MerchantOpenShop()$npc->ModifyNPCStat(string key, string value)$npc->MoveTo(float X, float Y, float Z, [float heading], [bool save_guard_location = false])$npc->NextGuardPosition()$npc->PauseWandering(int pause_time)$npc->PickPocket(client* thief)$npc->RecalculateSkills()$npc->RemoveAISpell(int spell_id)$npc->RemoveCash()$npc->RemoveDefensiveProc(int spell_id)$npc->RemoveFromHateList(mob* target)$npc->RemoveItem(uint32 item_id, [uint16 quantity = 0], [uint16 slot_id = 0])$npc->RemoveMeleeProc(int spell_id)$npc->RemoveRangedProc(int spell_id)$npc->ResumeWandering()$npc->SaveGuardSpot(X, Y, Z, heading)$npc->SetCopper(uint32 copper_amount)$npc->SetGold(uint32 gold_amount)$npc->SetGrid(int32 grid_id)$npc->SetNPCFactionID(int32 faction_id)$npc->SetPetSpellID(uint16 amount)$npc->SetPlatinum(uint32 platinum_amount)$npc->SetPrimSkill(int skill_id)$npc->SetSaveWaypoint(uint16 waypoint)$npc->SetSecSkill(int skill_id)$npc->SetSilver(uint32 silver_amount)$npc->SetSimpleRoamBox(box_size, move_distance, move_delay)$npc->SetSp2(uint32 set_spawn_group_id)$npc->SetSpellFocusDMG(int new_spell_focus_dmg)$npc->SetSpellFocusHeal(int32 new_spell_focus_heal)$npc->SetSwarmTarget(int target_id)$npc->SetTaunting(bool toggle)$npc->SetWaypointPause()$npc->SignalNPC(int signal_id)$npc->StartSwarmTimer(uint32 duration)$npc->StopWandering()$npc->UpdateWaypoint(int wp_index)
npc:AI_SetRoambox(float dist, float max_x, float min_x, float max_y, float min_y); -- voidnpc:AI_SetRoambox(float dist, float max_x, float min_x, float max_y, float min_y, uint32 delay, uint32 mindelay); -- voidnpc:AddAISpell(int priority, int spell_id, int type, int mana_cost, int recast_delay, int resist_adjust); -- voidnpc:AddAISpell(int priority, int spell_id, int type, int mana_cost, int recast_delay, int resist_adjust, int min_hp, int max_hp); -- voidnpc:AddCash(int copper, int silver, int gold, int platinum); -- voidnpc:AddItem(int item_id, int charges); -- voidnpc:AddItem(int item_id, int charges, bool equip); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1, int aug2); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1, int aug2, int aug3); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1, int aug2, int aug3, int aug4); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1, int aug2, int aug3, int aug4, int aug5); -- voidnpc:AddItem(int item_id, int charges, bool equip, int aug1, int aug2, int aug3, int aug4, int aug5, int aug6); -- voidnpc:AddLootTable(); -- voidnpc:AddLootTable(int id); -- voidnpc:AssignWaypoints(int grid); -- voidnpc:CalculateNewWaypoint(); -- voidnpc:CheckNPCFactionAlly(int faction); -- intnpc:ClearItemList(); -- voidnpc:CountLoot(); -- intnpc:DisplayWaypointInfo(Lua_Client to); -- voidnpc:DoClassAttacks(Lua_Mob target); -- voidnpc:GetAccuracyRating(); -- intnpc:GetAttackDelay(); -- intnpc:GetAttackSpeed(); -- floatnpc:GetAvoidanceRating(); -- intnpc:GetCopper(); -- uint32npc:GetFollowCanRun(); -- boolnpc:GetFollowDistance(); -- intnpc:GetFollowID(); -- intnpc:GetGold(); -- uint32npc:GetGrid(); -- intnpc:GetGuardPointX(); -- floatnpc:GetGuardPointY(); -- floatnpc:GetGuardPointZ(); -- floatnpc:GetLoottableID(); -- intnpc:GetMaxDMG(); -- uint32npc:GetMaxDamage(int level); -- uint32npc:GetMaxWp(); -- intnpc:GetMinDMG(); -- uint32npc:GetNPCFactionID(); -- intnpc:GetNPCHate(Lua_Mob ent); -- intnpc:GetNPCSpellsID(); -- intnpc:GetPetSpellID(); -- intnpc:GetPlatinum(); -- uint32npc:GetPrimSkill(); -- intnpc:GetPrimaryFaction(); -- intnpc:GetRawAC(); -- intnpc:GetScore(); -- intnpc:GetSecSkill(); -- intnpc:GetSilver(); -- uint32npc:GetSlowMitigation(); -- floatnpc:GetSp2(); -- uint32npc:GetSpawnKillCount(); -- intnpc:GetSpawnPointH(); -- floatnpc:GetSpawnPointID(); -- intnpc:GetSpawnPointX(); -- floatnpc:GetSpawnPointY(); -- floatnpc:GetSpawnPointZ(); -- floatnpc:GetSpellFocusDMG(); -- intnpc:GetSpellFocusHeal(); -- intnpc:GetSwarmOwner(); -- intnpc:GetSwarmTarget(); -- intnpc:GetWaypointMax(); -- intnpc:IsAnimal(); -- boolnpc:IsGuarding(); -- boolnpc:IsOnHatelist(Lua_Mob ent); -- boolnpc:MerchantCloseShop(); -- voidnpc:MerchantOpenShop(); -- voidnpc:ModifyNPCStat(const char *stat, const char *value); -- voidnpc:MoveTo(float x, float y, float z, float h, bool save); -- voidnpc:NextGuardPosition(); -- voidnpc:PauseWandering(int pause_time); -- voidnpc:PickPocket(Lua_Client thief); -- voidnpc:RecalculateSkills(); -- voidnpc:RemoveAISpell(int spell_id); -- voidnpc:RemoveCash(); -- voidnpc:RemoveItem(int item_id); -- voidnpc:RemoveItem(int item_id, int quantity); -- voidnpc:RemoveItem(int item_id, int quantity, int slot); -- voidnpc:ResumeWandering(); -- voidnpc:SaveGuardSpot(float x, float y, float z, float heading); -- voidnpc:SetCopper(uint32 amt); -- voidnpc:SetFollowCanRun(bool v); -- voidnpc:SetFollowDistance(int dist); -- voidnpc:SetFollowID(int id); -- voidnpc:SetGold(uint32 amt); -- voidnpc:SetGrid(int grid); -- voidnpc:SetNPCFactionID(int id); -- voidnpc:SetPetSpellID(int id); -- voidnpc:SetPlatinum(uint32 amt); -- voidnpc:SetPrimSkill(int skill_id); -- voidnpc:SetSaveWaypoint(int wp); -- voidnpc:SetSecSkill(int skill_id); -- voidnpc:SetSilver(uint32 amt); -- voidnpc:SetSimpleRoamBox(float box_size); -- voidnpc:SetSimpleRoamBox(float box_size, float move_distance); -- voidnpc:SetSimpleRoamBox(float box_size, float move_distance, int move_delay); -- voidnpc:SetSp2(int sg2); -- voidnpc:SetSpellFocusDMG(int focus); -- voidnpc:SetSpellFocusHeal(int focus); -- voidnpc:SetSwarmTarget(int target); -- voidnpc:SetTaunting(bool t); -- voidnpc:SetWaypointPause(); -- voidnpc:Signal(int id); -- voidnpc:StartSwarmTimer(uint32 duration); -- voidnpc:StopWandering(); -- voidnpc:UpdateWaypoint(int wp); -- void