#W# Added AntiMacro setting in Settings.cs

This commit is contained in:
WarrentyExpired 2026-08-25 19:50:48 -04:00
parent 2240e623c7
commit 48c489a256
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;
}
}