Added GetGlobal() support for all Mobs.

- Uses memory (no database hits)
- Allows entity-based quest global checks
This commit is contained in:
Kinglykrab committed 2015-06-01 22:25:02 -04:00
1 parent c3c6d18979
commit 9a5ff58213
5 files changed
+73

No files matched your search

+1
View File
@@ -307,6 +307,7 @@ public:
uint32 unk020, bool perm_effect, Lua_Client c);
void TempName();
void TempName(const char *newname);
std::string GetGlobal(const char *varname);
void SetGlobal(const char *varname, const char *newvalue, int options, const char *duration);
void SetGlobal(const char *varname, const char *newvalue, int options, const char *duration, Lua_Mob other);
void TarGlobal(const char *varname, const char *value, const char *duration, int npc_id, int char_id, int zone_id);