Advertisement
Guest User

Untitled

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