mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[11387] Add dummy and script effect of spell 45958 and dummy aura of spell 45963
Thanks dpedroia15 for parts of 45958. Note: spell 45958 may be processed further with DB table spell_scripts. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
84482b81ac
commit
c4f2b30205
3 changed files with 29 additions and 1 deletions
|
|
@ -1973,6 +1973,14 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
case 43873: // Headless Horseman Laugh
|
||||
target->PlayDistanceSound(11965);
|
||||
return;
|
||||
case 45963: // Call Alliance Deserter
|
||||
{
|
||||
// Escorting Alliance Deserter
|
||||
if (target->GetMiniPet())
|
||||
target->CastSpell(target, 45957, true);
|
||||
|
||||
return;
|
||||
}
|
||||
case 46699: // Requires No Ammo
|
||||
if (target->GetTypeId() == TYPEID_PLAYER)
|
||||
// not use ammo and not allow use
|
||||
|
|
@ -2378,6 +2386,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
target->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
return;
|
||||
}
|
||||
case 45963: // Call Alliance Deserter
|
||||
{
|
||||
// Escorting Alliance Deserter
|
||||
target->RemoveAurasDueToSpell(45957);
|
||||
return;
|
||||
}
|
||||
case 46308: // Burning Winds
|
||||
{
|
||||
// casted only at creatures at spawn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue