@Animagus, сервер давно перестал синхронизировать руны через пакет SMSG_RESYNC_RUNES?
- - - Updated - - -
fix:
PHP код:
void Player::ResyncRunes() const
{
if (GetClass() != CLASS_DEATH_KNIGHT)
return;
WorldPackets::Spells::ResyncRunes packet;
packet.Count = MAX_RUNES;
for (uint32 itr = 0; itr < MAX_RUNES; ++itr)
{
WorldPackets::Spells::ResyncRune resyncRune;
resyncRune.RuneType = GetCurrentRune(itr);
resyncRune.Cooldown = uint8(255) - uint8(GetRuneCooldown(itr) * uint32(255) / uint32(RUNE_BASE_COOLDOWN)); // cooldown time (0-255)
packet.Runes.emplace_back(resyncRune);
}
SendDirectMessage(packet.Write());
}