mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +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:
+3
-3
@@ -461,12 +461,12 @@ inline std::string GetMobAttributeByString(Mob *mob, const std::string &attribut
|
||||
commify(std::to_string((int) RuleI(Character, ItemDSMitigationCap)));
|
||||
}
|
||||
if (attribute == "hp_regen") {
|
||||
return commify(std::to_string((int) client->GetHPRegen())) + " / " +
|
||||
return commify(std::to_string((int64) client->GetHPRegen())) + " / " +
|
||||
commify(std::to_string((int) RuleI(Character, ItemHealthRegenCap)));
|
||||
}
|
||||
if (attribute == "mana_regen") {
|
||||
return commify(std::to_string((int) client->GetManaRegen())) + " / " +
|
||||
commify(std::to_string((int) RuleI(Character, ItemManaRegenCap)));
|
||||
return commify(std::to_string((int64) client->GetManaRegen())) + " / " +
|
||||
commify(std::to_string((int64) RuleI(Character, ItemManaRegenCap)));
|
||||
}
|
||||
if (attribute == "end_regen") {
|
||||
return commify(std::to_string((int) client->CalcEnduranceRegen())) + " / " +
|
||||
|
||||
Reference in New Issue
Block a user