-->
:: RunUo.Korean.Forum > About RunUo
¹®¼­ÁÖ¼Ò : http://runuo.co.kr/forum/viewtopic.php?t=256

¡Ø TOPIC TITLE : ¾ÈƼ ¸ÞÅ©·Î¿¡ ´ëÇØ...


Á¦  ¸ñ : ¾ÈƼ ¸ÞÅ©·Î¿¡ ´ëÇØ...
¾ÆÀ̵ð: GangPung - 2004-02-10 È­ 4:24 pm
Scripts\Misc\SkillCheck.cs

ÄÚµå : 

      private const bool AntiMacroCode = true;      //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
      private const int LocationSize = 5; //The size of eeach location, make this smaller so players dont have to move as far
      private static bool[] UseAntiMacro = new bool[]
      {
         // true if this skill uses the anti-macro code, false if it does not
         false,// Alchemy = 0,
         true,// Anatomy = 1,
...
...
...


ÄÚµå : 

private const bool AntiMacroCode = true;

¸ÞÅ©·Î üũ ¼³Á¤¿©ºÎ true üũ, false´Â üũÇÏÁö¾ÊÀ½.

ÄÚµå : 

public static TimeSpan AntiMacroExpire = TimeSpan.FromMinutes( 5.0 );

¸ÞÅ©·Î üũ µô·¹ÀÌ, ÇÑÀÚ¸®, ÁÂÇ¥»ó ÇϳªÀÇ Å¸ÄÏÀ» °è¼ÓÇØ¼­ ½ºÅ³À» »ç¿ëÇϴ°Ϳ¡ ´ëÇÑ µô·¹À̸¦ üũÇÕ´Ï´Ù.

ÄÚµå : 

public const int Allowance = 3;

¸î¹øÀÇ Å¸ÄÏ ¼³Á¤À» Çã°¡ÇÒ°ÍÀÎÁö¿¡ ´ëÇÑ ¿©ºÎ

ÄÚµå : 

private const int LocationSize = 5;

¸Ê »ó¿¡¼­ÀÇ À§Ä¡¿¡ ´ëÇÑ 5ŸÀÏÀÇ ¹üÀ§¿¡¼­ ¹Ýº¹µÇ´Â ½ºÅ³ »ç¿ë¿¡ ´ëÇÑ Ã¼Å©

ÄÚµå : 

      private static bool[] UseAntiMacro = new bool[]
      {
         // true if this skill uses the anti-macro code, false if it does not
         false,// Alchemy = 0,
         true,// Anatomy = 1,
...
...
...

ÀÌÇÏ ºÎºÐÀº °¢ ½ºÅ³¿¡ ´ëÇÑ ¾ÈƼ¸ÞÅ©·Î üũ ´ëÇÑ ¿©ºÎ¸¦ ¼³Á¤ÇÕ´Ï´Ù.
false´Â üũÇÏÁö ¾ÊÀ½, true´Â üũ