mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 20:56:37 +00:00
[INT64] Fix int64 for OOC Regen and GetHP(), GetMaxHP(), GetItemHPBonuses() in Perl/Lua. (#2218)
* [INT64] Fix int64 for OOC Regen and GetHP(), GetMaxHP(), GetItemHPBonuses() in Perl/Lua. - These all had int64 values and were overflowing, returning garbage data. * Update npc.cpp
This commit is contained in:
+4
-4
@@ -123,9 +123,9 @@ public:
|
||||
void SetTarget(Lua_Mob t);
|
||||
double GetHPRatio();
|
||||
bool IsWarriorClass();
|
||||
int GetHP();
|
||||
int GetMaxHP();
|
||||
int GetItemHPBonuses();
|
||||
int64 GetHP();
|
||||
int64 GetMaxHP();
|
||||
int64 GetItemHPBonuses();
|
||||
int GetSpellHPBonuses();
|
||||
double GetWalkspeed();
|
||||
double GetRunspeed();
|
||||
@@ -288,7 +288,7 @@ public:
|
||||
bool SetAA(int rank_id, int new_value);
|
||||
bool SetAA(int rank_id, int new_value, int charges);
|
||||
bool DivineAura();
|
||||
void SetOOCRegen(int regen);
|
||||
void SetOOCRegen(int64 new_ooc_regen);
|
||||
const char* GetEntityVariable(const char *name);
|
||||
void SetEntityVariable(const char *name, const char *value);
|
||||
bool EntityVariableExists(const char *name);
|
||||
|
||||
Reference in New Issue
Block a user