mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[9914] Add script effect of spell 51864, 51889 and 51910
In addition, dummy effect of spell 51866 and 51872 and dummy aura effect of spell 51870. Dummy effect of 51866 might need additional work (see comments). Code expect additional spell cast by AI (summon dummy at death of related quest target creatures). Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
fab9a3ae96
commit
628f11e1a7
3 changed files with 111 additions and 1 deletions
|
|
@ -2488,6 +2488,16 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
m_target->CastSpell(m_target, 47287, true, NULL, this);
|
||||
return;
|
||||
}
|
||||
case 51870: // Collect Hair Sample
|
||||
{
|
||||
if (Unit* pCaster = GetCaster())
|
||||
{
|
||||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT)
|
||||
pCaster->CastSpell(m_target, 51872, true, NULL, this);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
case 58600: // Restricted Flight Area
|
||||
{
|
||||
// Remove Flight Auras
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue