mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10834] Cleanup shapeshift form code.
This commit is contained in:
parent
c3254c88ca
commit
4c02094737
10 changed files with 56 additions and 53 deletions
|
|
@ -3014,7 +3014,7 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
|
|||
// Druid Forms Trinket
|
||||
if (auraSpellInfo->Id==37336)
|
||||
{
|
||||
switch(m_form)
|
||||
switch(GetShapeshiftForm())
|
||||
{
|
||||
case FORM_NONE: trigger_spell_id = 37344;break;
|
||||
case FORM_CAT: trigger_spell_id = 37341;break;
|
||||
|
|
@ -3029,7 +3029,7 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
|
|||
// Druid T9 Feral Relic (Lacerate, Swipe, Mangle, and Shred)
|
||||
else if (auraSpellInfo->Id==67353)
|
||||
{
|
||||
switch(m_form)
|
||||
switch(GetShapeshiftForm())
|
||||
{
|
||||
case FORM_CAT: trigger_spell_id = 67355; break;
|
||||
case FORM_BEAR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue