-
Notifications
You must be signed in to change notification settings - Fork 240
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
Fix: Mana on XP Spend #319
Conversation
* Fixed the @HEAL command from raising the wrong attribute and getting the client out of wack
This pr was created to address issue #296. To address the mana updates, a mana update message is now sent when self is updated. After changing the |
@@ -1025,9 +1025,9 @@ public static void HandleHeal(Session session, params string[] parameters) | |||
session.Player.Stamina.Current = session.Player.Stamina.UnbuffedValue; | |||
session.Player.Mana.Current = session.Player.Mana.UnbuffedValue; | |||
|
|||
var updatePlayersHealth = new GameMessagePrivateUpdateAttribute2ndLevel(session, Vital.Health, session.Player.Health.Current); | |||
var updatePlayersStamina = new GameMessagePrivateUpdateAttribute2ndLevel(session, Vital.Stamina, session.Player.Stamina.Current); | |||
var updatePlayersMana = new GameMessagePrivateUpdateAttribute2ndLevel(session, Vital.Mana, session.Player.Mana.Current); |
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.
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.
Investigate issue as a sequence error
…ences will be investigated next.
@heal
command changeThis reverts commit 7109c90.
Mana
points after spending experience points onSelf
.@heal
command may prevent vitals increasing.