mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-15 23:50:38 +00:00
SPELL_AURA_REFRESH is 4.3.4's "same spell in the slot, duration updated". Aura::Source gains a Refreshed change: the player's SMSG_UPDATE_AURA_DURATION for an occupied slot whose duration was already known (an application's packet comes before the descriptor write, so its slot reads empty; the login burst — Map::ExistingPlayerLogin, the one path that re-sends every duration — finds no earlier duration because the table is cleared with the glue screen), and for other units the recast the cache refreshed or a server refresh mechanic it mirrors. Pending refreshes resolve at the world tick against the descriptor, so a slot that changed hands in the same tick is an application, not a refresh. The tick-speed compression nudge and duration reductions do not count. Overkill and overhealing follow 4.3.4's predicted health. The server sends each damage and heal message before the tick's health update, so the target still shows the health before it (verified live: 148, 113, 91, 63, 37, 10 under Fireballs of 34, 22, 27, 26, 27, then the kill); the messages since the field was last read are kept as a delta so a tick's second hit counts its first. A unit whose health the server hides (maximum 100, the stock ShowHealthValues setting) gets 0. Verified live: Frost Armor recast -> SPELL_AURA_REFRESH, nothing at login or on a zone change; a 772 Fireball on a 194-health boar -> overkill 578.