From ee02a2fc84c564d82a062bd975281a4e4f0fefa0 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 9 Nov 2008 14:54:13 -0600 Subject: [svn] Send AttackStart package when update visibility. Update DoMeleeAttackIfReady to support dual wield. Show player modelid2 instead id3 of triggers. This should fix the bug that gameobject::castspell summon a human model. Remove the correct flag to make creature attackable. This should fix the bug that Illidan and Magtheridon are unattackable. Add NullCreatureAI for trinityscript. Fix channeler's soul transfer. Some update of black temple scripts. --HG-- branch : trunk --- src/game/GameObject.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index fbeb30144bb..595759a5451 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -1282,4 +1282,6 @@ void GameObject::CastSpell(Unit* target, uint32 spell) trigger->setFaction(14); trigger->CastSpell(target, spell, true); } + //trigger->setDeathState(JUST_DIED); + //trigger->RemoveCorpse(); } \ No newline at end of file -- cgit v1.2.3