Implement generic script loaders to greatly reduce code duplication

This commit is contained in:
hondacrx
2017-07-20 19:43:24 -04:00
parent 19220d29d9
commit 2db988576a
89 changed files with 28255 additions and 36473 deletions
+1 -6
View File
@@ -313,7 +313,7 @@ namespace Scripts.World
{
FactionTemplateRecord pFaction = creature.GetFactionTemplateEntry();
if (pFaction != null)
{
{
uint Spell = 0;
switch (pFaction.Faction)
@@ -737,11 +737,6 @@ namespace Scripts.World
return false;
}
}
public override GameObjectAI GetAI(GameObject go)
{
return new go_soulwellAI(go);
}
}
[Script] //go_dragonflayer_cage