*fix Lady Vashj

*fix Toxic Sporebat's Toxic Pool spell

--HG--
branch : trunk
This commit is contained in:
Rat
2009-08-03 01:12:05 +02:00
parent 249b2e4381
commit f166fa145f
2 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
UPDATE `creature_template` SET `minlevel`='80' WHERE (`entry`='22207');
UPDATE `creature_template` SET `maxlevel`='80' WHERE (`entry`='22207');
UPDATE `creature_template` SET `faction_A`='14' WHERE (`entry`='22207');
UPDATE `creature_template` SET `faction_H`='14' WHERE (`entry`='22207');
UPDATE `creature_template` SET `flags_extra`='128' WHERE (`entry`='22207');

View File

@@ -287,11 +287,11 @@ struct TRINITY_DLL_DECL boss_lady_vashjAI : public ScriptedAI
//if(who->HasStealthAura())
// who->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
if(Phase != 2)
AttackStart(who);
if(!m_creature->isInCombat())
if(!m_creature->isInCombat())//AttackStart() sets UNIT_FLAG_IN_COMBAT, so this msut be before attacking
StartEvent();
if(Phase != 2)
AttackStart(who);
}
}
}