Guest User

Untitled

a guest
Mar 20th, 2018
290
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --------------------------------------------------------------------------------------------------
  2. -- FILE: mnk.lua
  3. --------------------------------------------------------------------------------------------------
  4.  
  5. --------------------------------------------------------------------------------------------------
  6. -- NAME: Get Sets.
  7. --------------------------------------------------------------------------------------------------
  8. function get_sets()
  9. -- Global Include --
  10. include('inc.lua')
  11. inc_init()
  12. include('organizer-lib')
  13. -- Idle Set --
  14. sets.idle =
  15. {
  16. ammo = "Black Tathlum",
  17. head = "Walahra Turban",
  18. neck = "Love torque",
  19. ear1 = "Assault Earring",
  20. ear2 = "Brutal Earring",
  21. body = "Askar korazin",
  22. hands = "Askar Manopolas",
  23. ring1 = "Rajas Ring",
  24. ring2 = "Blitz Ring",
  25. back = "Cerb. Mantle +1",
  26. waist = "Sonic Belt +1",
  27. legs = "Blood Cuisses",
  28. feet = "Aurum Sabatons"
  29. }
  30.  
  31. sets.midcast['Elemental Magic'] =
  32. {
  33. ammo = "White tathlum",
  34. head = "Drachen armet",
  35. neck = "Tempered chain",
  36. ear1 = "Cassie earring",
  37. ear2 = "Harmonius earring",
  38. body = "Blood Scale Mail",
  39. hands = "Alkyoneus's Brc.",
  40. ring1 = "Bloodbead ring",
  41. ring2 = "Bomb Queen Ring",
  42. back = "Gigant mantle",
  43. waist = "Forest sash",
  44. legs = "Dusk trousers +1",
  45. feet = "Dusk ledelsens +1"
  46.  
  47. }
  48.  
  49. sets.midcast['Enfeebling Magic'] =
  50. {
  51. ammo = "White tathlum",
  52. head = "Drachen armet",
  53. neck = "Tempered chain",
  54. ear1 = "Harmonius earring",
  55. ear2 = "Harmonius earring",
  56. body = "Blood Scale Mail",
  57. hands = "Alkyoneus's Brc.",
  58. ring1 = "Bloodbead ring",
  59. ring2 = "Bomb Queen Ring",
  60. back = "Gigant mantle",
  61. waist = "Forest sash",
  62. legs = "Dusk trousers +1",
  63. feet = "Dusk ledelsens +1"
  64.  
  65. }
  66.  
  67. sets.midcast['Enhancing Magic'] =
  68. {
  69. ammo = "White tathlum",
  70. head = "Drachen armet",
  71. neck = "Tempered chain",
  72. ear1 = "Cassie earring",
  73. ear2 = "Harmonius earring",
  74. body = "Blood Scale Mail",
  75. hands = "Alkyoneus's Brc.",
  76. ring1 = "Bloodbead ring",
  77. ring2 = "Bomb Queen Ring",
  78. back = "Gigant mantle",
  79. waist = "Forest sash",
  80. legs = "Dusk trousers +1",
  81. feet = "Dusk ledelsens +1"
  82.  
  83. }
  84. sets.midcast['Blue Magic'] =
  85. {
  86. ammo = "White tathlum",
  87. head = "Drachen armet",
  88. neck = "Tempered chain",
  89. ear1 = "Harmonious earring",
  90. ear2 = "Harmonius earring",
  91. body = "Dusk Jerkin +1",
  92. hands = "Alkyoneus's Brc.",
  93. ring1 = "Bloodbead ring",
  94. ring2 = "Bomb Queen Ring",
  95. back = "Gigant mantle",
  96. waist = "Forest sash",
  97. legs = "Dusk trousers +1",
  98. feet = "Dusk ledelsens +1"
  99.  
  100. }
  101.  
  102. sets.midcast['Dark Magic'] =
  103. {
  104. ammo = "White tathlum",
  105. head = "Drachen armet",
  106. neck = "Tempered chain",
  107. ear1 = "Harmonius earring",
  108. ear2 = "Harmonius earring",
  109. body = "Blood Scale Mail",
  110. hands = "Alkyoneus's Brc.",
  111. ring1 = "Bloodbead ring",
  112. ring2 = "Bomb Queen Ring",
  113. back = "Gigant mantle",
  114. waist = "Forest sash",
  115. legs = "Dusk trousers +1",
  116. feet = "Dusk ledelsens +1"
  117.  
  118. }
  119.  
  120. sets.midcast.hb =
  121. {
  122. head = "Wyrm armet +1",
  123. legs = "Drachen brais",
  124. body = "wyvern mail",
  125. hands = "Ostreger mitts"
  126. }
  127.  
  128.  
  129.  
  130. sets.ja['Jump'] =
  131. {
  132. head = "Nocturnus Helm",
  133. neck = "Love torque",
  134. ear1 = "Assault Earring",
  135. ear2 = "Brutal Earring",
  136. body = "Nocturnus Mail",
  137. hands = "Hecatomb Mittens +1",
  138. ring1 = "Rajas Ring",
  139. ring2 = "Flame Ring",
  140. waist = "Warwolf Belt",
  141. legs = "Hecatomb Subligar +1",
  142. feet = "Rutter Sabatons",
  143. back = "Cerb. mantle +1"
  144. }
  145.  
  146.  
  147. sets.ja['High Jump'] =
  148. {
  149. head = "Nocturnus Helm",
  150. neck = "Love torque",
  151. ear1 = "Assault Earring",
  152. ear2 = "Brutal Earring",
  153. body = "Nocturnus Mail",
  154. hands = "Hecatomb Mittens +1",
  155. ring1 = "Rajas Ring",
  156. ring2 = "Flame Ring",
  157. waist = "Warwolf Belt",
  158. legs = "Hecatomb Subligar +1",
  159. feet = "Rutter Sabatons",
  160. back = "Cerb. mantle +1"
  161. }
  162.  
  163. sets.ja['Angon'] =
  164. {
  165. ammo = "Angon"
  166. }
  167.  
  168.  
  169.  
  170. sets.ws['Wheeling Thrust'] =
  171. {
  172. head = "Hecatomb cap +1",
  173. neck = "Light Gorget",
  174. ear1 = "Harmonius Earring",
  175. ear2 = "Brutal earring",
  176. body = "Nocturnus Mail",
  177. hands = "Hct. mittens +1",
  178. ring1 = "Rajas Ring",
  179. ring2 = "Flame Ring",
  180. waist = "Warwolf belt",
  181. legs = "Hct. Subligar +1",
  182. feet = "Hct. Leggings +1",
  183. back = "Cerb. mantle +1"
  184. }
  185.  
  186. sets.ws['Geirskogul'] =
  187. {
  188. head = "Hecatomb cap +1",
  189. neck = "Light Gorget",
  190. ear1 = "Harmonius Earring",
  191. ear2 = "Brutal earring",
  192. body = "Nocturnus Mail",
  193. hands = "Hct. mittens +1",
  194. ring1 = "Rajas Ring",
  195. ring2 = "Flame Ring",
  196. waist = "Warwolf belt",
  197. legs = "Hct. Subligar +1",
  198. feet = "Hct. Leggings +1",
  199. back = "Cerb. mantle +1"
  200. }
  201.  
  202. sets.ws['Impulse Drive'] =
  203. {
  204. head = "Hecatomb cap +1",
  205. neck = "Shadow Gorget",
  206. ear1 = "Harmonius Earring",
  207. ear2 = "Brutal earring",
  208. body = "Nocturnus Mail",
  209. hands = "Hct. mittens +1",
  210. ring1 = "Rajas Ring",
  211. ring2 = "Flame Ring",
  212. waist = "Warwolf belt",
  213. legs = "Hct. Subligar +1",
  214. feet = "Hct. Leggings +1",
  215. back = "Cerb. mantle +1"
  216. }
  217.  
  218. sets.ws['Penta Thrust'] =
  219. {
  220. head = "Hecatomb cap +1",
  221. neck = "Love torque",
  222. ear1 = "Assault Earring",
  223. ear2 = "Brutal Earring",
  224. body = "Nocturnus Mail",
  225. hands = "Hct. mittens +1",
  226. ring1 = "Rajas Ring",
  227. ring2 = "Toreador's Ring",
  228. waist = "Virtuoso Belt",
  229. legs = "Hct. Subligar +1",
  230. feet = "Hct. Leggings +1",
  231. back = "Cerb. mantle +1"
  232. }
  233.  
  234. sets.ws['Skewer'] =
  235. {
  236. head = "Hecatomb cap +1",
  237. neck = "Light Gorget",
  238. ear1 = "Harmonius Earring",
  239. ear2 = "Brutal earring",
  240. body = "Nocturnus Mail",
  241. hands = "Hct. mittens +1",
  242. ring1 = "Rajas Ring",
  243. ring2 = "Flame Ring",
  244. waist = "Warwolf belt",
  245. legs = "Hct. Subligar +1",
  246. feet = "Hct. Leggings +1",
  247. back = "Cerb. mantle +1"
  248. }
  249.  
  250.  
  251. sets.ws['Shell Crusher'] =
  252. {
  253. head = "Hecatomb cap +1",
  254. neck = "Ire torque +1",
  255. ear1 = "Harmonius Earring",
  256. ear2 = "Fowling earring",
  257. body = "Zahak's mail",
  258. hands = "Hct. mittens +1",
  259. ring1 = "Rajas Ring",
  260. ring2 = "Harmonius Ring",
  261. waist = "Warwolf belt",
  262. legs = "Hct. Subligar +1",
  263. feet = "Hct. Subligar +1",
  264. back = "Cerb. mantle +1"
  265. }
  266.  
  267. sets.ws['Spirit Taker'] =
  268. {
  269. head = "Maat's Cap",
  270. neck = "Ire torque +1",
  271. ear1 = "Harmonius Earring",
  272. ear2 = "Fowling earring",
  273. body = "Hct. Harness +1",
  274. hands = "Hct. mittens +1",
  275. ring1 = "Rajas Ring",
  276. ring2 = "Harmonius Ring",
  277. waist = "Potent belt",
  278. legs = "Hct. Subligar +1",
  279. feet = "Hct. Leggings +1",
  280. back = "Cerb. mantle +1"
  281. }
  282.  
  283. sets.ws['Full Swing'] =
  284. {
  285. ammo = "Black Tathlum",
  286. head = "Hecatomb cap +1",
  287. neck = "Ire torque +1",
  288. ear1 = "Harmonius Earring",
  289. ear2 = "Harmonious earring",
  290. body = "Hct. Harness +1",
  291. hands = "Hct. mittens +1",
  292. ring1 = "Rajas Ring",
  293. ring2 = "Harmonius Ring",
  294. waist = "Warwolf belt",
  295. legs = "Hct. Subligar +1",
  296. feet = "Hct. Leggings +1",
  297. back = "Cerb. mantle +1"
  298. }
  299.  
  300. sets.ws['Retribution'] =
  301. {
  302. ammo = "Black Tathlum",
  303. head = "Maat's Cap",
  304. neck = "Soil Gorget",
  305. ear1 = "Harmonius Earring",
  306. ear2 = "Harmonious earring",
  307. body = "Hct. Harness +1",
  308. hands = "Hct. mittens +1",
  309. ring1 = "Rajas Ring",
  310. ring2 = "Harmonius Ring",
  311. waist = "Warwolf belt",
  312. legs = "Hct. Subligar +1",
  313. feet = "Hct. Leggings +1",
  314. back = "Cerb. mantle +1"
  315. }
  316.  
  317. sets.offense.atk =
  318. {
  319. ammo = "Black Tathlum",
  320. head = "Walahra Turban",
  321. neck = "Love torque",
  322. ear1 = "Assault Earring",
  323. ear2 = "Brutal Earring",
  324. body = "Askar korazin",
  325. hands = "Dusk gloves +1",
  326. ring1 = "Rajas Ring",
  327. ring2 = "Blitz Ring",
  328. back = "Cerb. Mantle +1",
  329. waist = "Sonic Belt +1",
  330. legs = "Homam Cosciales",
  331. feet = "Dusk ledelsens +1"
  332. }
  333.  
  334. --sets.aftermath.atk =
  335. --{
  336.  
  337. --head = "Ace's Helm"
  338.  
  339. --}
  340.  
  341. sets.offense.acc =
  342. {
  343. ammo = "Black Tathlum",
  344. head = "Ace's Helm",
  345. neck = "Love torque",
  346. ear1 = "Assault Earring",
  347. ear2 = "Brutal Earring",
  348. body = "Nocturnus Mail",
  349. hands = "Dusk gloves +1",
  350. ring1 = "Rajas Ring",
  351. ring2 = "Toreador's Ring",
  352. back = "Cuchulain's Mantle",
  353. waist = "Sonic Belt +1",
  354. legs = "Homam Cosciales",
  355. feet = "Aurum Sabatons"
  356. }
  357.  
  358. sets.defense.mdt =
  359. {
  360. neck = "Twilight Torque",
  361. ring1 = "Merman's Ring",
  362. ring2 = "Merman's Ring",
  363. ear1 = "Merman's earring",
  364. ear2 = "Merman's earring",
  365. back = "Resentment Cape"
  366. }
  367.  
  368. sets.defense.pdt =
  369. {
  370. neck = "Twilight Torque",
  371. body = "Hydra mail +1",
  372. hands = "Dst. Mittens +1",
  373. head = "Darksteel cap 1",
  374. legs = "Hydra cuisses +1",
  375. feet = "Hydra greaves +1",
  376. head = "Nocturnus Helm",
  377. ring1 = "Jelly Ring",
  378. ring2 = "Dark Ring",
  379. back = "Shadow Mantle",
  380. waist = "Black Belt"
  381. }
  382.  
  383. sets.fc =
  384. {
  385. head = "Haruspex Hat",
  386. ear1 = "Loquac. Earring",
  387. legs = "Homam Cosciales"
  388. }
  389.  
  390. sets.midcast['Utsusemi'] =
  391. {
  392. ammo = "White Tathlum",
  393. head = "Walahra Turban",
  394. neck = "Ancient torque",
  395. ear1 = "Assault Earring",
  396. ear2 = "Brutal Earring",
  397. body = "Askar korazin",
  398. hands = "Dusk gloves +1",
  399. ring1 = "Rajas Ring",
  400. ring2 = "Blitz Ring",
  401. back = "Cerb. Mantle +1",
  402. waist = "Sonic Belt +1",
  403. legs = "Homam Cosciales",
  404. feet = "Dusk ledelsens +1"
  405. }
  406.  
  407. organizer_items =
  408. {
  409. ammo = "R. Curry Bun +1",
  410. ammo = "Marinara Pizza +1",
  411. ammo = "Panacea",
  412. ammo = "Shihei",
  413. ammo = "Toolbag (Shihei)",
  414. ammo = "Echo Drops",
  415. ammo = "Holy Water",
  416. ammo = "Remedy",
  417. ammo = "Shinobi-Tabi",
  418. ammo = "Sanjaku-Tenugui",
  419. ammo = "Gungnir"
  420. }
  421.  
  422.  
  423. end
  424.  
  425. function precast(spell)
  426. eq_default_precast(spell)
  427. end
  428.  
  429. function midcast(spell)
  430. eq_default_midcast(spell)
  431. end
  432.  
  433. function aftercast(spell)
  434. eq_default()
  435. end
  436.  
  437. function status_change(new, old)
  438. eq_default()
  439. end
  440.  
  441. function buff_change(status, gain)
  442. eq_default()
  443. end
  444.  
  445. function self_command(command)
  446. -- Follow --
  447. if(command == 'numpad0') then
  448. send_command('stun')
  449. end
  450.  
  451. -- Offense/Defense Toggles --
  452. if(command == 'numpad1') then toggle_offense() end
  453. if(command == 'numpad2') then toggle_defense() end
  454. if(command == 'numpad5') then toggle_aftermath() end
  455.  
  456. if(command == 'std1') then send_command('geirskogul') end
  457. if(command == 'std2') then send_command('ja jump') end
  458. if(command == 'std3') then send_command('highjump') end
  459. if(command == 'std4') then send_command('spiritlink') end
  460. if(command == 'std5') then send_command('superjump') end
  461. if(command == 'std8') then send_command('angon') end
  462. if(command == 'std9') then send_command('gs equip sets.midcast.hb') end
  463. if(command == 'std0') then send_command('gs equip sets.offense.atk') end
  464. if(command == 'std-') then send_command('gs equip sets.offense.acc') end
  465.  
  466. if(player.sub_job == 'SAM') then
  467. if(command == 'ctl1') then send_command('jump') end
  468. if(command == 'ctl2') then send_command('highjump') end
  469. if(command == 'ctl3') then send_command('meditate') end
  470. if(command == 'ctl4') then send_command('') end
  471. if(command == 'ctl5') then send_command('hasso') end
  472. if(command == 'ctl6') then send_command('seigan') end
  473. if(command == 'ctl7') then send_command('thirdeye') end
  474. elseif(player.sub_job == 'WAR') then
  475. if(command == 'ctl1') then send_command('Berserk') end
  476. if(command == 'ctl2') then send_command('Warcry') end
  477. if(command == 'ctl9') then send_command('Provoke') end
  478. if(command == 'ctl0') then send_command('Defender') end
  479.  
  480. elseif(player.sub_job == 'DRK') then
  481. if(command == 'ctl1') then send_command('Berserk') end
  482. if(command == 'ctl2') then send_command('lastresort') end
  483. if(command == 'ctl9') then send_command('weaponbash') end
  484. if(command == 'ctl0') then send_command('Defender') end
  485.  
  486. if(command == 'alt1') then send_command('poison') end
  487. if(command == 'alt2') then send_command('bio') end
  488. if(command == 'alt3') then send_command('bind') end
  489. if(command == 'alt0') then send_command('stun') end
  490. elseif(player.sub_job == 'NIN') then
  491. if(command == 'ctl1') then send_command('utsusemini') end
  492. if(command == 'ctl2') then send_command('utsusemiichi') end
  493. elseif(player.sub_job == 'RDM') then
  494. if(command == 'alt1') then send_command('stone') end
  495. if(command == 'alt2') then send_command('barfire me') end
  496. if(command == 'alt3') then send_command('dia') end
  497. if(command == 'alt0') then send_command('protect2 me') end
  498.  
  499. elseif(player.sub_job == 'WHM') then
  500. if(command == 'alt1') then send_command('barstonra me') end
  501. if(command == 'alt2') then send_command('barfira me') end
  502. if(command == 'alt3') then send_command('dia') end
  503. if(command == 'alt0') then send_command('protect2 me') end
  504.  
  505. elseif(player.sub_job == 'BLU') then
  506. if(command == 'alt1') then send_command('headbutt') end
  507. if(command == 'alt2') then send_command('footkick') end
  508. if(command == 'alt3') then send_command('cocoon me') end
  509. if(command == 'alt0') then send_command('protect2 me') end
  510. end
  511. end
RAW Paste Data