mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[Commands] Cleanup #modifynpcstat Command. (#2499)
* [Commands] Cleanup #modifynpcstat Command. Cleanup messages and logic, Add map and loop through it to display all stats, can add to this in the future if we add more stuff modifiable by this command. * Delete settings.json * Update modifynpcstat.cpp * Update modifynpcstat.cpp * Update questmgr.h
This commit is contained in:
@@ -812,8 +812,8 @@ void lua_create_door(const char *model, float x, float y, float z, float h, int
|
||||
quest_manager.CreateDoor(model, x, y, z, h, open_type, size);
|
||||
}
|
||||
|
||||
void lua_modify_npc_stat(const char *id, const char *value) {
|
||||
quest_manager.ModifyNPCStat(id, value);
|
||||
void lua_modify_npc_stat(std::string stat, std::string value) {
|
||||
quest_manager.ModifyNPCStat(stat, value);
|
||||
}
|
||||
|
||||
int lua_collect_items(uint32 item_id, bool remove) {
|
||||
|
||||
Reference in New Issue
Block a user