*Do not trigger spells with triggers with scripts. This fixes the bug that shadow fissure of Kel'thuzad deals damage without delay.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-09 16:18:08 -05:00
parent 2625b4b6c6
commit 63c07a5767
6 changed files with 30 additions and 5 deletions
+9
View File
@@ -75,5 +75,14 @@ class TRINITY_DLL_DECL CritterAI : public PassiveAI
void EnterEvadeMode();
};
class TRINITY_DLL_DECL TriggerAI : public NullCreatureAI
{
public:
explicit TriggerAI(Creature *c) : NullCreatureAI(c), casted(false) {}
void UpdateAI(const uint32);
private:
bool casted;
};
#endif