Jump to content

Anti

Members
  • Posts

    81
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Anti

  1. I think here is more right way, cauze we don't need here case for shamy.

    diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
    index 166cbaa..cc4e581 100644
    --- a/src/game/Unit.cpp
    +++ b/src/game/Unit.cpp
    @@ -8685,19 +8685,6 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
                                    return true;
                            }
                            break;
    -                    case SPELLFAMILY_SHAMAN:
    -                        // Lava Burst
    -                        if (spellProto->SpellFamilyFlags & UI64LIT(0x0000100000000000))
    -                        {
    -                            if (Aura *flameShock = pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, UI64LIT(0x0000000010000000), 0, GetGUID()))
    -                            {
    -                                // Consume shock aura if not have Glyph of Flame Shock
    -                                if (!GetAura(55447, 0))
    -                                    pVictim->RemoveAurasByCasterSpell(flameShock->GetId(), GetGUID());
    -                                return true;
    -                            }
    -                        }
    -                        break;
                    }
                }
                break;
    

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use