mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[int64] Support for HP / Mana / End / Damage / Hate (#2091)
* Initial int64 work * Hate 64 bit * Update special_attacks.cpp * Aggro / Damage / Hate int64 * NPC edit adjustments * Fix bot compile * More int64 adjustments * More int64 references * npcedit references * aggrozone * More int64 changes * More int64 changes for damage * Many more damage int64 references * More spell damage int64 conversions * HealDamage * Damage fully working * Remove debug * Add migration * More int64 adjustments * Much wow, many int64 * More int64 * PR adjustments
This commit is contained in:
@@ -10,37 +10,37 @@ int32 Lua_StatBonuses::GetAC() const {
|
||||
return self->AC;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetHP() const {
|
||||
int64 Lua_StatBonuses::GetHP() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->HP;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetHPRegen() const {
|
||||
int64 Lua_StatBonuses::GetHPRegen() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->HPRegen;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetMaxHP() const {
|
||||
int64 Lua_StatBonuses::GetMaxHP() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->MaxHP;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetManaRegen() const {
|
||||
int64 Lua_StatBonuses::GetManaRegen() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->ManaRegen;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetEnduranceRegen() const {
|
||||
int64 Lua_StatBonuses::GetEnduranceRegen() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->EnduranceRegen;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetMana() const {
|
||||
int64 Lua_StatBonuses::GetMana() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->Mana;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetEndurance() const {
|
||||
int64 Lua_StatBonuses::GetEndurance() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->Endurance;
|
||||
}
|
||||
@@ -385,7 +385,7 @@ int8 Lua_StatBonuses::Gethatemod() const {
|
||||
return self->hatemod;
|
||||
}
|
||||
|
||||
int32 Lua_StatBonuses::GetEnduranceReduction() const {
|
||||
int64 Lua_StatBonuses::GetEnduranceReduction() const {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->EnduranceReduction;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user