Jump to content

[patch][5722] Channel Interruption


Guest thenecromancer

Recommended Posts

rev 5322

this code makes only little sense - first at all, vanish cannot free from disorient effect and also it is not channeled at all :S

also root effects shouldn't iterrupt channeling, that makes no sense - don't know if it is related to ranged weapon failing when rooted.. probably not

Index: game/Spell.cpp
===================================================================
--- game/Spell.cpp        (revision 5322)
+++ game/Spell.cpp        (working copy)
@@ -1987,8 +1987,7 @@

                                        // check for incapacitating player states
                                        //Player can use vanish even if he is incapacitated
-                                        if( m_caster->hasUnitState(UNIT_STAT_STUNDED | UNIT_STAT_ROOT | UNIT_STAT_CONFUSED) &&
-                                                !(m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE && m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_VANISH))
+                                        if( m_caster->hasUnitState(UNIT_STAT_STUNDED | UNIT_STAT_CONFUSED))
                                                cancel();

                                        // check if player has turned if flag is set

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month 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