Guest
Public paste!

Vashj fix

By: a guest | Mar 19th, 2010 | Syntax: C++ | Size: 0.61 KB | Hits: 84 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. --- boss_lady_vashj_TOD.cpp     Wt sty 19 21:22:26 2010
  2. +++ boss_lady_vashj2.cpp        So mar 20 02:43:42 2010
  3. @@ -379,14 +379,16 @@
  4.              }
  5.          }
  6.          //to prevent abuses during phase 2
  7. -        if(Phase == 2 && !m_creature->getVictim() && InCombat)
  8. +        if(Phase == 2 && !m_creature->SelectVictim() && InCombat)
  9.          {
  10.              EnterEvadeMode();
  11.              return;
  12.          }
  13.          //Return since we have no target
  14. -        if (!UpdateVictim() )
  15. -            return;
  16. +       if (Phase != 2){
  17. +               if (!UpdateVictim() )
  18. +                       return;
  19. +       }
  20.  
  21.          // Paralyze effect
  22.          if(Phase == 2)