Enchanter Level 16 Shielding -help
I'm trying to understand what's happening on my server with this spell.
It's spell 309 - Shielding.
When an enchanter casts it on themselves (I'm uising a level 26) I see the inital hit applied (50 in mu case) which based on my db entry is correct. They then heal up to a new max. My char goes from 431 to 481. However, aboutr 1 second after the cast (sometimes less) the max HP goes up again (on the GUI) to 560 (or another 79 points).
I can't see where that is happening or why.
The server #showstats shows current and max HP correctly (at least from server formulas) , so that seems like the server is fine.
But, I just don't see the client doing something 1 second later - its not a buff that does anything on tics. Maybe the GUI thinks that it is and the server would have to match the GUI formula somehow, in ticks or at least the same value. I guess this makes sense, as the max is supposed to be 80. So the GUI is applying tics to the max value displayed on its own perhaps?
I know the server isn't processing anything beyond the first cast, debugfging shows np activity in the process buffs for these effects.
I don't know the flow of packets at all yet. Does the server send packets to the GUI with maxHP value or is teh GUI doing that all on its own? If its the GUI doing it, then the GUI is adding 50, then adding 79. If the server sends up the 50 and then the GUI adds the 80, thats a different problem.
Testing commenting out the server side addition of the 50 now.. but I would appreciate input from anyone that knows how these packets happen for Total_HP.
|