mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 13:12:17 +00:00
Added GetGlobal() support for all Mobs.
- Uses memory (no database hits) - Allows entity-based quest global checks
This commit is contained in:
1 parent
c3c6d18979
commit
9a5ff58213
5 files changed
+73
No files matched your search
@@ -911,6 +911,7 @@ public:
|
||||
inline virtual bool IsBlockedBuff(int16 SpellID) { return false; }
|
||||
inline virtual bool IsBlockedPetBuff(int16 SpellID) { return false; }
|
||||
|
||||
std::string GetGlobal(const char *varname);
|
||||
void SetGlobal(const char *varname, const char *newvalue, int options, const char *duration, Mob *other = nullptr);
|
||||
void TarGlobal(const char *varname, const char *value, const char *duration, int npcid, int charid, int zoneid);
|
||||
void DelGlobal(const char *varname);
|
||||
|
||||
Reference in new issue
Block a user