#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