mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9096] Implement periodic dummy aura for spell 52441
Note speed is not really reduced as expected, this need correction in other parts of code. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
65c12d4998
commit
56407bdb32
3 changed files with 9 additions and 1 deletions
|
|
@ -7294,6 +7294,9 @@ void Aura::PeriodicDummyTick()
|
|||
case 50824: // Summon earthen dwarf
|
||||
m_target->CastSpell(m_target, roll_chance_i(50) ? 50825 : 50826, true, NULL, this);
|
||||
return;
|
||||
case 52441: // Cool Down
|
||||
m_target->CastSpell(m_target, 52443, true);
|
||||
return;
|
||||
// Exist more after, need add later
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1361,6 +1361,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
(spellInfo_2->Id == 23170 && spellInfo_1->Id == 23171) )
|
||||
return false;
|
||||
|
||||
// Cool Down (See PeriodicAuraTick())
|
||||
if ((spellInfo_1->Id == 52441 && spellInfo_2->Id == 52443) ||
|
||||
(spellInfo_2->Id == 52441 && spellInfo_1->Id == 52443))
|
||||
return false;
|
||||
|
||||
// See Chapel Invisibility and See Noth Invisibility
|
||||
if( (spellInfo_1->Id == 52950 && spellInfo_2->Id == 52707) ||
|
||||
(spellInfo_2->Id == 52950 && spellInfo_1->Id == 52707) )
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9095"
|
||||
#define REVISION_NR "9096"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue