Jump to content

[patch 8967] Rend and Tear


Recommended Posts

Posted
i've trying to apply patch on clean mangos... http://paste2.org/p/565237

but it fails on compilation

2>..\\..\\src\\game\\SpellEffects.cpp(4782) : error C2065: 'AURA_STATE_BLEEDING' : undeclared identifier

2>..\\..\\src\\game\\Unit.cpp(9550) : error C2065: 'AURA_STATE_BLEEDING' : undeclared identifier

oh.. you are totally right, it doesn't compile on clean mangos. I forgot that aura state is not yet implemented on clean.

Will update momentarily. Thanks.

EDIT:

http://paste2.org/p/565788

Updated, aurastate added, patch updated in first post too.

Posted

i'm not expert but i was wondering: do those 2 statements are equal?

          // Mechanic bleed aura state
          if(GetAllSpellMechanicMask(m_spellProto) & (1 << (MECHANIC_BLEED-1)))
              m_target->ModifyAuraState(AURA_STATE_BLEEDING, true);

          // Bleeding aura state
          if(GetEffectMechanic(m_spellProto, m_effIndex) == MECHANIC_BLEED)
              m_target->ModifyAuraState(AURA_STATE_BLEEDING, true);

  • 2 months later...
  • 2 months later...
×
×
  • 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