Implement generic script loaders to greatly reduce code duplication
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user