Implement AA timers reset on death

This is a field in the packet, live only uses this for Lay on Hands

Currently I didn't add this to the packet since it has 0 effect on the
client.

We could move this field to aa_ranks which would give more flexibility
for custom servers, but no one said they wanted it there.
This commit is contained in:
Michael Cook (mackal)
2020-02-06 14:20:18 -05:00
parent 13c2df7eb1
commit 2f5909d4cb
12 changed files with 37 additions and 8 deletions
+1
View File
@@ -838,6 +838,7 @@ public:
void SendAlternateAdvancementTimers();
void ResetAlternateAdvancementTimer(int ability);
void ResetAlternateAdvancementTimers();
void ResetOnDeathAlternateAdvancement();
void SetAAPoints(uint32 points) { m_pp.aapoints = points; SendAlternateAdvancementStats(); }
void AddAAPoints(uint32 points) { m_pp.aapoints += points; SendAlternateAdvancementStats(); }