mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
@@ -6145,31 +6145,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
}
|
||||
break;
|
||||
}
|
||||
// Item - Shaman T10 Elemental 2P Bonus
|
||||
case 70811:
|
||||
{
|
||||
// Lightning Bolt & Chain Lightning
|
||||
if (procSpell->SpellFamilyFlags[0] & 0x3)
|
||||
{
|
||||
if (ToPlayer()->HasSpellCooldown(16166))
|
||||
{
|
||||
uint32 newCooldownDelay = ToPlayer()->GetSpellCooldownDelay(16166);
|
||||
if (newCooldownDelay < 3)
|
||||
newCooldownDelay = 0;
|
||||
else
|
||||
newCooldownDelay -= 2;
|
||||
ToPlayer()->AddSpellCooldown(16166, 0, uint32(time(NULL) + newCooldownDelay));
|
||||
|
||||
WorldPacket data(SMSG_MODIFY_COOLDOWN, 4+8+4);
|
||||
data << uint32(16166); // Spell ID
|
||||
data << uint64(GetGUID()); // Player GUID
|
||||
data << int32(-2000); // Cooldown mod in milliseconds
|
||||
ToPlayer()->GetSession()->SendPacket(&data);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// Item - Shaman T10 Elemental 4P Bonus
|
||||
case 70817:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user