#include "StdAfx.h" //#include "Setup.h" // PushasTest - push the learning to the limit class PushasTest : public CreatureAIScript { public: PushasTest(Creature* pCreature) : CreatureAIScript(pCreature) {} void OnCombatStart(Unit* mTarget) { _unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "Pusha you'r killing me slowly!"); } void Destroy() { delete (PushasTest*)this; } static CreatureAIScript *Create(Creature * c) { return new PushasTest(c); } }; CreatureAIScript * create_PushasTest(Creature * c) { return new PushasTest(c); } void SetupPusha(ScriptMgr * mgr) { mgr->register_creature_script(644, &PushasTest::Create); }