mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8439"
|
||||
#define REVISION_NR "8440"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue