SHARE
TWEET

GS_Drg

ErC8D Sep 23rd, 2014 (edited) 597 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Basic DRG GS file, tested and debugged.
  2.  
  3. function get_sets()
  4.  
  5. sets.JA = {}
  6.  
  7. sets.JA['Spirit Surge'] = {body="Pteroslaver Mail +1"}
  8. sets.JA['Call Wyvern'] = {body="Pteroslaver Mail +1"}
  9. sets.JA['Ancient Cirlce'] = {legs="Vishap Brais +1"}
  10. sets.JA['Jump'] = {body="Vishap Mail +1",feet="Vishap Greaves +1"}
  11. sets.JA['Spirit Link'] = {head="Vishap Armet +1",hands="Lancer's Vambraces +2"}
  12. sets.JA['High Jump'] = {body="Vishap Mail +1",feet="Vishap Greaves +1"}
  13. sets.JA['Deep Breathing'] = {head="Pteroslaver Armet +1"}
  14. sets.JA['Angon'] = {ammo="Angon",hands="Pteroslaver Finger Gauntlets +1"}
  15. sets.JA['Spirit Jump'] = {body="Lancer's Plackart +2"}
  16. sets.JA['Soul Jump'] = {body="Lancer's Plackart +2"}
  17.  
  18. sets. TP = {}
  19. sets.TP.index = {'Reg','Acc','DT'}
  20. TP_Index = 1
  21.  
  22.  
  23. sets.TP.Reg = {ammo="Ginsen",
  24.                         head="Otomi Helm",neck="Asperity Necklace",ear1="Brutal Earring",ear2="Tripudio Earring",
  25.                         body="Xaddi Mail",hands="Xaddi Gauntlets",ring1="Rajas Ring",ring2="K'ayre Ring",
  26.                         back="Updraft Mantle",waist="Windbuffet Belt +1",legs="Xaddi Cuisses",feet="Ejekamal Boots"}
  27.                        
  28. sets.TP.Acc = {ammo="Ginsen",
  29.                         head="Yaoyotl Helm",neck="Iqabi Necklace",ear1="Brutal Earring",ear2="Tripudio Earring",
  30.                         body="Xaddi Mail",hands="Xaddi Gauntlets",ring1="Patricius Ring",ring2="Beeline Ring",
  31.                         back="Updraft Mantle",waist="Olensi Belt",legs="Xaddi Cuisses",feet="Whirlpool Greaves"}
  32.                        
  33. sets.TP.DT = {ammo="Ginsen",head="Ighwa Cap",
  34.                         body="Mikinaak Breastplate",neck="Twilight Torque",hands="Umuthi Gloves",ring1="Defending Ring",
  35.                         ring2="Patricius Ring",back="Mollusca Mantle",waist="Flume Belt",legs="Xaddi Cuisses",feet="Cizin Greaves +1"}
  36.                        
  37.  
  38.  
  39.  
  40. sets.Star = {}
  41. sets.Star.index = {'Reg','Acc'}
  42. Star_Index = 1
  43.  
  44. sets.Star.Reg = {ammo="Ginsen",
  45.                                 body="Xaddi Mail",neck="Light Gorget",ear1="Brutal Earring",ear2="Moonshade Earring",
  46.                                 hands="Mikinaak Gauntlets",ring1="Ifrit Ring",ring2="Ifrit Ring",back="Buquwik Cape",
  47.                                 waist="Light Belt",legs="Scuffler's Cosciales",feet="Ejekamal Boots"}
  48.  
  49. sets.Star.Acc = set_combine(sets.Star.Reg,{ring1="Rajas Ring",legs="Mikinaak Cuisses",back="Updraft Mantle"})
  50.  
  51. sets.Star.GH = set_combine(sets.Star.Reg,{head="Gavialis Helm"})
  52. sets.Star.R = set_combine(sets.Star.Reg,{neck="Ygnas's Resolve +1"})
  53.  
  54. sets.Drake = {}
  55. sets.Drake.index = {'Reg','Acc'}
  56. Drake_Index = 1
  57.  
  58. sets.Drake.Reg = {ammo="Ginsen",
  59.                                 body="Xaddi Mail",neck="Light Gorget",ear1="Brutal Earring",ear2="Moonshade Earring",
  60.                                 hands="Mikinaak Gauntlets",ring1="Ifrit Ring",ring2="Ifrit Ring",back="Rancorous Mantle",
  61.                                 waist="Light Belt",legs="Scuffler's Cosciales",feet="Ejekamal Boots"}
  62.  
  63. sets.Drake.Acc = set_combine(sets.Drake.Reg,{ring1="Rajas Ring",back="Updraft Mantle",legs="Mikinaak Cuisses"})
  64.  
  65. sets.Drake.GH = set_combine(sets.Drake.Reg,{head="Gavialis Helm"})
  66. sets.Drake.R = set_combine(sets.Drake.Reg,{neck="Ygnas Resolve +1"})
  67.  
  68. sets.Caml = {}
  69. sets.Caml.index = {'Reg','Acc'}
  70. Caml_Index = 1
  71.  
  72. sets.Caml.Reg = {ammo="Ginsen",
  73.                                 head="Otomi Helm",neck="Light Gorget",ear1="Brutal Earring",ear2="Moonshade Earring",
  74.                                 body="Phorcys Korazin",hands="Mikinaak Gauntlets",ring1="Ifrit Ring",ring2="Ifrit Ring",
  75.                                 back="Buquwik Cape",waist="Light Belt",legs="Scuffler's Cosciales",feet="Ejekamal Boots"}
  76.  
  77. sets.Caml.Acc = set_combine(sets.Caml.Reg,{head="Yaoyotl Helm",body="Xaddi Mail",ring1="Rajas Ring",
  78.                                 back="Updraft Mantle",legs="Mikinaak Cuisses"})
  79.  
  80. sets.Caml.GH = set_combine(sets.Caml.Reg,{head="Gavialis Helm"})               
  81. sets.Caml.R = set_combine(sets.Caml.Reg,{neck="Ygnas's Resolve +1"})           
  82.                                
  83. sets.Sonic = {}
  84. sets.Sonic.index = {'Reg','Acc'}
  85. Sonic_Index = 1
  86.  
  87. sets.Sonic.Reg = {ammo="Ginsen",
  88.                                 head="Otomi Helm",neck="Light Gorget",ear1="Brutal Earring",ear2="Moonshade Earring",
  89.                                 body="Phorcys Korazin",hands="Mikinaak Gauntlets",ring1="Ifrit Ring",ring2="Ifrit Ring",
  90.                                 back="Buquwik Cape",waist="Light Belt",legs="Scuffler's Cosciales",feet="Ejekamal Boots"}
  91.  
  92. sets.Sonic.Acc = set_combine(sets.Sonic.Reg,{head="Yaoyotl Helm",body="Xaddi Mail",ring1="Rajas Ring",
  93.                                 back="Updraft Mantle",legs="Mikinaak Cuisses"})
  94.  
  95. sets.Sonic.GH = set_combine(sets.Sonic.Reg,{head="Gavialis Helm"})
  96. sets.Sonic.R = set_combine(sets.Sonic.Reg,{neck="Ygnas's Resolve +1"})
  97.                                
  98. end
  99.  
  100. function precast(spell,act)
  101.  
  102.         if spell.type == 'JobAbility' then
  103.                 if sets.JA[spell.english] then
  104.                         equip(sets.JA[spell.english])
  105.                 end
  106.         end
  107.  
  108.         if spell.english == "Stardiver" then
  109.         equip(sets.Star[sets.Star.index[Star_Index]])
  110.         end
  111.  
  112.         if spell.english == "Drakesbane" then
  113.         equip(sets.Drake[sets.Drake.index[Drake_Index]])
  114.         end
  115.  
  116.         if spell.english == "Sonic Thrust" then
  117.         equip(sets.Sonic[sets.Sonic.index[Sonic_Index]])
  118.         end
  119.  
  120.         if spell.english == "Camlann's Torment" then
  121.         equip(sets.Caml[sets.Caml.index[Caml_Index]])
  122.         end
  123.  
  124.         if buffactive['Reive Mark'] and spell.english == "Stardiver" then
  125.         equip(sets.Star.R)
  126.         end
  127.  
  128.         if buffactive['Reive Mark'] and spell.english == "Drakesbane" then
  129.         equip(sets.Drake.R)
  130.         end
  131.  
  132.         if buffactive['Reive Mark'] and spell.english == "Sonic Thrust" then
  133.         equip(sets.Sonic.R)
  134.         end
  135.  
  136.         if buffactive['Reive Mark'] and spell.english == "Camlann's Torment" then
  137.         equip(sets.Caml.R)
  138.         end
  139.  
  140.         if spell.english == "Stardiver" and (world.day == "Earthsday" or world.day == "Darksday" or world.day == "Lightsday") then
  141.         equip(sets.Star.GH)
  142.         end
  143.  
  144.         if spell.english == "Drakesbane" and (world.day == "Firesday" or world.day == "Lightsday") then
  145.         equip(sets.Drake.GH)
  146.         end
  147.  
  148.         if spell.english == "Sonic Thrust" and (world.day == "Lightsday" or world.day == "Earthsday") then
  149.         equip(sets.Sonic.GH)
  150.         end
  151.  
  152.         if spell.english == "Camlann's Torment" and (world.day == "Lightsday" or world.day == "Windsday" or world.day == "Lightiningday") then
  153.         equip(sets.Caml.GH)
  154.         end
  155.  
  156. end
  157.  
  158. function midcast(spell,act)
  159.  
  160.         if spell.type == 'JobAbility' then
  161.                 if sets.JA[spell.english] then
  162.                         equip(sets.JA[spell.english])
  163.                 end
  164.         end
  165.  
  166.         if spell.english == "Stardiver" then
  167.         equip(sets.Star[sets.Star.index[Star_Index]])
  168.         end
  169.  
  170.         if spell.english == "Drakesbane" then
  171.         equip(sets.Drake[sets.Drake.index[Drake_Index]])
  172.         end
  173.  
  174.         if spell.english == "Sonic Thrust" then
  175.         equip(sets.Sonic[sets.Sonic.index[Sonic_Index]])
  176.         end
  177.  
  178.         if spell.english == "Camlann's Torment" then
  179.         equip(sets.Caml[sets.Caml.index[Caml_Index]])
  180.         end
  181.  
  182.         if buffactive['Reive Mark'] and spell.english == "Stardiver" then
  183.         equip(sets.Star.R)
  184.         end
  185.  
  186.         if buffactive['Reive Mark'] and spell.english == "Drakesbane" then
  187.         equip(sets.Drake.R)
  188.         end
  189.  
  190.         if buffactive['Reive Mark'] and spell.english == "Sonic Thrust" then
  191.         equip(sets.Sonic.R)
  192.         end
  193.  
  194.         if buffactive['Reive Mark'] and spell.english == "Camlann's Torment" then
  195.         equip(sets.Caml.R)
  196.         end
  197.  
  198.         if spell.english == "Stardiver" and (world.day == "Earthsday" or world.day == "Darksday" or world.day == "Lightsday") then
  199.         equip(sets.Star.GH)
  200.         end
  201.  
  202.         if spell.english == "Drakesbane" and (world.day == "Firesday" or world.day == "Lightsday") then
  203.         equip(sets.Drake.GH)
  204.         end
  205.  
  206.         if spell.english == "Sonic Thrust" and (world.day == "Lightsday" or world.day == "Earthsday") then
  207.         equip(sets.Sonic.GH)
  208.         end
  209.  
  210.         if spell.english == "Camlann's Torment" and (world.day == "Lightsday" or world.day == "Windsday" or world.day == "Lightiningday") then
  211.         equip(sets.Caml.GH)
  212.         end
  213. end
  214.  
  215. function aftercast(spell,act)
  216.         if player.status == 'Engaged' then
  217.                 equip(sets.TP[sets.TP.index[TP_Index]])
  218.         end
  219.        
  220.         if player.status == 'Engaged' and buffactive['Reive Mark'] then
  221.                 equip{neck="Ygnas's Resolve +1"}
  222.     end
  223. end
  224.  
  225. function buff_change(new,old)
  226.  
  227. if player.status == 'Engaged' and buffactive['Reive Mark'] then
  228.                 equip{neck="Ygnas's Resolve +1"}
  229.         end
  230.  
  231. end
  232.  
  233. function status_change(new,old)
  234.  
  235. if player.status == 'Engaged' then
  236.                 equip(sets.TP[sets.TP.index[TP_Index]])
  237.         end
  238.        
  239. if player.status == 'Engaged' and buffactive['Reive Mark'] then
  240.                 equip{neck="Ygnas's Resolve +1"}
  241.     end
  242. end
  243.  
  244.  
  245.  
  246. function self_command(command)
  247.  
  248.         if command == 'toggle TP set' then     
  249.                 TP_Index = TP_Index +1
  250.                 if TP_Index > #sets.TP.index then TP_Index = 1 end
  251.                 send_command('@ input /echo >>> TP set changed to: '..sets.TP.index[TP_Index]..' ')
  252.                 equip(sets.TP[sets.TP.index[TP_Index]])
  253.  
  254.         elseif command == 'toggle WS set' then
  255.                 Star_Index = Star_Index +1
  256.                 if Star_Index > #sets.Star.index then Star_Index = 1 end
  257.                 Drake_Index = Drake_Index +1
  258.                 if Drake_Index > #sets.Drake.index then Drake_Index = 1 end
  259.                 Sonic_Index = Sonic_Index +1
  260.                 if Sonic_Index > #sets.Sonic.index then Sonic_Index = 1 end
  261.                 Caml_Index = Caml_Index +1
  262.                 if Caml_Index > #sets.Caml.index then Caml_Index = 1 end
  263.                 send_command('@ input /echo >>> WS sets changed to '..sets.Star.index[Star_Index]..' ')
  264.         end
  265.                
  266.         end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top