diff --git a/Scripts/Misc/SkillCheck.cs b/Scripts/Misc/SkillCheck.cs index c126b6d..efbc115 100644 --- a/Scripts/Misc/SkillCheck.cs +++ b/Scripts/Misc/SkillCheck.cs @@ -7,7 +7,7 @@ namespace Server.Misc { public class SkillCheck { - private static readonly bool AntiMacroCode = !Core.ML; //Change this to false to disable anti-macro code + private static readonly bool AntiMacroCode = Settings.S_NoMacroing; //Change this to false to disable anti-macro code public static TimeSpan AntiMacroExpire = TimeSpan.FromMinutes( 5.0 ); //How long do we remember targets/locations? public const int Allowance = 3; //How many times may we use the same location/target for gain diff --git a/Scripts/Settings.cs b/Scripts/Settings.cs index 0907b1e..b9ee42d 100644 --- a/Scripts/Settings.cs +++ b/Scripts/Settings.cs @@ -23,5 +23,6 @@ namespace Server public static double S_FarmSpawnTimer = 15.0; public static int S_HarvestRange = 1; public static int S_HousesPerAccount = 1; + public static bool S_NoMacroing = false; } }