Core/Auras: Implemented SPELL_AURA_MOD_CHARGE_RECOVERY_RATE, SPELL_AURA_MOD_CHARGE_RECOVERY_RATE_BY_TYPE_MASK and SPELL_AURA_MOD_CHARGE_RECOVERY_BY_TYPE_MASK
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa75f635669df6f0aab4abef074f9e8da4b5bf06)
This commit is contained in:
@@ -527,6 +527,25 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
}
|
||||
|
||||
class UpdateChargeCategoryCooldown : ServerPacket
|
||||
{
|
||||
public uint Category;
|
||||
public float ModChange = 1.0f;
|
||||
public float ModRate = 1.0f;
|
||||
public bool Snapshot;
|
||||
|
||||
public UpdateChargeCategoryCooldown() : base(ServerOpcodes.UpdateChargeCategoryCooldown) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteUInt32(Category);
|
||||
_worldPacket.WriteFloat(ModChange);
|
||||
_worldPacket.WriteFloat(ModRate);
|
||||
_worldPacket.WriteBit(Snapshot);
|
||||
_worldPacket.FlushBits();
|
||||
}
|
||||
}
|
||||
|
||||
public class SpellCooldownPkt : ServerPacket
|
||||
{
|
||||
public SpellCooldownPkt() : base(ServerOpcodes.SpellCooldown, ConnectionType.Instance) { }
|
||||
|
||||
Reference in New Issue
Block a user