mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
[8440] Reset cooldown for triggred spell 61848 before it casting.
This is second case simialr hack, maybe possible find more nice way for this...
This commit is contained in:
parent
4d413e4a87
commit
c9f475dfa0
2 changed files with 7 additions and 1 deletions
|
|
@ -5711,7 +5711,13 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
|||
}
|
||||
// Aspect of the Dragonhawk dodge
|
||||
else if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
|
||||
{
|
||||
spellId1 = 61848;
|
||||
|
||||
// triggered spell have same category as main spell and cooldown
|
||||
if (apply && m_target->GetTypeId()==TYPEID_PLAYER)
|
||||
((Player*)m_target)->RemoveSpellCooldown(61848);
|
||||
}
|
||||
else
|
||||
return;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue