mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[Hitpoints] Remove HP Update Throttling (#1517)
* Remove HP update throttling and increase HP update resolution and accuracy * Make some log statements detail * Add better logging messages * Remove old self update throttle block check preventing updates to self
This commit is contained in:
@@ -119,8 +119,9 @@ bool Client::Process() {
|
||||
|
||||
// SendHPUpdate calls hpupdate_timer.Start so it can delay this timer, so lets not reset with the check
|
||||
// since the function will anyways
|
||||
if (hpupdate_timer.Check(false))
|
||||
if (hpupdate_timer.Check(false)) {
|
||||
SendHPUpdate();
|
||||
}
|
||||
|
||||
/* I haven't naturally updated my position in 10 seconds, updating manually */
|
||||
if (!is_client_moving && position_update_timer.Check()) {
|
||||
@@ -466,7 +467,7 @@ bool Client::Process() {
|
||||
if (gravity_timer.Check())
|
||||
DoGravityEffect();
|
||||
}
|
||||
|
||||
|
||||
if (shield_timer.Check()) {
|
||||
ShieldAbilityFinish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user