mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10467] Implement proper triggering for spell 34477, 57934
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also fixed charges amount (1) for main spell auras.
This commit is contained in:
parent
4d30b464b4
commit
7785daf2f9
3 changed files with 47 additions and 9 deletions
|
|
@ -1634,6 +1634,13 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
triggered_spell_id = 32747;
|
||||
break;
|
||||
}
|
||||
// Tricks of the trade
|
||||
case 57934:
|
||||
{
|
||||
triggered_spell_id = 59628; // 6 sec buff on self
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// Cut to the Chase
|
||||
if (dummySpell->SpellIconID == 2909)
|
||||
|
|
@ -1737,6 +1744,13 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
pVictim->CastSpell(pVictim, 57894, true, NULL, NULL, GetGUID());
|
||||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
// Misdirection
|
||||
else if(dummySpell->Id == 34477)
|
||||
{
|
||||
triggered_spell_id = 35079; // 4 sec buff on self
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_PALADIN:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue