*Remove some unused scripts and add a missing scriptname to full sql.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-17 18:00:17 -05:00
parent cbc375b895
commit 3d43b9a612
3 changed files with 3 additions and 22 deletions
@@ -195,10 +195,10 @@ CreatureAI* GetAI_trigger_periodic(Creature *_Creature)
void AddSC_generic_creature()
{
Script *newscript;
newscript = new Script;
/*newscript = new Script;
newscript->Name="generic_creature";
newscript->GetAI = &GetAI_generic_creature;
newscript->RegisterSelf();
newscript->RegisterSelf();*/
newscript = new Script;
newscript->Name="trigger_periodic";
@@ -86,26 +86,11 @@ struct TRINITY_DLL_DECL boss_broggokAI : public ScriptedAI
}
};
struct TRINITY_DLL_DECL mob_broggok_poisoncloudAI : public ScriptedAI
{
mob_broggok_poisoncloudAI(Creature *c) : ScriptedAI(c) {Reset();}
void Reset() { }
void MoveInLineOfSight(Unit *who) { }
void AttackStart(Unit *who) { }
void EnterCombat(Unit* who) { }
};
CreatureAI* GetAI_boss_broggok(Creature *_Creature)
{
return new boss_broggokAI (_Creature);
}
CreatureAI* GetAI_mob_broggok_poisoncloud(Creature *_Creature)
{
return new mob_broggok_poisoncloudAI (_Creature);
}
void AddSC_boss_broggok()
{
Script *newscript;
@@ -113,9 +98,4 @@ void AddSC_boss_broggok()
newscript->Name = "boss_broggok";
newscript->GetAI = &GetAI_boss_broggok;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "mob_broggok_poisoncloud";
newscript->GetAI = &GetAI_mob_broggok_poisoncloud;
newscript->RegisterSelf();
}