-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Change mana_used to int32, This will allow higher mana costs to function correctly #2321
Conversation
to match int32 mana_cost This will allow higher mana costs to function
Line 357 in 20c639c
Can you nuke this line? It doesn't appear to be called, otherwise I'd ask you to update it. |
@mackal Done. |
…ses function is Int32)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh why did you delete mob.cpp :P
Sorry, I meant to commit those changes to a new PR, how do I go about fixing? |
|
* 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 commit 3db8bf0. * Revert "Change GetSkillDmgAmt from Int16 to Int32 (SkillDamageAmount2 which uses function is Int32)" This reverts commit cf5dbc9. Co-authored-by: dmcintosh-BCT <dan@blackcreektechnologies.com>
* 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 commit 3db8bf0. * Revert "Change GetSkillDmgAmt from Int16 to Int32 (SkillDamageAmount2 which uses function is Int32)" This reverts commit cf5dbc9. Co-authored-by: dmcintosh-BCT <dan@blackcreektechnologies.com>
mana_cost already uses Int32
mana_used is already Int32 under other functions - CastSpell