From 2de87eaaabf26daa5394fbbc2f95e6cf47b416fc Mon Sep 17 00:00:00 2001 From: tobmaps Date: Sat, 28 May 2011 16:51:36 +0700 Subject: DB/SAI: Convert Spore cpp script to SAI. Tnx malcrom for SAI Closes #1630 --- .../scripts/Northrend/Naxxramas/boss_loatheb.cpp | 28 ---------------------- 1 file changed, 28 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp index 63a7d69baa8..a615f7437c5 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_loatheb.cpp @@ -92,35 +92,7 @@ public: }; -enum SporeSpells -{ - SPELL_FUNGAL_CREEP = 29232 -}; - -class mob_loatheb_spore : public CreatureScript -{ -public: - mob_loatheb_spore() : CreatureScript("mob_loatheb_spore") { } - - CreatureAI* GetAI(Creature* pCreature) const - { - return new mob_loatheb_sporeAI (pCreature); - } - - struct mob_loatheb_sporeAI : public ScriptedAI - { - mob_loatheb_sporeAI(Creature *c) : ScriptedAI(c) {} - - void JustDied(Unit* killer) - { - DoCast(killer, SPELL_FUNGAL_CREEP); - } - }; - -}; - void AddSC_boss_loatheb() { new boss_loatheb(); - new mob_loatheb_spore(); } -- cgit v1.2.3