mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
[Feature] Change mana_used to int32 (#2321)
* Changed mana_used to use int32, to match int32 mana_cost This will allow higher mana costs to function * Corrected DoHPToManaCovert to Int32 * Removed unused uint16 GetMana function call from Server/zone/questmgr.h * Change GetSkillDmgAmt from Int16 to Int32 (SkillDamageAmount2 which uses function is Int32) * Delete mob.cpp * Revert "Delete mob.cpp" This reverts commit3db8bf04d1. * Revert "Change GetSkillDmgAmt from Int16 to Int32 (SkillDamageAmount2 which uses function is Int32)" This reverts commitcf5dbc9ce8. Co-authored-by: dmcintosh-BCT <dan@blackcreektechnologies.com>
This commit is contained in:
1 parent
6e2d11a283
commit
25705878d8
4 files changed
+6
-7
No files matched your search
@@ -7077,7 +7077,7 @@ uint16 Mob::GetSympatheticSpellProcID(uint16 spell_id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Mob::DoHPToManaCovert(uint16 mana_cost)
|
||||
bool Mob::DoHPToManaCovert(int32 mana_cost)
|
||||
{
|
||||
if (spellbonuses.HPToManaConvert){
|
||||
int64 hp_cost = spellbonuses.HPToManaConvert * mana_cost / 100;
|
||||
|
||||
Reference in new issue
Block a user