Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 110.89 KB | None | 0 0
  1. --@Rufus0
  2. --\Taming Sari,Sandung and Thief's Knife/TH+1 weapons options|Ionis=TH+2,TreasureHound=TH+1,Atma of Gale=TH+1 and Escha(JusticeZoneBlessing)=TH+1.|Shijo and Raider's Boomerang are DW options|GreenWyvern Cheer effect/+1haste.
  3. include('organizer-lib')
  4. function get_sets()
  5.     OIndex = 1--THIndex
  6.     OArray = {"O", "O", "O", "O", "O", "O", "O", "O", "O", "O9", "O10", "O11", "O12", "O13", "O14",}--THArray  
  7.     AccuracyIndex = 1
  8.     AccuracyArray = {"TH","DD","THlACC","DDlACC"}--Customizable--(First hit TH mechanic for AccuracyArray 2 and 4 "DD and DDlACC")
  9.     MinimalDTIndex = 1
  10.     MinimalDTArray = {"DT"}
  11.     EvasiveIndex = 1
  12.     EvasiveArray = {"EVA"}
  13.     --CHARGE = false
  14.     SA = false
  15.     TA = false
  16.     --SATAfullWS = false
  17.     --send_command('gs c C3')Evasion
  18.     send_command('bind f9 gs c C1')--Acc
  19.     send_command('bind !f9 gs c C15')--DT (If you toggle to damages taken- then Sneak and Trick Attack at your own risk,,,Death may occur)
  20.     --send_command('gs c TH')THIndex
  21.     select_default_macro_book()
  22. --No sets items
  23. organizer_items={} 
  24. -----------------------------------------------------------------------------------------range/ammo""---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  25. sets.Idle={}
  26. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------                      
  27.     sets.TP = {} sets.TP.O = {}--Leave sets.TP = {} and sets.TP.O = {} empty || EDIT sets.TP.O.TH={} with TH9 preferably /TreasureHunter+5 on gears(+1,+2,+2)
  28. --1,2,3 sets--
  29. sets.TP.O.TH={} --head="TH+1", hands="TH+2", feet="TH+2"-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  30. sets.TP.O.TH.DT={}-------------------------------------------------------------------
  31. sets.TP.O.TH.EVA={}--TH5(DT and EVA)(+1,+2,+2)
  32. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  33. sets.TP.O.DD={}-----------------------------------------------------------------------------------------------------------------------------------------------
  34. --[DD] (DT and EVA)
  35. sets.TP.O.DD.DT=set_combine(sets.TP.O.DD,{})--------------------------------------------------------------------------------------------
  36. sets.TP.O.DD.EVA=set_combine(sets.TP.O.DD,{})---------
  37. ------------------------------------------------------------------------------------------------------------------------------------------------------------           
  38. sets.TP.O.THlACC=set_combine(sets.TP.O.TH,{})--1,2,3(NORMAL,DT,EVA)                                                                               (((ACCURACY)))
  39. sets.TP.O.THlACC.DT=set_combine(sets.TP.O.THlACC, {}) sets.TP.O.THlACC.EVA=set_combine(sets.TP.O.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  40.  
  41. sets.TP.O.DDlACC={}
  42. sets.TP.O.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O.DDlACC.EVA=set_combine(sets.TP.O.DD.EVA, {})  --[DD]--x2 Can separate from same line if editing...
  43. --SET_COMBINEGA------1_TO_9---------------||-------------------------------------------------||---------------------------------------||---------------------------------------------||--------------------------------------------
  44. sets.TP.O9 = set_combine(sets.TP.O.TH,{})--Leave blank (TH+6 on gears) 3sets
  45. sets.TP.O9.TH=set_combine(sets.TP.O9,{})--TH(+1,+3,+2)
  46. sets.TP.O9.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O9.TH.EVA=set_combine(sets.TP.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  47.  
  48. sets.TP.O9.DD=set_combine(sets.TP.O.DD,{})--1,2,3sets
  49. sets.TP.O9.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O9.DD.EVA=set_combine(sets.TP.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  50. sets.TP.O9.THlACC=set_combine(sets.TP.O9.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                        (((ACCURACY)))
  51. sets.TP.O9.THlACC.DT=set_combine(sets.TP.O9.THlACC, {}) sets.TP.O9.THlACC.EVA=set_combine(sets.TP.O9.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  52. sets.TP.O9.DDlACC=set_combine(sets.TP.O9.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                                 (((ACCURACY)))
  53. sets.TP.O9.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O9.DDlACC.EVA=set_combine(sets.TP.O9.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  54. --EDIT-sets.TP.O10.TH---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  55. sets.TP.O10 = set_combine(sets.TP.O9,{})--Leave blank (TH+7 on gears)
  56. sets.TP.O10.TH=set_combine(sets.TP.O10,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's Armlets +2",waist="Chaac Belt",
  57.             feet="Skulker's Poulaines"})--TH(+1,+3,+1,+2)
  58. sets.TP.O10.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O10.TH.EVA=set_combine(sets.TP.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  59.    
  60. sets.TP.O10.DD=set_combine(sets.TP.O9.DD,{head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Floral Gauntlets",})--1,2,3sets
  61. sets.TP.O10.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O10.DD.EVA=set_combine(sets.TP.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  62. sets.TP.O10.THlACC=set_combine(sets.TP.O10.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  63. sets.TP.O10.THlACC.DT=set_combine(sets.TP.O10.THlACC, {}) sets.TP.O10.THlACC.EVA=set_combine(sets.TP.O10.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  64. sets.TP.O10.DDlACC=set_combine(sets.TP.O10.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  65. sets.TP.O10.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O10.DDlACC.EVA=set_combine(sets.TP.O10.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  66. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  67. sets.TP.O11 = set_combine(sets.TP.O10,{})--Leave blank (TH+8 on gears)
  68. sets.TP.O11.TH=set_combine(sets.TP.O11,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's armlets +2",waist="Chaac Belt",
  69.             feet="Skulker's Poulaines +1"})--TH(+1,+3,+1,+3)
  70. sets.TP.O11.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O11.TH.EVA=set_combine(sets.TP.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  71.    
  72. sets.TP.O11.DD=set_combine(sets.TP.O9.DD,{})--1,2,3sets
  73. sets.TP.O11.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O11.DD.EVA=set_combine(sets.TP.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  74. sets.TP.O11.THlACC=set_combine(sets.TP.O11.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  75. sets.TP.O11.THlACC.DT=set_combine(sets.TP.O11.THlACC, {}) sets.TP.O11.THlACC.EVA=set_combine(sets.TP.O11.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  76. sets.TP.O11.DDlACC=set_combine(sets.TP.O11.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  77. sets.TP.O11.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O11.DDlACC.EVA=set_combine(sets.TP.O11.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  78. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  79. sets.TP.O12 = set_combine(sets.TP.O11,{})--Leave blank (TH+9 on gears)
  80. sets.TP.O12.TH=set_combine(sets.TP.O12,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's armlets +3",waist="Chaac Belt",
  81.             feet="Skulker's Poulaines +1"})--TH(+1,+4,+1,+3)
  82. sets.TP.O12.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O12.TH.EVA=set_combine(sets.TP.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  83.    
  84. sets.TP.O12.DD=set_combine(sets.TP.O9.DD,{})--1,2,3sets
  85. sets.TP.O12.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O12.DD.EVA=set_combine(sets.TP.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  86. sets.TP.O12.THlACC=set_combine(sets.TP.O12.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  87. sets.TP.O12.THlACC.DT=set_combine(sets.TP.O12.THlACC, {}) sets.TP.O12.THlACC.EVA=set_combine(sets.TP.O12.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  88. sets.TP.O12.DDlACC=set_combine(sets.TP.O12.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  89. sets.TP.O12.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O12.DDlACC.EVA=set_combine(sets.TP.O12.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  90. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  91. sets.TP.O13 = set_combine(sets.TP.O12,{})--Leave blank (TH+10 on gears)
  92. sets.TP.O13.TH=set_combine(sets.TP.O13,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's armlets +3",
  93.           legs={ name="Herculean Trousers", augments={'"Fast Cast"+3','AGI+13','"Treasure Hunter"+1','Accuracy+4 Attack+4','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},waist="Chaac Belt",feet="Skulker's Poulaines +1"})--TH(+1,+4,+1,+1,+3)
  94. sets.TP.O13.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O13.TH.EVA=set_combine(sets.TP.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  95.    
  96. sets.TP.O13.DD=set_combine(sets.TP.O9.DD,{})--1,2,3sets
  97. sets.TP.O13.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O13.DD.EVA=set_combine(sets.TP.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  98. sets.TP.O13.THlACC=set_combine(sets.TP.O13.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  99. sets.TP.O13.THlACC.DT=set_combine(sets.TP.O13.THlACC, {}) sets.TP.O13.THlACC.EVA=set_combine(sets.TP.O13.THlACC, {}) --[TH]--x2 Can separate from same line if editing...
  100. sets.TP.O13.DDlACC=set_combine(sets.TP.O13.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  101. sets.TP.O13.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O13.DDlACC.EVA=set_combine(sets.TP.O13.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  102. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  103. sets.TP.O14 = set_combine(sets.TP.O13,{})--Leave blank (Full DMGS Gears)
  104. sets.TP.O14.TH=set_combine(sets.TP.O14,{})
  105. sets.TP.O14.TH.DT=set_combine(sets.TP.O.TH.DT, {}) sets.TP.O14.TH.EVA=set_combine(sets.TP.O.TH.EVA, {})
  106. sets.TP.O14.DD=set_combine(sets.TP.O9.DD,{})--1,2,3sets
  107. sets.TP.O14.DD.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O14.DD.EVA=set_combine(sets.TP.O.DD.EVA, {})
  108. sets.TP.O14.THlACC=set_combine(sets.TP.O14.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  109. sets.TP.O14.THlACC.DT=set_combine(sets.TP.O14.THlACC, {}) sets.TP.O14.THlACC.EVA=set_combine(sets.TP.O14.THlACC, {})
  110. sets.TP.O14.DDlACC=set_combine(sets.TP.O14.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  111. sets.TP.O14.DDlACC.DT=set_combine(sets.TP.O.DD.DT, {}) sets.TP.O14.DDlACC.EVA=set_combine(sets.TP.O14.DDlACC, {}) --[DD]--x2 Can separate from same line if editing...
  112. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  113. --Leave sets.TP.MidHaste = {} and sets.TP.MidHaste.O {Blank} || EDIT sets.TP.MidHaste.O.TH with TH9 preferably /TH+5 on gears(+1,+2,+2)    
  114. sets.TP.MidHaste = {} sets.TP.MidHaste.O = set_combine(sets.TP.O.TH,{})--------------------------------------------------------------------------------------------MIDHASTE
  115.    
  116. sets.TP.MidHaste.O.TH=set_combine(sets.TP.MidHaste.O,{})------------------------------------------------------------------------------------------------------------------------------------------------------------------
  117. sets.TP.MidHaste.O.TH.DT=set_combine(sets.TP.MidHaste.O.TH, {})
  118. sets.TP.MidHaste.O.TH.EVA=set_combine(sets.TP.MidHaste.O.TH, {})
  119.            
  120. sets.TP.MidHaste.O.DD=set_combine(sets.TP.O.DD,{})
  121.  
  122. sets.TP.MidHaste.O.DD.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O.DD.EVA=set_combine(sets.TP.O.DD.EVA,{}) --[DD]--x2 Can separate from same line if editing...
  123.            
  124. sets.TP.MidHaste.O.THlACC=set_combine(sets.TP.MidHaste.O.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  125. sets.TP.MidHaste.O.THlACC.DT=set_combine(sets.TP.MidHaste.O.THlACC,{}) sets.TP.MidHaste.O.THlACC.EVA=set_combine(sets.TP.MidHaste.O.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  126. sets.TP.MidHaste.O.DDlACC=set_combine(sets.TP.MidHaste.O.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  127. sets.TP.MidHaste.O.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O.DDlACC.EVA=set_combine(sets.TP.MidHaste.O.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  128. --SET_COMBINEGA------1_TO_9---||-----------------------------------------------------------------||-------------------------------------------------------------------||----------------------------------------------------------
  129. sets.TP.MidHaste.O9 = set_combine(sets.TP.MidHaste.O.TH,{})--Leave blank (TH+6 on gears)
  130. sets.TP.MidHaste.O9.TH=set_combine(sets.TP.MidHaste.O9,{})--TH+(+1,+3,+2)
  131. sets.TP.MidHaste.O9.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT, {}) sets.TP.MidHaste.O9.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA, {}) --[TH]--x2 Can separate from same line if editing...
  132. --head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1",
  133. sets.TP.MidHaste.O9.DD=set_combine(sets.TP.MidHaste.O.DD,{})--1,2,3 sets
  134. sets.TP.MidHaste.O9.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT, {}) sets.TP.MidHaste.O9.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA, {}) --[DD]--x2 Can separate from same line if editing...
  135. sets.TP.MidHaste.O9.THlACC=set_combine(sets.TP.MidHaste.O9.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                      (((ACCURACY)))
  136. sets.TP.MidHaste.O9.THlACC.DT=set_combine(sets.TP.MidHaste.O9.THlACC,{}) sets.TP.MidHaste.O9.THlACC.EVA=set_combine(sets.TP.MidHaste.O9.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  137. sets.TP.MidHaste.O9.DDlACC=set_combine(sets.TP.MidHaste.O9.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                               (((ACCURACY)))
  138. sets.TP.MidHaste.O9.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O9.DDlACC.EVA=set_combine(sets.TP.MidHaste.O9.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  139. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  140. sets.TP.MidHaste.O10 = set_combine(sets.TP.MidHaste.O9,{})--Leave blank (TH+7 on gears)
  141. sets.TP.MidHaste.O10.TH=set_combine(sets.TP.MidHaste.O10,{})--TH(+1,+3,+1,+2)
  142. sets.TP.MidHaste.O10.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT,{}) sets.TP.MidHaste.O10.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA,{}) --[TH]--x2 Can separate from same line if editing...
  143.            
  144. sets.TP.MidHaste.O10.DD=set_combine(sets.TP.MidHaste.O9.DD,{head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1",})--1,2,3 sets
  145. sets.TP.MidHaste.O10.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT,{}) sets.TP.MidHaste.O10.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA,{}) --[DD]--x2 Can separate from same line if editing...
  146. sets.TP.MidHaste.O10.THlACC=set_combine(sets.TP.MidHaste.O10.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                    (((ACCURACY)))
  147. sets.TP.MidHaste.O10.THlACC.DT=set_combine(sets.TP.MidHaste.O10.THlACC,{}) sets.TP.MidHaste.O10.THlACC.EVA=set_combine(sets.TP.MidHaste.O10.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  148. sets.TP.MidHaste.O10.DDlACC=set_combine(sets.TP.MidHaste.O10.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                             (((ACCURACY)))
  149. sets.TP.MidHaste.O10.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O10.DDlACC.EVA=set_combine(sets.TP.MidHaste.O10.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  150. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  151. sets.TP.MidHaste.O11 = set_combine(sets.TP.MidHaste.O10,{})--Leave blank (TH+8 on gears)
  152. sets.TP.MidHaste.O11.TH=set_combine(sets.TP.MidHaste.O11,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},neck="Iskur Gorget",ear1="Dedition Earring",
  153. ear2="Tripudio Earring",body="Adhemar Jacket +1",hands="Plunderer's armlets +2",ring1="Moonlight Ring",ring2="Moonbeam Ring",
  154. back={ name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dual Wield"+10','Magic dmg. taken-10%',}}, waist="Chaac Belt",legs="Sombra Tights +1",feet="Skulker's Poulaines +1"})--TH(+1,+3,+1,+3)
  155. sets.TP.MidHaste.O11.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT,{}) sets.TP.MidHaste.O11.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  156.            
  157. sets.TP.MidHaste.O11.DD=set_combine(sets.TP.MidHaste.O9.DD,{})--1,2,3 sets
  158. sets.TP.MidHaste.O11.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT,{}) sets.TP.MidHaste.O11.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  159. sets.TP.MidHaste.O11.THlACC=set_combine(sets.TP.MidHaste.O11.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                   (((ACCURACY)))
  160. sets.TP.MidHaste.O11.THlACC.DT=set_combine(sets.TP.MidHaste.O11.THlACC,{}) sets.TP.MidHaste.O11.THlACC.EVA=set_combine(sets.TP.MidHaste.O11.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  161. sets.TP.MidHaste.O11.DDlACC=set_combine(sets.TP.MidHaste.O11.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                            (((ACCURACY)))
  162. sets.TP.MidHaste.O11.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O11.DDlACC.EVA=set_combine(sets.TP.MidHaste.O11.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  163. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  164. sets.TP.MidHaste.O12 = set_combine(sets.TP.MidHaste.O11,{})--Leave blank (TH+9 on gears)
  165. sets.TP.MidHaste.O12.TH=set_combine(sets.TP.MidHaste.O12,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},neck="Iskur Gorget",ear1="Dedition Earring",
  166. ear2="Tripudio Earring",body="Adhemar Jacket +1",hands="Plunderer's armlets +3",ring1="Moonlight Ring",ring2="Moonbeam Ring",
  167. back={ name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dual Wield"+10','Magic dmg. taken-10%',}},waist="Chaac Belt",legs="Sombra Tights +1",feet="Skulker's Poulaines +1"})--TH(+1,+4,+1,+3)
  168. sets.TP.MidHaste.O12.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT,{}) sets.TP.MidHaste.O12.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  169.            
  170. sets.TP.MidHaste.O12.DD=set_combine(sets.TP.MidHaste.O9.DD,{})--1,2,3 sets
  171. sets.TP.MidHaste.O12.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT,{}) sets.TP.MidHaste.O12.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  172. sets.TP.MidHaste.O12.THlACC=set_combine(sets.TP.MidHaste.O12.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                   (((ACCURACY)))
  173. sets.TP.MidHaste.O12.THlACC.DT=set_combine(sets.TP.MidHaste.O12.THlACC,{}) sets.TP.MidHaste.O12.THlACC.EVA=set_combine(sets.TP.MidHaste.O12.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  174. sets.TP.MidHaste.O12.DDlACC=set_combine(sets.TP.MidHaste.O12.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                            (((ACCURACY)))
  175. sets.TP.MidHaste.O12.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O12.DDlACC.EVA=set_combine(sets.TP.MidHaste.O12.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  176. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  177. sets.TP.MidHaste.O13 = set_combine(sets.TP.MidHaste.O12,{})--Leave blank (TH+10 on gears)
  178. sets.TP.MidHaste.O13.TH=set_combine(sets.TP.MidHaste.O13,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},neck="Iskur Gorget",ear1="Eabani Earring",
  179. ear2="Tripudio Earring",body="Adhemar Jacket +1",hands="Plunderer's armlets +3",ring1="Moonlight Ring",ring2="Moonbeam Ring",
  180. back={ name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Accuracy+10','"Dual Wield"+10','Magic dmg. taken-10%',}},waist="Chaac Belt",
  181. legs={ name="Herculean Trousers", augments={'"Fast Cast"+3','AGI+13','"Treasure Hunter"+1','Accuracy+4 Attack+4','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},feet="Skulker's Poulaines +1"})--TH(+1,+4,+1,+1,+3)
  182. sets.TP.MidHaste.O13.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT,{}) sets.TP.MidHaste.O13.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  183.  
  184. sets.TP.MidHaste.O13.DD=set_combine(sets.TP.MidHaste.O9.DD,{})--1,2,3, sets
  185. sets.TP.MidHaste.O13.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT,{}) sets.TP.MidHaste.O13.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  186. sets.TP.MidHaste.O13.THlACC=set_combine(sets.TP.MidHaste.O13.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                   (((ACCURACY)))
  187. sets.TP.MidHaste.O13.THlACC.DT=set_combine(sets.TP.MidHaste.O13.THlACC,{}) sets.TP.MidHaste.O13.THlACC.EVA=set_combine(sets.TP.MidHaste.O13.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  188. sets.TP.MidHaste.O13.DDlACC=set_combine(sets.TP.MidHaste.O13.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3sets                                                                                            (((ACCURACY)))
  189. sets.TP.MidHaste.O13.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O13.DDlACC.EVA=set_combine(sets.TP.MidHaste.O13.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  190. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  191. sets.TP.MidHaste.O14 = set_combine(sets.TP.MidHaste.O13,{})--Leave blank (Full DMGS Gears)
  192. sets.TP.MidHaste.O14.TH=set_combine(sets.TP.MidHaste.O14,{})--1,2,3 sets
  193. sets.TP.MidHaste.O14.TH.DT=set_combine(sets.TP.MidHaste.O.TH.DT,{}) sets.TP.MidHaste.O14.TH.EVA=set_combine(sets.TP.MidHaste.O.TH.EVA,{})
  194. sets.TP.MidHaste.O14.DD=set_combine(sets.TP.MidHaste.O9.DD,{})--1,2,3 sets
  195. sets.TP.MidHaste.O14.DD.DT=set_combine(sets.TP.MidHaste.O.DD.DT,{}) sets.TP.MidHaste.O14.DD.EVA=set_combine(sets.TP.MidHaste.O.DD.EVA,{})
  196. sets.TP.MidHaste.O14.THlACC=set_combine(sets.TP.MidHaste.O14.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3 sets                                                                  (((ACCURACY)))
  197. sets.TP.MidHaste.O14.THlACC.DT=set_combine(sets.TP.MidHaste.O14.THlACC,{}) sets.TP.MidHaste.O14.THlACC.EVA=set_combine(sets.TP.MidHaste.O14.THlACC,{})
  198. sets.TP.MidHaste.O14.DDlACC=set_combine(sets.TP.MidHaste.O14.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3 sets                                                                                           (((ACCURACY)))
  199. sets.TP.MidHaste.O14.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.MidHaste.O14.DDlACC.EVA=set_combine(sets.TP.MidHaste.O14.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  200. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  201. --Leave sets.TP.HighHaste = {} and sets.TP.HighHaste.O {Blank} || EDIT sets.TP.HighHaste.O.TH with TH9 preferably /TH+5 on gears(+1,+2,+2)
  202. sets.TP.HighHaste = {} sets.TP.HighHaste.O = set_combine(sets.TP.O.TH,{})----------------------------------------------------------------------------------------------------HIGHASTE
  203.    
  204. sets.TP.HighHaste.O.TH=set_combine(sets.TP.HighHaste.O,{})-------------------------------------------------------------------------------------------------------
  205. sets.TP.HighHaste.O.TH.DT=set_combine(sets.TP.HighHaste.O.TH,{})
  206. sets.TP.HighHaste.O.TH.EVA=set_combine(sets.TP.HighHaste.O.TH,{})
  207.    
  208. sets.TP.HighHaste.O.DD=set_combine(sets.TP.O.DD,{})
  209.  
  210. sets.TP.HighHaste.O.DD.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O.DD.EVA=set_combine(sets.TP.O.DD.EVA,{}) --[DD]--x2 Can separate from same line if editing...
  211.            
  212. sets.TP.HighHaste.O.THlACC=set_combine(sets.TP.HighHaste.O.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                       (((ACCURACY)))
  213. sets.TP.HighHaste.O.THlACC.DT=set_combine(sets.TP.HighHaste.O.THlACC,{}) sets.TP.HighHaste.O.THlACC.EVA=set_combine(sets.TP.HighHaste.O.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  214. sets.TP.HighHaste.O.DDlACC=set_combine(sets.TP.HighHaste.O.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                                (((ACCURACY)))
  215. sets.TP.HighHaste.O.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O.DDlACC.EVA=set_combine(sets.TP.HighHaste.O.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  216. --SET_COMBINEGA------1_TO_9-----||-------------------------------------------------------------------||---------------------------------------------------------------------||------------------------------------------------------
  217. sets.TP.HighHaste.O9 = set_combine(sets.TP.HighHaste.O.TH,{})--Leave blank (TH+6 on gears)
  218. sets.TP.HighHaste.O9.TH=set_combine(sets.TP.HighHaste.O9,{})--TH(+1,+3,+2)
  219. sets.TP.HighHaste.O9.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O9.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  220. --head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1",  
  221. sets.TP.HighHaste.O9.DD=set_combine(sets.TP.HighHaste.O.DD,{})--1,2,3 sets
  222. sets.TP.HighHaste.O9.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O9.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  223. sets.TP.HighHaste.O9.THlACC=set_combine(sets.TP.HighHaste.O9.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                     (((ACCURACY)))
  224. sets.TP.HighHaste.O9.THlACC.DT=set_combine(sets.TP.HighHaste.O9.THlACC,{}) sets.TP.HighHaste.O9.THlACC.EVA=set_combine(sets.TP.HighHaste.O9.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  225. sets.TP.HighHaste.O9.DDlACC=set_combine(sets.TP.HighHaste.O9.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                              (((ACCURACY)))
  226. sets.TP.HighHaste.O9.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O9.DDlACC.EVA=set_combine(sets.TP.HighHaste.O9.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  227. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  228. sets.TP.HighHaste.O10 = set_combine(sets.TP.HighHaste.O9,{})--Leave blank (TH+7 on gears)
  229. sets.TP.HighHaste.O10.TH=set_combine(sets.TP.HighHaste.O10,{})--TH(+1,+3,+1,+2)
  230. sets.TP.HighHaste.O10.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O10.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  231.            
  232. sets.TP.HighHaste.O10.DD=set_combine(sets.TP.HighHaste.O9.DD,{head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1",})--1,2,3 sets
  233. sets.TP.HighHaste.O10.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O10.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  234. sets.TP.HighHaste.O10.THlACC=set_combine(sets.TP.HighHaste.O10.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                     (((ACCURACY)))
  235. sets.TP.HighHaste.O10.THlACC.DT=set_combine(sets.TP.HighHaste.O10.THlACC,{}) sets.TP.HighHaste.O10.THlACC.EVA=set_combine(sets.TP.HighHaste.O10.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  236. sets.TP.HighHaste.O10.DDlACC=set_combine(sets.TP.HighHaste.O10.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                              (((ACCURACY)))
  237. sets.TP.HighHaste.O10.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O10.DDlACC.EVA=set_combine(sets.TP.HighHaste.O10.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  238. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  239. sets.TP.HighHaste.O11 = set_combine(sets.TP.HighHaste.O10,{})--Leave blank (TH+8 on gears)
  240. sets.TP.HighHaste.O11.TH=set_combine(sets.TP.HighHaste.O11,{})--TH(+1,+3,+1,+3)
  241. sets.TP.HighHaste.O11.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O11.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  242.            
  243. sets.TP.HighHaste.O11.DD=set_combine(sets.TP.HighHaste.O9.DD,{})--1,2,3 sets
  244. sets.TP.HighHaste.O11.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O11.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  245. sets.TP.HighHaste.O11.THlACC=set_combine(sets.TP.HighHaste.O11.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                     (((ACCURACY)))
  246. sets.TP.HighHaste.O11.THlACC.DT=set_combine(sets.TP.HighHaste.O11.THlACC,{}) sets.TP.HighHaste.O11.THlACC.EVA=set_combine(sets.TP.HighHaste.O11.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  247. sets.TP.HighHaste.O11.DDlACC=set_combine(sets.TP.HighHaste.O11.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                              (((ACCURACY)))
  248. sets.TP.HighHaste.O11.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O11.DDlACC.EVA=set_combine(sets.TP.HighHaste.O11.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  249. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  250. sets.TP.HighHaste.O12 = set_combine(sets.TP.HighHaste.O11,{})--Leave blank (TH+9 on gears)
  251. sets.TP.HighHaste.O12.TH=set_combine(sets.TP.HighHaste.O12,{})--TH(+1,+4,+1,+3)
  252. sets.TP.HighHaste.O12.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O12.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  253.            
  254. sets.TP.HighHaste.O12.DD=set_combine(sets.TP.HighHaste.O9.DD,{})--1,2,3 sets
  255. sets.TP.HighHaste.O12.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O12.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  256. sets.TP.HighHaste.O12.THlACC=set_combine(sets.TP.HighHaste.O12.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                     (((ACCURACY)))
  257. sets.TP.HighHaste.O12.THlACC.DT=set_combine(sets.TP.HighHaste.O12.THlACC,{}) sets.TP.HighHaste.O12.THlACC.EVA=set_combine(sets.TP.HighHaste.O12.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  258. sets.TP.HighHaste.O12.DDlACC=set_combine(sets.TP.HighHaste.O12.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                              (((ACCURACY)))
  259. sets.TP.HighHaste.O12.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O12.DDlACC.EVA=set_combine(sets.TP.HighHaste.O12.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  260. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  261. sets.TP.HighHaste.O13 = set_combine(sets.TP.HighHaste.O12,{})--Leave blank (TH+10 on gears)
  262. sets.TP.HighHaste.O13.TH=set_combine(sets.TP.HighHaste.O13,{}},feet="Skulker's Poulaines +1",})--TH(+1,+4,+1,+1,+3)
  263. sets.TP.HighHaste.O13.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O13.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})--[TH]--x2 Can separate from same line if editing...
  264.            
  265. sets.TP.HighHaste.O13.DD=set_combine(sets.TP.HighHaste.O9.DD,{})--1,2,3 sets
  266. sets.TP.HighHaste.O13.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O13.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})--[DD]--x2 Can separate from same line if editing...
  267. sets.TP.HighHaste.O13.THlACC=set_combine(sets.TP.HighHaste.O13.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                     (((ACCURACY)))
  268. sets.TP.HighHaste.O13.THlACC.DT=set_combine(sets.TP.HighHaste.O13.THlACC,{}) sets.TP.HighHaste.O13.THlACC.EVA=set_combine(sets.TP.HighHaste.O13.THlACC,{})--[TH]--x2 Can separate from same line if editing...
  269. sets.TP.HighHaste.O13.DDlACC=set_combine(sets.TP.HighHaste.O13.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3                                                                                              (((ACCURACY)))
  270. sets.TP.HighHaste.O13.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O13.DDlACC.EVA=set_combine(sets.TP.HighHaste.O13.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  271. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  272. sets.TP.HighHaste.O14 = set_combine(sets.TP.HighHaste.O13,{})--Leave blank (Full DMGS Gears)
  273. sets.TP.HighHaste.O14.TH=set_combine(sets.TP.HighHaste.O14,{})--1,2,3 sets
  274. sets.TP.HighHaste.O14.TH.DT=set_combine(sets.TP.HighHaste.O.TH.DT,{}) sets.TP.HighHaste.O14.TH.EVA=set_combine(sets.TP.HighHaste.O.TH.EVA,{})
  275. sets.TP.HighHaste.O14.DD=set_combine(sets.TP.HighHaste.O9.DD,{})--1,2,3 sets
  276. sets.TP.HighHaste.O14.DD.DT=set_combine(sets.TP.HighHaste.O.DD.DT,{}) sets.TP.HighHaste.O14.DD.EVA=set_combine(sets.TP.HighHaste.O.DD.EVA,{})
  277. sets.TP.HighHaste.O14.THlACC=set_combine(sets.TP.HighHaste.O14.TH,{neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3 sets                                                                (((ACCURACY)))
  278. sets.TP.HighHaste.O14.THlACC.DT=set_combine(sets.TP.HighHaste.O14.THlACC,{}) sets.TP.HighHaste.O14.THlACC.EVA=set_combine(sets.TP.HighHaste.O14.THlACC,{})
  279. sets.TP.HighHaste.O14.DDlACC=set_combine(sets.TP.HighHaste.O14.DD,{ammo="Yamarang",neck="Assassin's Gorget",ear1="Zennaroi Earring",})--1,2,3 sets                                                                                         (((ACCURACY)))
  280. sets.TP.HighHaste.O14.DDlACC.DT=set_combine(sets.TP.O.DD.DT,{}) sets.TP.HighHaste.O14.DDlACC.EVA=set_combine(sets.TP.HighHaste.O14.DDlACC,{})--[DD]--x2 Can separate from same line if editing...
  281. --Leave sets.Snk = {} {Blank} |SmartTH/SneakAttack MAXIMIZE DEXTERITY in FIRST and LAST SneakAttack set [crit hit dmgs+ gears]| EDIT sets.Snk.O with TH9 preferably /TH+5 on gears(+1,+2,+2)
  282.     sets.Snk = {} --ammo=empty,
  283. sets.Snk.O={}
  284. sets.Snk.O9=set_combine(sets.Snk.O,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+6 on gears(+1,+3,+2)
  285.             hands="Plunderer's Armlets +2",waist="Wanion Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines"})
  286. sets.Snk.O10=set_combine(sets.Snk.O9,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+7 on gears(+1,+3,+1,+2)
  287.             hands="Plunderer's Armlets +2",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines"})
  288. sets.Snk.O11=set_combine(sets.Snk.O10,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+8 on gears(+1,+3,+1,+3)
  289.             hands="Plunderer's armlets +2",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines +1"})
  290. sets.Snk.O12=set_combine(sets.Snk.O11,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+9 on gears(+1,+4,+1,+3)
  291.             hands="Plunderer's armlets +3",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines +1"})
  292. sets.Snk.O13=set_combine(sets.Snk.O12,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's armlets +3",waist="Chaac Belt",--TH+10(+1+4+1+1+3)
  293.             legs={ name="Herculean Trousers", augments={'"Fast Cast"+3','AGI+13','"Treasure Hunter"+1','Accuracy+4 Attack+4','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},feet="Skulker's Poulaines +1"})
  294. sets.Snk.O14 = set_combine(sets.Snk.O13,{})-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  295. --Leave sets.Trck = {} {Blank} |SmartTH/TrickAttack MAXIMIZE AGILITY in FIRST and LAST TrickAttack set [crit hit dmgs+ gears]| EDIT sets.Trck.O with TH9 preferably /TH+5 on gears(+1,+2,+2)
  296.     sets.Trck = {} --ammo=empty,
  297. sets.Trck.O={}
  298. sets.Trck.O9=set_combine(sets.Trck.O,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+6 on gears(+1,+3,+2)
  299.             hands="Plunderer's Armlets +2",waist="Sveltesse Gouriz +1",legs="Pillager's Culottes +1",feet="Skulker's Poulaines"})
  300. sets.Trck.O10=set_combine(sets.Trck.O9,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+7 on gears(+1,+3,+1,+2)
  301.             hands="Plunderer's Armlets +2",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines"})
  302. sets.Trck.O11=set_combine(sets.Trck.O10,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+8 on gears(+1,+3,+1,+3)
  303.             hands="Plunderer's armlets +2",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines +1"})
  304. sets.Trck.O12=set_combine(sets.Trck.O11,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},--TreasureHunter+9 on gears(+1,+4,+1,+3)
  305.             hands="Plunderer's armlets +3",waist="Chaac Belt",legs="Pillager's Culottes +1",feet="Skulker's Poulaines +1"})
  306. sets.Trck.O13=set_combine(sets.Trck.O12,{head={ name="Herculean Helm", augments={'Attack+22','MND+13','"Treasure Hunter"+1','Mag. Acc.+1 "Mag.Atk.Bns."+1',}},hands="Plunderer's armlets +3",waist="Chaac Belt",--TH+10(+1+4+1+1+3)
  307.             legs={ name="Herculean Trousers", augments={'"Fast Cast"+3','AGI+13','"Treasure Hunter"+1','Accuracy+4 Attack+4','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},feet="Skulker's Poulaines +1"})
  308. sets.Trck.O14 = set_combine(sets.Trck.O13,{})---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  309. ------Weaponskills---------------------------------------------------------------------------------------------------------------------------------Blank for ammo=empty for Yetshila +1 rule (ammo="")
  310. sets.Evisceration={}
  311. --Blank for ammo=empty for Yetshila +1 rule (ammo="")
  312. sets.RudraStorm={}
  313. --Meghanada Cuirie +2,Herculean Vest,head={ name="Herculean Helm", augments={'"Dbl.Atk."+3','Enmity-3','Weapon skill damage +10%','Mag. Acc.+7 "Mag.Atk.Bns."+7',}}, legs={ name="Herculean Trousers", augments={'Enmity+5','Attack+23','Weapon skill damage +9%',}}, legs="Lustratio Subligar +1",
  314. sets.MercyStroke={}
  315.  
  316. sets.MandalicStab={}
  317.    
  318. sets.Exenterator={}
  319. --NEED WSD FIX FOR AEOLIAN LEGS
  320. sets.AeolianEdge={}
  321.  
  322. sets.DancingEdge={}
  323. sets.SharkBite={}
  324. sets.AFhands = {hands="Pillager's Armlets +2"}
  325. sets.EMPYhands = {hands="Skulker's Armlets +1"}
  326. sets.Charge = {}
  327. --Fool Aftercast/head=empty,neck=empty,ear1=empty,ear2=empty,body=empty,hands=empty,ring1=empty,ring2=empty,back=empty,waist=empty,legs=empty
  328. sets.ChargeBlockPH = {}
  329. sets.WsdOnlyForSATA={}
  330.  
  331. sets.PrecastFC = {}
  332. sets.PrecastFastCastAndUtsusemi = {} --sets.PrecastFastCastAndUtsusemi = set_combine(sets.PrecastFC,{neck="Magoraga Bead Necklace",body="Passion Jacket"}) Hurt Evasion to use utsu gears
  333.  
  334. --Shooting in AccuracyIndex 2 or 4 result in tp lost
  335. sets.Preshot = {range="Tsoabichi Crossbow",ammo="Gashing Bolt"}--AccuracyIndex 2 or 4| crossbow for bolts ranged attack (shoot wisely@Acid) Ammo used for STP and Weaponskll.
  336.  
  337. sets.PreshotBoomerang = {range="Raider's Boomerang"} --AccuracyIndex 1 or 3| "Raider's Boomerang" for "dual wield"
  338.     sets.Midshot = {head="Meghanada Visor +1",body="Meghanada Cuirie +2",hands="Plunderer's Armlets +3",ring1="Cacoethic Ring",ring2="Cacoethic Ring +1",--O9(+5) and RangedACC
  339.             legs={ name="Herculean Trousers", augments={'"Fast Cast"+3','AGI+13','"Treasure Hunter"+1','Accuracy+4 Attack+4','Mag. Acc.+19 "Mag.Atk.Bns."+19',}},feet="Skulker's Poulaines"}
  340. --function precast | send_command('input //gs disable ammo')----function midcast | send_command('input //gs enable ammo') Adjust for full time ranged attacks. {range="",ammo=""}
  341.     sets.LastStand = {}
  342.    
  343.     sets.Waltz = {head={ name="Iuitl Headgear +1", augments={'Phys. dmg. taken -3%','Magic dmg. taken -2%','Attack+8',}},neck="Loricate Torque +1",ear1="Eabani Earring",ear2="Black Earring",
  344.             body="Passion Jacket",hands={ name="Herculean Gloves", augments={'Attack+18','Damage taken-2%','DEX+5','Accuracy+6',}},ring1="Asklepian Ring",ring2="Valseur's Ring",back="Solemnity Cape",waist="Flume Belt",
  345.             legs="Dashing Subligar",feet="Ahosi Leggings"}
  346.  
  347.     sets.WaltzPotency = set_combine(sets.Waltz, {body="Passion Jacket",ring1="Asklepian Ring",ring2="Valseur's Ring"})
  348.     sets.BoxStep = {}--TH8~9,ACC w/e you want for BoxStep | 1step is -5%def and if you add acid bolts(12.5%),thats -17.5%def for target
  349.    
  350.     --PlaceHolder for DT while in Idle, for TP DT then TP sets.DT needs to be edited
  351.     sets.minimumDT = {head={ name="Iuitl Headgear +1", augments={'Phys. dmg. taken -3%','Magic dmg. taken -2%','Attack+8',}},neck="Loricate Torque +1",ear1="Eabani Earring",ear2="Black Earring",
  352.             body={ name="Iuitl Vest +1", augments={'Phys. dmg. taken -4%','Magic dmg. taken -4%','Crit.hit rate+1',}},hands={ name="Herculean Gloves", augments={'Attack+18','Damage taken-2%','DEX+5','Accuracy+6',}},
  353.             ring1="Moonlight Ring",ring2="Defending Ring",back="Solemnity Cape",waist="Flume Belt",legs="Mummu Kecks +2",feet="Ahosi Leggings"}
  354.    
  355.     --PlaceHolder for EVASION while in Idle, for TP EVA then TP sets.EVA needs to be edited
  356.     sets.maxEVA = {ammo="Barathrum",head="Pillager's Bonnet +3",neck="Ej Necklace",ear1="Eabani Earring",ear2="Suppanomimi",body="Turms Harness",hands="Raetic Bangles",
  357.             ring1="Vengeful Ring",ring2="Apate Ring",back={ name="Toutatis's Cape", augments={'DEX+20','Accuracy+20 Attack+20','Evasion+6','"Store TP"+10','Evasion+15',}},waist="Sveltesse Gouriz +1",legs="Dashing Subligar",feet="Pillager's Poulaines +3"}
  358.            
  359.     sets.Resting = {} --set_combine(sets.Idle,{})
  360.     end
  361.  
  362. --function pretarget(spell,action)
  363. --end
  364.  
  365. --Adjust numbers to your needs for if player.tp >greater than \and lesser than<    
  366. function precast(spell,action)-----------------------------------------------------------(RANGED SLOTS)-AccuracyIndex 1 and 2 are TreasureHunter sets which mean less dual wield because of TH gears, aim for raider's BOOMERANG DW~
  367. if spell.action_type == 'Ranged Attack' then
  368. if AccuracyIndex == 2 or AccuracyIndex == 4 then
  369.     send_command('input //gs disable ammo')
  370.     equip(sets.Preshot)
  371. elseif AccuracyIndex == 1 or AccuracyIndex == 3 then equip(sets.PreshotBoomerang)
  372. end
  373. end
  374.  
  375. if spell.english == "Rudra's Storm" then
  376.  
  377. if SA then equip(set_combine(sets.RudraStorm, sets.EMPYhands, {ammo="Yetshila +1",head="Pillager's Bonnet +3",ear1="Mache Earring +1",ear2="Mache Earring",waist="Prosilio Belt +1"})) --SATA|Yetshila +1
  378. return
  379. end
  380. if TA then equip(set_combine(sets.RudraStorm, {ammo="Yetshila +1",head="Pillager's Bonnet +3",ear1="Mache Earring +1",ear2="Ishvara Earring",waist="Prosilio Belt +1"})) --SATA|Yetshila +1
  381. return
  382. elseif not SA or TA then
  383. if player.tp > 2499 and AccuracyIndex == 1 or AccuracyIndex == 3 then equip(set_combine(sets.RudraStorm, {ear1="Mache Earring +1",ear2="Ishvara Earring",waist="Prosilio Belt +1"}))--3kTP|DEX ear|Cheruski
  384. elseif player.tp > 1249 and player.tp <= 2499 and AccuracyIndex == 1 or AccuracyIndex == 3 then equip(set_combine(sets.RudraStorm, {ear1="Aesir Ear Pendant",ear2="Moonshade Earring"}))--1kTP+|Moonshade+250TP for 2kTP|3000TP
  385. elseif player.tp <= 1249 and AccuracyIndex == 1 or AccuracyIndex == 3 then
  386. equip(set_combine(sets.RudraStorm, {head={ name="Herculean Helm", augments={'"Dbl.Atk."+3','Enmity-3','Weapon skill damage +10%','Mag. Acc.+7 "Mag.Atk.Bns."+7',}},neck="Fotia Gorget",waist="Fotia Belt"}))-- Depends of your TP bonus gears 1000TP = Fotia/Fotia
  387.  
  388. elseif player.tp > 2499 and AccuracyIndex == 2 then equip(set_combine(sets.RudraStorm, {ammo="Cheruski Needle",ear1="Mache Earring +1",ear2="Mache Earring",body="Herculean Vest",waist="Prosilio Belt +1"}))--3kTP|DEX ear|Cheruski
  389. elseif player.tp > 1249 and player.tp <= 2499 and AccuracyIndex == 2 then equip(set_combine(sets.RudraStorm, {ammo="Cheruski Needle",ear1="Aesir Ear Pendant",ear2="Moonshade Earring",body="Herculean Vest"}))--1kTP+|Moonshade+250TP for 2kTP|3000TP
  390. elseif player.tp <= 1249 and AccuracyIndex == 2 then equip(set_combine(sets.RudraStorm, {ammo="Cheruski Needle",head={ name="Herculean Helm", augments={'"Dbl.Atk."+3','Enmity-3','Weapon skill damage +10%','Mag. Acc.+7 "Mag.Atk.Bns."+7',}},neck="Fotia Gorget",body="Herculean Vest",waist="Fotia Belt"}))-- Depends of your TP bonus gears 1000TP = Fotia/Fotia
  391.  
  392. elseif player.tp > 2499 and AccuracyIndex == 4 then equip(set_combine(sets.RudraStorm, {ammo="Jukukik Feather",ear1="Mache Earring +1",ear2="Mache Earring",body="Herculean Vest",waist="Prosilio Belt +1"}))--3kTP|DEX ear|Jukukik
  393. elseif player.tp > 1249 and player.tp <= 2499 and AccuracyIndex == 4 then equip(set_combine(sets.RudraStorm, {ammo="Jukukik Feather",ear1="Aesir Ear Pendant",ear2="Moonshade Earring",body="Herculean Vest"}))--1kTP+|Moonshade+250TP for 2kTP|3000TP
  394. elseif player.tp <= 1249 and AccuracyIndex == 4 then equip(set_combine(sets.RudraStorm, {ammo="Jukukik Feather",head={ name="Herculean Helm", augments={'"Dbl.Atk."+3','Enmity-3','Weapon skill damage +10%','Mag. Acc.+7 "Mag.Atk.Bns."+7',}},neck="Fotia Gorget",body="Herculean Vest",waist="Fotia Belt"}))-- Depends of your TP bonus gears 1000TP = Fotia/Fotia
  395. end
  396. end
  397. elseif spell.english == "Assassin's Charge" then equip({feet="Plunderer's Poulaines +3"}) --end
  398. elseif spell.english == "Evisceration" then--------------------------------------------------------------------------------------------------Evisceration
  399. if player.tp > 2499 then equip(set_combine(sets.Evisceration, {ear1="Mache Earring +1",ear2="Tati Earring"}))
  400. elseif AccuracyIndex == 2 or AccuracyIndex == 4 and player.tp > 2499 then
  401. equip(set_combine(sets.Evisceration, {ammo="Yetshila +1",ear1="Mache Earring +1",ear2="Tati Earring"}))
  402. elseif AccuracyIndex == 1 or AccuracyIndex == 3 and player.tp > 2499 then
  403. equip(set_combine(sets.Evisceration, {ear1="Mache Earring +1",ear2="Tati Earring"}))
  404. end
  405. elseif spell.english == "Mandalic Stab" then equip(sets.MandalicStab) --end
  406. elseif spell.english == "Exenterator" then equip(sets.Exenterator) --end
  407. elseif spell.english == "Aeolian Edge" then equip(sets.AeolianEdge) --end
  408. elseif spell.english == "Dancing Edge" then equip(sets.DancingEdge) --end
  409. elseif spell.english == "Shark Bite" then equip(sets.SharkBite) --end
  410. elseif spell.english == "Last Stand" then equip(sets.LastStand) --end  
  411. elseif spell.english == "Flee" then equip(set_combine(sets.Idle, {feet="Pillager's Poulaines +3"})) --end
  412. elseif spell.english == "Accomplice" or spell.english == "Collaborator" then equip({head="Skulker's Bonnet +1"}) --end     
  413. elseif spell.english == "Perfect Dodge" then equip({hands="Plunderer's armlets +3"}) --end
  414. elseif spell.english == "Box Step" then equip(sets.BoxStep) --end
  415. elseif spell.english == "Conspirator" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"})) --end
  416. elseif spell.english == "Feint" then equip({legs="Plunderer's Culottes +3"}) --end
  417. elseif spell.english == "Spectral Jig" then equip(sets.Idle) --end
  418. elseif spell.type == "Ninjutsu" then
  419.         if string.find(spell.english,'Utsusemi') then
  420.             if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
  421.                 cancel_spell() add_to_chat(123, spell.name .. ' Canceled: [3+ Images]')
  422.                 else
  423.                 equip(sets.PrecastFastCastAndUtsusemi) end
  424.                 end
  425.                 --end
  426. elseif spell.type:endswith('Magic') then equip(sets.PrecastFC) --end
  427. elseif spell.type == "Trust" then equip(sets.PrecastFC) --end
  428. elseif spell.type == "Waltz" then
  429.         refine_waltz(spell,action)
  430.         equip(sets.Waltz) --end
  431. elseif spell.english == "Sneak Attack" then
  432. equip(set_combine(sets.Snk[OArray[OIndex]], {hands="Skulker's Armlets +1"}))
  433.               SA = true end
  434. if spell.english == "Trick Attack" then
  435. equip(set_combine(sets.Trck[OArray[OIndex]], {hands="Pillager's Armlets +2"}))
  436.                TA = true end
  437. end
  438. --MIDCAST
  439. function midcast(spell,action)--AccuracyIndex 2 and 4 are full damages sets therefor TP AMMO, WEAPONSKILL AMMO
  440. if spell.action_type == 'Ranged Attack' then --------------------------------------------------------(RANGED SLOTS)----------------------------------------------------------------------------------------------------------------
  441. if AccuracyIndex == 1 or AccuracyIndex == 3 then --AccuracyIndex 1 and 3 are TreasureHunter sets which mean less dual wield because of TH gears, aim for raider's BOOMERANG DW~      
  442.         equip(sets.Midshot)
  443. elseif AccuracyIndex == 2 or AccuracyIndex == 4 then
  444.         equip(sets.Midshot)
  445.         send_command('timers create ;wait 1;input //gs enable ammo') end end
  446. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  447. if player.status == 'Engaged' and AccuracyIndex == 2 or AccuracyIndex == 4 and spell.type == "WeaponSkill" or spell.type=="JobAbility" and OIndex < 9 then
  448. send_command('timers create ;wait 1;input //gs c 1st;timers create ;wait 1;input //gs c 1st') end --SELF_CMD | 1st hit TH followed by Treasure Hunter gears removal
  449.  
  450. if player.status == 'Engaged' and spell.english == "Trick Attack" then
  451. equip(set_combine(sets.Trck[OArray[OIndex]], {body="Plunderer's Vest +3",hands="Pillager's Armlets +2"})) end
  452. --send_command('timers create ;wait 1;input //gs c 1st;timers create ;wait 1;input //gs c 1st') end --SELF_CMD | 1st hit TH followed by Treasure Hunter gears removal
  453.  
  454. if player.status ~= 'Engaged' and Armor == 'DT' and spell.type == "Ninjutsu" then send_command('timers create ;wait 3;input //gs equip sets.minimumDT')--DT--IDLE--RETURN--AFTER--UTSUSEMI
  455. elseif player.status ~= 'Engaged' and Armor == 'EVA' and spell.type == "Ninjutsu" then send_command('timers create ;wait 3;input //gs equip sets.maxEVA')--------------------------------------------------------EVA
  456. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.type == "Ninjutsu" then send_command('timers create ;wait 3;input //gs equip sets.Idle')----------------------------------------------------------NORMAL
  457. elseif player.status ~= 'Engaged' and spell.type == "Ninjutsu" then send_command('timers create ;wait 3;input //gs equip sets.Idle')   
  458. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Flee" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after flee
  459. elseif player.status ~= 'Engaged' and spell.english == "Flee" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  460. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Conspirator" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after conspirator
  461. elseif player.status ~= 'Engaged' and spell.english == "Conspirator" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  462. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Spectral Jig" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after spectral jig
  463. elseif player.status ~= 'Engaged' and spell.english == "Spectral Jig" then send_command('timers create ;wait 3;input //gs equip sets.Idle')
  464. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Animated Flourish" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after animated flourish
  465. elseif player.status ~= 'Engaged' and spell.english == "Animated Flourish" then send_command('timers create ;wait 3;input //gs equip sets.Idle')
  466. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Reverse Flourish" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after reverse flourish
  467. elseif player.status ~= 'Engaged' and spell.english == "Reverse Flourish" then send_command('timers create ;wait 3;input //gs equip sets.Idle')
  468. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Steal" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after steal
  469. elseif player.status ~= 'Engaged' and spell.english == "Steal" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  470. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Perfect Dodge" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after perfect dodge
  471. elseif player.status ~= 'Engaged' and spell.english == "Perfect Dodge" then send_command('timers create ;wait 3;input //gs equip sets.Idle')
  472. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Despoil" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after despoil
  473. elseif player.status ~= 'Engaged' and spell.english == "Despoil" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  474. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Hide" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after hide
  475. elseif player.status ~= 'Engaged' and spell.english == "Hide" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  476. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Mug" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after mug
  477. elseif player.status ~= 'Engaged' and spell.english == "Mug" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  478. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Bully" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after bully
  479. elseif player.status ~= 'Engaged' and spell.english == "Bully" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  480. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.english == "Larceny" then send_command('timers create ;wait 3;input //gs equip sets.Idle')--Idle after larceny
  481. elseif player.status ~= 'Engaged' and spell.english == "Larceny" then send_command('timers create ;wait 2;input //gs equip sets.Idle')
  482. elseif player.status ~= 'Engaged' and Armor == 'DT' and spell.type == "Trust" then send_command('timers create ;wait 3;input //gs equip sets.minimumDT')--DT--IDLE--RETURN--AFTER--TRUSTS(NPC)
  483. elseif player.status ~= 'Engaged' and Armor == 'EVA' and spell.type == "Trust" then send_command('timers create ;wait 3;input //gs equip sets.maxEVA')--------------------------------------------------------EVA
  484. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.type == "Trust" then send_command('timers create ;wait 3;input //gs equip sets.Idle')----------------------------------------------------------NORMAL
  485. elseif player.status ~= 'Engaged' and spell.type == "Trust" then send_command('timers create ;wait 3;input //gs equip sets.Idle')      
  486. elseif player.status ~= 'Engaged' and Armor == 'DT' and spell.type == "Waltz" then equip(sets.Waltz) send_command('timers create ;wait 3;input //gs equip sets.minimumDT')--DT--IDLE--RETURN--AFTER--WALTZ
  487. elseif player.status ~= 'Engaged' and Armor == 'EVA' and spell.type == "Waltz" then equip(sets.Waltz) send_command('timers create ;wait 3;input //gs equip sets.maxEVA')-----------------------------------------EVA
  488. elseif player.status ~= 'Engaged' and Armor == 'None' and spell.type == "Waltz" then equip(sets.Waltz) send_command('timers create ;wait 3;input //gs equip sets.Idle')-------------------------------------------NORMAL
  489. elseif player.status ~= 'Engaged' and spell.type == "Waltz" then equip(sets.Waltz) send_command('timers create ;wait 3;input //gs equip sets.Idle')
  490. elseif spell.type == "Waltz" then equip(sets.Waltz)
  491. end
  492. end
  493. --TH core--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  494. local packets = require('packets')
  495. function check_actor(packet)
  496.     local key_indices = {'p0','p1','p2','p3','p4','p5','a10','a11','a12','a13','a14','a15','a20','a21','a22','a23','a24','a25'}
  497.     local party = windower.ffxi.get_party()
  498.     local actor = windower.ffxi.get_mob_by_id(packet['Actor'])
  499.     for i = 1, 18 do
  500.         local member = party[key_indices[i]]
  501.         if member and member.mob and member.mob.id == actor.id then
  502.             return true
  503.         end
  504.     end
  505.     return false
  506. end
  507. windower.raw_register_event('incoming chunk', function(id,original,modified,injected,blocked)
  508.  if id == 0x028 then
  509.         local packet = packets.parse('incoming', original)
  510.         local target = windower.ffxi.get_mob_by_id(packet['Target 1 ID'])
  511.         if packet.Category == 1 and check_actor(packet) then
  512.             if packet['Target 1 Action 1 Has Added Effect'] then
  513.                 if packet['Target 1 Action 1 Added Effect Message'] == 603 then
  514.                     OIndex = packet['Target 1 Action 1 Added Effect Param'] + 1
  515.                     windower.add_to_chat(158, "{Current|TH:" .. packet['Target 1 Action 1 Added Effect Param'] .."}")
  516.                     windower.add_to_chat(123, "              SmartTH/Adding +1 with sets! {Next|TH:" .. OIndex .."}" )
  517.                     gearswap.equip_sets('status_change',nil,nil)
  518.                     end
  519.                 end
  520.             end
  521.         end
  522. end)--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  523.  
  524. function aftercast(spell)
  525. if player.status == 'Engaged' and Armor == 'DT' and spell.english == "Sneak Attack" and buffactive['Feint'] then --DT--------------------------------------------------------------------------------------------------------------
  526. equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])
  527. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Sneak Attack" and not buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])
  528. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Trick Attack" and buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])
  529. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Trick Attack" and not buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])
  530. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Feint" then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])
  531. elseif player.status == 'Engaged' and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))
  532. elseif player.status == 'Engaged' and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))
  533. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Conspirator" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))
  534. elseif player.status == 'Engaged' and Armor == 'DT' and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  535. elseif player.status == 'Engaged' and Armor == 'DT' and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  536. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Waltz" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  537. elseif player.status == 'Engaged' and Armor == 'DT' and spell.english == "Utsusemi" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  538. elseif player.status == 'Engaged' and Armor == 'DT' then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  539. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Sneak Attack" and buffactive['Feint'] then--EVA----------------------------------------------------------------------------------------------------------
  540. equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])
  541. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Sneak Attack" and not buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])
  542. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Trick Attack" and buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])
  543. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Trick Attack" and not buffactive['Feint'] then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])
  544. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Feint" then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])
  545. elseif player.status == 'Engaged' and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  546. elseif player.status == 'Engaged' and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  547. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Conspirator" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  548. elseif player.status == 'Engaged' and Armor == 'EVA' and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  549. elseif player.status == 'Engaged' and Armor == 'EVA' and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  550. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Waltz" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  551. elseif player.status == 'Engaged' and Armor == 'EVA' and spell.english == "Utsusemi" then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  552. elseif player.status == 'Engaged' and Armor == 'EVA' then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  553. elseif player.status == 'Engaged' and spell.english == "Sneak Attack" and buffactive['Feint'] then--NORMAL----------------------------------------------------------------------------------------------------------------------
  554. equip(set_combine(sets.Snk[OArray[OIndex]],{legs="Plunderer's Culottes +3"}))
  555. elseif player.status == 'Engaged' and spell.english == "Sneak Attack" and not buffactive['Feint'] then equip(sets.Snk[OArray[OIndex]])
  556. elseif player.status == 'Engaged' and spell.english == "Trick Attack" and buffactive['Feint'] then equip(set_combine(sets.Trck[OArray[OIndex]],{legs="Plunderer's Culottes +3"}))
  557. elseif player.status == 'Engaged' and spell.english == "Trick Attack" and not buffactive['Feint'] then equip(sets.Trck[OArray[OIndex]])
  558. elseif player.status == 'Engaged' and spell.english == "Feint" then equip({legs="Plunderer's Culottes +3"})
  559. elseif player.status == 'Engaged' and buffactive.Conspirator and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  560. elseif player.status == 'Engaged' and buffactive.Conspirator and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  561. elseif player.status == 'Engaged' and spell.english == "Conspirator" then equip({body="Skulker's Vest +1"})
  562. elseif player.status == 'Engaged' and buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  563. elseif player.status == 'Engaged' and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  564. elseif player.status == 'Engaged' and spell.english == "Waltz" then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])
  565. elseif player.status == 'Engaged' and spell.english == "Utsusemi" then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])
  566. elseif player.status == 'Engaged' and spell.english == "Assassin's Charge" then equip(sets.ChargeBlockPH) --Cut showswaps annoyance on Charge
  567. elseif player.status == 'Engaged' then equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])
  568. end
  569. end
  570. --THIndex reset to 1 with player.status ~= 'Engaged'
  571. function status_change(new,old)
  572. if new == 'Engaged' then
  573.     AccuracyIndex = AccuracyIndex
  574.     OIndex = OIndex
  575.     equip(sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]) end
  576. if Armor == 'DT' and AccuracyArray[AccuracyIndex] then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])) end
  577. if Armor == 'EVA' and AccuracyArray[AccuracyIndex] then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end
  578. if Armor == 'None' and AccuracyArray[AccuracyIndex] then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end --if Armor == 'None' and AccuracyArray[AccuracyIndex] --ACCtoggle
  579. if AccuracyArray[AccuracyIndex] then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end
  580. if Armor == 'None' and OArray[OIndex] then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end --if Armor == 'None' and OArray[OIndex] --THIndex
  581. if buffactive.Conspirator and buffactive.March == 2 and Armor == 'DT' then--CONSPIRATOR--DT----------------------------------------------------------------------------------------------------------------------------------------
  582.     MinimalDTIndex = 1
  583.     OIndex = OIndex
  584.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"})) end 
  585. if buffactive.Conspirator and buffactive.March == 1 and Armor == 'DT' then
  586.     MinimalDTIndex = 1
  587.     OIndex = OIndex
  588.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"})) end  
  589. if buffactive.Conspirator and Armor == 'DT' then
  590.     MinimalDTIndex = 1
  591.     OIndex = OIndex
  592.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"})) end  
  593. if buffactive.March == 2 and Armor == 'DT' then
  594.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])) end
  595. if buffactive.March == 1 and Armor == 'DT' then
  596.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]])) end
  597. if buffactive.Conspirator and buffactive.March == 2 and Armor == 'EVA' then--CONSPIRATOR--EVA--------------------------------------------------------------------------------------------------------------------------------------
  598.     EvasiveIndex = 1
  599.     OIndex = OIndex
  600.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end 
  601. if buffactive.Conspirator and buffactive.March == 1 and Armor == 'EVA' then
  602.     EvasiveIndex = 1
  603.     OIndex = OIndex
  604.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end  
  605. if buffactive.Conspirator and Armor == 'EVA' then
  606.     EvasiveIndex = 1
  607.     OIndex = OIndex
  608.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end  
  609. if buffactive.March == 2 and Armor == 'EVA' then
  610.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end
  611. if buffactive.March == 1 and Armor == 'EVA' then
  612.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]])) end
  613. if buffactive.Conspirator and buffactive.March == 2 then
  614.     OIndex = OIndex
  615.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"})) end
  616. if buffactive.Conspirator and buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"})) end
  617. if buffactive.Conspirator then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"})) end
  618. if buffactive.March == 2 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end
  619. if buffactive.March == 1 then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end
  620. --VAR------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  621. if Armor == 'DT' and player.status == 'Engaged' then
  622.     MinimalDTIndex = 1
  623.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  624.     elseif Armor == 'DT' and player.status ~= 'Engaged' then equip(sets.minimumDT)
  625.     elseif Armor == 'EVA' and player.status == 'Engaged' then
  626.     EvasiveIndex = 1
  627.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  628.     elseif Armor == 'EVA' and player.status ~= 'Engaged' then equip(sets.maxEVA)
  629.     elseif Armor == 'None' and player.status ~= 'Engaged' then
  630.     OIndex = 1 --THIndex reset
  631.     equip(sets.Idle)
  632.     elseif player.status ~= 'Engaged' then
  633.     OIndex = 1 --THIndex reset
  634.     equip(sets.Idle)
  635. if player.status == 'Resting' then equip(sets.Resting)
  636. end
  637. end
  638. end
  639. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  640. function buff_change(buff,gain)
  641.     if AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then --SNEAK ATTACK--X2MARCH(SONG)--------------------------------------------------------------------
  642. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  643. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  644. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  645. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  646. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then --SNEAK ATTACK--X1MARCH(SONG)--------------------------------------------------------------------
  647. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  648. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  649. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  650. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  651. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buff == "Sneak Attack" and gain == false then --SNEAK ATTACK-------------------------------------------------------------------------------------------------------------
  652. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  653. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  654. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  655. elseif AccuracyArray[AccuracyIndex] and buff == "Sneak Attack" and gain == false then
  656. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end-----------------------------TRICK ATTACK--X2MARCH(SONG)--------------------------------------------------------------------
  657. if AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 2 and buff == "Trick Attack" and gain == false then
  658. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  659. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 2 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  660. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 2 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  661. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 2 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  662. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 1 and buff == "Trick Attack" and gain == false then --TRICK ATTACK--X1MARCH(SONG)--------------------------------------------------------------------
  663. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  664. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 1 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  665. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 1 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  666. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 1 and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  667. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buff == "Trick Attack" and gain == false then --TRICK ATTACK-------------------------------------------------------------------------------------------------------------
  668. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  669. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  670. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  671. elseif AccuracyArray[AccuracyIndex] and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end
  672. --FEINT APPLYED|FEINT EFFECT NOW OFF (2MARCH(SONG))--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  673. if AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 2 and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  674. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  675. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 2 and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  676. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  677. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 2 and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  678. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  679. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 2 and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  680. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]')add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  681. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.March == 1 and buff == "Feint" and gain == false  then--FEINT APPLYED|FEINT EFFECT NOW OFF (1MARCH(SONG))---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  682. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  683. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  684. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.March == 1 and buff == "Feint" and gain == false  then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  685. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  686. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.March == 1 and buff == "Feint" and gain == false  then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  687. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  688. elseif AccuracyArray[AccuracyIndex] and buffactive.March == 1 and buff == "Feint" and gain == false  then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  689. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  690. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buff == "Feint" and gain == false then--FEINT APPLYED|FEINT EFFECT NOW OFF------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  691. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]]))
  692. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  693. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  694. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  695. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  696. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  697. elseif AccuracyArray[AccuracyIndex] and buff == "Feint" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  698. send_command('timers create "Feint effect" ;wait 30;input /echo TH(+)And*EvaDown(-) Now [OFF]') add_to_chat(456,'[Feint]') add_to_chat(456,'   {Applied}') add_to_chat(123,'      30 seconds.')
  699. --FEINT RECAST TIMER------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  700. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buff == "Feint" and gain == true then send_command('timers create "Feint Recast" ;wait 120;input /echo Feint recast 0:00')
  701. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buff == "Feint" and gain == true then send_command('timers create "Feint Recast" ;wait 120;input /echo Feint recast 0:00')
  702. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buff == "Feint" and gain == true then send_command('timers create "Feint Recast" ;wait 120;input /echo Feint recast 0:00')
  703. elseif AccuracyArray[AccuracyIndex] and buff == "Feint" and gain == true then
  704. send_command('timers create "Feint Recast" ;wait 120;input /echo Feint recast 0:00') end
  705. ---------------------------------------------------------------------------------------------------------------------------------SNEAK ATTACK--CONSPIRATOR----------------------------------------------------------------------
  706. if AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buff == "Sneak Attack" and gain == false then
  707. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  708. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buff == "Sneak Attack" and gain == false then
  709. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))--elseif/equip same line x2
  710. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  711. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buff == "Sneak Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  712. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buff == "Trick Attack" and gain == false then --TRICK ATTACK--CONSPIRATOR-------------------------------------------------------------------
  713. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  714. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buff == "Trick Attack" and gain == false then
  715. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))--elseif/equip same line x2
  716. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  717. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buff == "Trick Attack" and gain == false then equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  718. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then --SNEAK ATTACK--X1MARCH(SONG)--CONSPIRATOR--------------------------
  719. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  720. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then
  721. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  722. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then
  723. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  724. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buffactive.March == 1 and buff == "Sneak Attack" and gain == false then
  725. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  726. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then --SNEAK ATTACK--X2MARCH(SONG)--CONSPIRATOR--------------------------
  727. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  728. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then
  729. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  730. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then
  731. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  732. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buffactive.March == 2 and buff == "Sneak Attack" and gain == false then
  733. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  734. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 1 and buff == "Trick Attack" and gain == false then --TRICK ATTACK--X1MARCH(SONG)--CONSPIRATOR--------------------------
  735. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  736. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 1 and buff == "Trick Attack" and gain == false then
  737. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  738. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buffactive.March == 1 and buff == "Trick Attack" and gain == false then
  739. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  740. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buffactive.March == 1 and buff == "Trick Attack" and gain == false then
  741. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.MidHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  742. elseif AccuracyArray[AccuracyIndex] and Armor == 'DT' and buffactive.Conspirator and buffactive.March == 2 and buff == "Trick Attack" and gain == false then --TRICK ATTACK--X2MARCH(SONG)--CONSPIRATOR--------------------------
  743. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][MinimalDTArray[MinimalDTIndex]], {body="Iuitl Vest +1"}))--DT BODY
  744. elseif AccuracyArray[AccuracyIndex] and Armor == 'EVA' and buffactive.Conspirator and buffactive.March == 2 and buff == "Trick Attack" and gain == false then
  745. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]][EvasiveArray[EvasiveIndex]]))
  746. elseif AccuracyArray[AccuracyIndex] and Armor == 'None' and buffactive.Conspirator and buffactive.March == 2 and buff == "Trick Attack" and gain == false then
  747. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"}))
  748. elseif AccuracyArray[AccuracyIndex] and buffactive.Conspirator and buffactive.March == 2 and buff == "Trick Attack" and gain == false then
  749. equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]], sets.TP.HighHaste[OArray[OIndex]][AccuracyArray[AccuracyIndex]], {body="Skulker's Vest +1"})) --end
  750. ----------------------VARIABLES FOR STACKED WEAPONSKILLS (SNEAK AND TRICK ATTACK ENHANCING GEARS (DEX AND AGI ADDING TO WEAPON BASE DMGS))
  751. buff = string.lower(buff)
  752. elseif buff == "Sneak Attack" then
  753.         SA = gain
  754. elseif buff == "Trick Attack" then
  755.         TA = gain
  756.         else
  757.         TA = false
  758. end
  759. return
  760. end
  761. function self_command(command)
  762.     if command == 'C1' then -- Accuracy Level Toggle --
  763.         AccuracyIndex = (AccuracyIndex % #AccuracyArray) + 1
  764.         status_change(player.status)
  765.         add_to_chat(158,'' .. AccuracyArray[AccuracyIndex])
  766.     elseif command == '1st' then --1st TH hit rule in AccuracyArray 2 or 4
  767.     if OIndex < 9 then
  768.     if AccuracyIndex == 2 or AccuracyIndex == 4 and buffactive.March == 2 or buffactive.March == 1 then
  769.     OIndex = 9
  770.     equip({range="",ammo="",head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1"})
  771.     end
  772.     elseif OIndex >= 9 and OIndex < 14 then
  773.     if AccuracyIndex == 2 or AccuracyIndex == 4 then
  774.     OIndex = 10
  775.     equip({range="",ammo="",head={ name="Herculean Helm", augments={'Pet: Phys. dmg. taken -2%','CHR+7','"Store TP"+9','Accuracy+11 Attack+11','Mag. Acc.+4 "Mag.Atk.Bns."+4',}},hands="Adhemar Wristbands +1"})
  776.     end
  777. end
  778.     elseif command == 'TH' then
  779.     if OIndex < 9 then
  780.     OIndex = 9
  781.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  782.     windower.add_to_chat(123, "Hunting value...         {Current#-1}" ) windower.add_to_chat(158, "                SmartTH/              {Next|TH:" .. OIndex .."}" )
  783.     elseif OIndex >= 9 and OIndex < 14 then
  784.     OIndex = OIndex + 1
  785.     equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]]))
  786.     windower.add_to_chat(123, "Hunting value...         {Current#-1}" ) windower.add_to_chat(158, "                SmartTH/              {Next|TH:" .. OIndex .."}" )
  787.     elseif OIndex >= 13 then
  788.         OIndex = 9
  789.         windower.add_to_chat(123, "Reset'                    {14 set or}") windower.add_to_chat(158, "         {Current|TH:4}                Zoomzoom!") windower.add_to_chat(123, "                                                      {8:Next}")
  790.         equip(set_combine(sets.TP[OArray[OIndex]], sets.TP[OArray[OIndex]][AccuracyArray[AccuracyIndex]])) end
  791.     elseif command == 'C15' then -- DT Toggle --
  792.         MinimalDTIndex = (MinimalDTIndex % #MinimalDTArray)
  793.         if Armor == 'DT' then
  794.             Armor = 'None'
  795.             add_to_chat(123,'DT~Armor: Overrated,,, [Unchecked]')
  796.         status_change(player.status)
  797.         else
  798.            Armor = 'DT'
  799.             add_to_chat(158,'DT~Armor: [Check] "Hint" Still Smart... ')
  800.         status_change(player.status) end
  801.     elseif command == 'C3' then -- Eva Toggle --
  802.         EvasiveIndex = (EvasiveIndex % #EvasiveArray)
  803.         if Armor == 'EVA' then
  804.             Armor = 'None'
  805.             send_command('timers create ;wait 1;input //gs enable range')
  806.             add_to_chat(123,'EVA~Armor: [Unchecked]')
  807.         status_change(player.status)
  808.         else
  809.            Armor = 'EVA'
  810.            send_command('timers create ;wait 1;input //gs disable range')
  811.            add_to_chat(158,'EVA~Armor: [Check] "Hint" Perfect Dodge!... ')
  812.         status_change(player.status) end
  813.     elseif command == 'TP' then
  814.         add_to_chat(158,'TP Return: ['..tostring(player.tp)..']') --Lmao TP Return no longer print??
  815.     elseif command:match('^SC%d$') then
  816.         send_command('//' .. sc_map[command])
  817.     end
  818. end
  819.  
  820. function refine_waltz(spell,action)
  821.     if spell.type ~= 'Waltz' then return end
  822.     if spell.name == "Healing Waltz" or spell.name == "Divine Waltz" or spell.name == "Divine Waltz II" then return end
  823. local newWaltz = spell.english
  824. local waltzID
  825. local missingHP
  826.     if spell.target.type == "SELF" then
  827.         missingHP = player.max_hp - player.hp
  828.     elseif spell.target.isallymember then
  829.         local target = find_player_in_alliance(spell.target.name)
  830.         local est_max_hp = target.hp / (target.hpp/100)
  831.         missingHP = math.floor(est_max_hp - target.hp) end
  832.     if missingHP ~= nil then
  833.         if player.sub_job == 'DNC' then
  834.             if missingHP < 40 and spell.target.name == player.name then
  835.                 add_to_chat(122,'Conserve TPs!') cancel_spell() return
  836.             elseif missingHP < 220 then
  837.                 newWaltz = 'Curing Waltz'
  838.                 waltzID = 190
  839.             elseif missingHP < 600 then
  840.                 newWaltz = 'Curing Waltz II'
  841.                 waltzID = 191
  842.             else newWaltz = 'Curing Waltz III'
  843.                 waltzID = 192 end
  844.         else return end end
  845. local waltzTPCost = {['Curing Waltz'] = 200, ['Curing Waltz II'] = 350, ['Curing Waltz III'] = 500, ['Curing Waltz IV'] = 650, ['Curing Waltz V'] = 800}
  846. local tpCost = waltzTPCost[newWaltz]
  847. local downgrade
  848.     if player.tp < tpCost and not buffactive.trance then
  849.         if player.tp < 200 then
  850.             add_to_chat(123, 'Insufficient TP ['..tostring(player.tp)..']. Cancelling.') cancel_spell() return
  851.         elseif player.tp < 350 then
  852.             newWaltz = 'Curing Waltz'
  853.         elseif player.tp < 500 then
  854.             newWaltz = 'Curing Waltz II' end
  855.         downgrade = 'Insufficient TP ['..tostring(player.tp)..']. Downgrading to '..newWaltz..'.'
  856.     end
  857.     if newWaltz ~= spell.english then
  858.         send_command('@input /ja "'..newWaltz..'" '..tostring(spell.target.raw))
  859.         if downgrade then
  860.             add_to_chat(158, downgrade) end
  861.         cancel_spell() return end
  862.     if missingHP > 0 then
  863.         add_to_chat(158,'Trying to cure '..tostring(missingHP)..' HP using '..newWaltz..'.') end end
  864. function find_player_in_alliance(name)
  865.     for i,v in ipairs(alliance) do
  866.         for k,p in ipairs(v) do
  867.             if p.name == name then
  868.                 return p
  869.             end end end end--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  870. function sub_job_change(newSubjob, oldSubjob)
  871.     select_default_macro_book() end
  872. function set_macro_page(set,book)
  873.     if not tonumber(set) then
  874.         add_to_chat(123,'Error setting macro page: Set is not a valid number ('..tostring(set)..').') return end
  875.     if set < 1 or set > 10 then
  876.         add_to_chat(123,'Error setting macro page: Macro set ('..tostring(set)..') must be between 1 and 10.') return end
  877.     if book then
  878.     if not tonumber(book) then
  879.             add_to_chat(123,'Error setting macro page: book is not a valid number ('..tostring(book)..').') return end
  880.     if book < 1 or book > 20 then
  881.             add_to_chat(123,'Error setting macro page: Macro book ('..tostring(book)..') must be between 1 and 20.') return end
  882.     send_command('@input /macro book '..tostring(book)..';wait .1;input /macro set '..tostring(set))
  883.     else send_command('@input /macro set '..tostring(set)) end end
  884. function select_default_macro_book()
  885.  if player.sub_job == 'DNC' then set_macro_page(7, 12)
  886.  elseif player.sub_job == 'WAR' then set_macro_page(7, 12)
  887.  elseif player.sub_job == 'NIN' then set_macro_page(4, 12)
  888.  else set_macro_page(7, 12) end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement