Advertisement
Guest User

Utils.cs

a guest
Dec 13th, 2020
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.97 KB | None | 0 0
  1. using Turbo.Plugins.Default;
  2.  
  3. namespace Turbo.Plugins.Miqui
  4. {
  5.  
  6.     public static class Utils
  7.     {
  8.         public const int TICKS_PER_SECOND = 60;
  9.  
  10.         public const double PAIN_ENHANCER_RANGE = 20.0; // Yards
  11.         public const double PAIN_ENHANCER_ATTACK_SPEED_PER_TARGET = 3.0; // Aps
  12.  
  13.         // Attack speed buffs
  14.         public const int LAWS_OF_VALOR_PASSIVE_BUFF = 8;
  15.         public const int LAWS_OF_VALOR_ACTIVE_BUFF = 7;
  16.         public const int BIG_BAD_VOODOO_BUFF = 15;
  17.         public const int PARAGON_ATTACK_SPEED_BUFF = 10;
  18.         public const int SPEED_PYLON_ATTACK_SPEED_BUFF = 30;
  19.         public const int SEIZE_THE_INITIATIVE_ATTACK_SPEED_BUFF = 30;
  20.         public const int FERVOR_ATTACK_SPEED_BUFF = 15;
  21.     }
  22.  
  23.     public static class EquipExtension
  24.     {
  25.         public static bool IsEquipped(this ItemLocation location)
  26.         {
  27.             return location >= ItemLocation.Head && location <= ItemLocation.Neck;
  28.         }
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement