Misc cleanups/Fixes
This commit is contained in:
@@ -540,7 +540,7 @@ namespace Game.Scripting
|
||||
Global.ScriptMgr.AddScript(this);
|
||||
}
|
||||
|
||||
public override bool IsDatabaseBound() { return true; }
|
||||
public override bool IsDatabaseBound() { return false; }
|
||||
|
||||
// Called when an additional criteria is checked.
|
||||
public virtual bool OnCheck(Player source, Unit target) { return false; }
|
||||
|
||||
@@ -168,6 +168,7 @@ namespace Game.Scripting
|
||||
case "GuildScript":
|
||||
case "GroupScript":
|
||||
case "AreaTriggerEntityScript":
|
||||
case "OnlyOnceAreaTriggerScript":
|
||||
case "SceneScript":
|
||||
if (!attribute.Name.IsEmpty())
|
||||
name = attribute.Name;
|
||||
|
||||
Reference in New Issue
Block a user