Advertisement
BeaztBLORB

SIMPLE BST LUA

Aug 25th, 2015
9,541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.69 KB | None | 0 0
  1. -------------------------------------------------------------------------------------------------------------------
  2. -- ctrl+F12 cycles Idle modes
  3.  
  4.  
  5. -------------------------------------------------------------------------------------------------------------------
  6.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  7.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  8.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  9.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  10.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  11.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  12.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  13.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  14.                             -- THE STUFF YOU CARE ABOUT STARTS AFTER LINE 101 --
  15. -------------------------------------------------------------------------------------------------------------------
  16. -- Initialization function that defines sets and variables to be used.
  17. -------------------------------------------------------------------------------------------------------------------
  18.  
  19. -- IMPORTANT: Make sure to also get the Mote-Include.lua file (and its supplementary files) to go with this.
  20.  
  21. -- Initialization function for this job file.
  22. function get_sets()
  23.     mote_include_version = 2
  24.  
  25.     -- Load and initialize the include file.
  26.     include('Mote-Include.lua')
  27. end
  28.  
  29. function job_setup()
  30.  
  31.     get_combat_form()
  32.  
  33. end
  34.  
  35.  
  36. function user_setup()
  37.         state.IdleMode:options('Normal', 'Reraise')
  38.         state.OffenseMode:options('Normal', 'PetDT')
  39.         state.CorrelationMode = M{['description']='Correlation Mode', 'Neutral', 'HighAcc', 'MaxAcc',}
  40.         send_command('bind ^f8 gs c cycle CorrelationMode')
  41.        
  42.  
  43.        
  44.  end
  45.      
  46.  
  47. -- Complete list of Ready moves to use with Sic & Ready Recast -5 Desultor Tassets.
  48. ready_moves_to_check = S{'Sic','Whirl Claws','Dust Cloud','Foot Kick','Sheep Song','Sheep Charge','Lamb Chop',
  49.     'Rage','Head Butt','Scream','Dream Flower','Wild Oats','Leaf Dagger','Claw Cyclone','Razor Fang',
  50.     'Roar','Gloeosuccus','Palsy Pollen','Soporific','Cursed Sphere','Venom','Geist Wall','Toxic Spit',
  51.     'Numbing Noise','Nimble Snap','Cyclotail','Spoil','Rhino Guard','Rhino Attack','Power Attack',
  52.     'Hi-Freq Field','Sandpit','Sandblast','Venom Spray','Mandibular Bite','Metallic Body','Bubble Shower',
  53.     'Bubble Curtain','Scissor Guard','Big Scissors','Grapple','Spinning Top','Double Claw','Filamented Hold',
  54.     'Frog Kick','Queasyshroom','Silence Gas','Numbshroom','Spore','Dark Spore','Shakeshroom','Blockhead',
  55.     'Secretion','Fireball','Tail Blow','Plague Breath','Brain Crush','Infrasonics','??? Needles',
  56.     'Needleshot','Chaotic Eye','Blaster','Scythe Tail','Ripper Fang','Chomp Rush','Intimidate','Recoil Dive',
  57.     'Water Wall','Snow Cloud','Wild Carrot','Sudden Lunge','Spiral Spin','Noisome Powder','Wing Slap',
  58.     'Beak Lunge','Suction','Drainkiss','Acid Mist','TP Drainkiss','Back Heel','Jettatura','Choke Breath',
  59.     'Fantod','Charged Whisker','Purulent Ooze','Corrosive Ooze','Tortoise Stomp','Harden Shell','Aqua Breath',
  60.     'Sensilla Blades','Tegmina Buffet','Molting Plumage','Swooping Frenzy','Pentapeck','Sweeping Gouge',
  61.     'Zealous Snort','Somersault ','Tickling Tendrils','Stink Bomb','Nectarous Deluge','Nepenthic Plunge',
  62.         'Pecking Flurry','Pestilent Plume','Foul Waters','Spider Web','Sickle Slash','Frogkick','Ripper Fang','Scythe Tail','Chomp Rush'}
  63.  
  64.        
  65. mab_ready_moves = S{
  66.      'Cursed Sphere','Venom','Toxic Spit',
  67.      'Venom Spray','Bubble Shower',
  68.      'Fireball','Plague Breath',
  69.      'Snow Cloud','Acid Spray','Silence Gas','Dark Spore',
  70.      'Charged Whisker','Purulent Ooze','Aqua Breath','Stink Bomb',
  71.      'Nectarous Deluge','Nepenthic Plunge','Foul Waters','Dust Cloud','Sheep Song','Scream','Dream Flower','Roar','Gloeosuccus','Palsy Pollen',
  72.      'Soporific','Geist Wall','Numbing Noise','Spoil','Hi-Freq Field',
  73.      'Sandpit','Sandblast','Filamented Hold',
  74.      'Spore','Infrasonics','Chaotic Eye',
  75.      'Blaster','Intimidate','Noisome Powder','TP Drainkiss','Jettatura','Spider Web',
  76.      'Corrosive Ooze','Molting Plumage','Swooping Frenzy',
  77.      'Pestilent Plume',}
  78.  
  79.  
  80. -- List of abilities to reference for applying Treasure Hunter +1 via Chaac Belt.
  81.  
  82.  
  83. function file_unload()
  84.     if binds_on_unload then
  85.         binds_on_unload()
  86.     end
  87.  
  88.     -- Unbinds the Jug Pet, Reward, Correlation, Treasure, PetMode, MDEF Mode hotkeys.
  89.     send_command('unbind !=')
  90.     send_command('unbind ^=')
  91.     send_command('unbind !f8')
  92.     send_command('unbind ^f8')
  93.     send_command('unbind @f8')
  94.     send_command('unbind ^f11')
  95. end
  96.  
  97.  
  98.  
  99.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  100.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  101.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  102.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  103.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  104.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  105.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  106.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  107.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  108.         -- HERE IS THE BEGINNING OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED FOR EDITING GEAR --
  109.        
  110.  
  111. -- BST gearsets
  112. function init_gear_sets()
  113.  
  114.  
  115.     -- PRECAST SETS
  116.         sets.precast.JA['Killer Instinct'] = {head="Ankusa Helm +1"}
  117.        
  118.         sets.precast.JA['Bestial Loyalty'] = {hands="Ankusa Gloves",body="Mirke Wardecors",}
  119.        
  120.         sets.precast.JA['Call Beast'] = sets.precast.JA['Bestial Loyalty']
  121.        
  122.         sets.precast.JA.Familiar = {legs="Ankusa Trousers"}
  123.        
  124.         sets.precast.JA.Tame = {head="Totemic Helm +1",}
  125.        
  126.         sets.precast.JA.Spur = {feet="Nukumi Ocreae +1"}
  127.  
  128.        
  129.     --This is what will equip when you use Reward.  No need to manually equip Pet Food Theta.
  130.         sets.precast.JA.Reward = {
  131.                 ammo="Pet Food Theta",
  132.                 ring1="Aquasoul Ring",
  133.                 head="Stout Bonnet",
  134.                 neck="Aife's Medal",
  135.                 ear1="Lifestorm Earring",
  136.                 ear2="Neptune's Pearl",
  137.                 body="Totemic Jackcoat +1",
  138.                 hands="Leyline Gloves",
  139.                 ring2="Aquasoul Ring",
  140.                 back="Pastoralist's Mantle",
  141.                 waist="Crudelis Belt",
  142.                 legs="Ankusa Trousers",
  143.                 feet="Ankusa Gaiters"}
  144.  
  145.     --This is your base FastCast set that equips during precast for all spells/magic.
  146.     sets.precast.FC = {
  147.                 ring2="Lebeche Ring",
  148.                 ammo="Impatiens",
  149.                 neck="Voltsurge Torque",
  150.                 head={ name="Taeon Chapeau", augments={'"Fast Cast"+2',}},
  151.                 body={ name="Taeon Tabard", augments={'Pet: "Mag.Atk.Bns."+23','"Fast Cast"+4',}},
  152.                 hands="Leyline Gloves",
  153.                 legs={ name="Taeon Tights", augments={'Pet: DEF+17','"Fast Cast"+4',}},
  154.                 feet={ name="Taeon Boots", augments={'Pet: "Mag.Atk.Bns."+24','"Fast Cast"+2',}},
  155.                 ring1="Prolix Ring",
  156.                 waist="Ninurta's Sash",}
  157.            
  158.                    
  159.     sets.midcast.Stoneskin = {
  160.             head="Taeon Chapeau",
  161.             neck="Stone Gorget",
  162.             ear1="Earthcry Earring",
  163.             ear2="Lifestorm Earring",
  164.             body="Totemic Jackcoat +1",
  165.             hands="Stone Mufflers",
  166.             ring1="Aquasoul Ring",
  167.             ring2="Aquasoul Ring",
  168.             back="Pastoralist's Mantle",
  169.             waist="Crudelis Belt",
  170.             legs="Haven Hose",
  171.             feet="Amm Greaves"}
  172.  
  173.                
  174.         -- WEAPONSKILLS
  175.        
  176.        
  177.         -- Default weaponskill set.
  178.     sets.precast.WS = {
  179.             ammo="Cheruski Needle",
  180.             head="Nukumi Cabasset +1",
  181.             neck="Asperity Necklace",
  182.             ear1="Flame Pearl",
  183.             ear2="Brutal Earring",
  184.             body="Nukumi Gausape +1",
  185.             hands="Boor Bracelets",
  186.             ring1="Pyrosoul Ring",
  187.             ring2="Ifrit Ring",
  188.             back="Buquwik Cape",
  189.             waist="Windbuffet Belt +1",
  190.             legs="Nukumi Quijotes +1",
  191.             feet="Nukumi Ocreae +1"}
  192.  
  193.    
  194.         -- Specific weaponskill sets.
  195.     sets.precast.WS['Ruinator'] = set_combine(sets.precast.WS, {neck="Breeze Gorget"})
  196.                
  197.     sets.precast.WS['Onslaught'] = set_combine(sets.precast.WS, {
  198.             ammo="Floestone",
  199.             neck="Justiciar's Torque",
  200.             ear1="Tati Earring +1",
  201.             ear2="Brutal Earring",
  202.             body="Mes'yohi Haubergeon",
  203.             hands="Nomkahpa Mittens +1",
  204.             ring1="Ramuh Ring +1",
  205.             back="Vespid Mantle",
  206.             legs="Mikinaak Cuisses",
  207.             feet="Vanir Boots"})
  208.            
  209.        
  210.     sets.precast.WS['Primal Rend'] = {
  211.             head="Taeon Chapeau",
  212.             body="Tot. Jackcoat +1",
  213.             hands="Leyline Gloves",
  214.             legs="Taeon Tights",
  215.             feet="Taeon Boots",
  216.             neck="Stoicheion Medal",
  217.             waist="Salire Belt",
  218.             left_ear="Hecate's Earring",
  219.             right_ear="Friomisi Earring",
  220.             left_ring="Epona's Ring",
  221.             right_ring="Rajas Ring",
  222.             back="Argocham. Mantle",}
  223.  
  224.    
  225.        
  226.     sets.precast.WS['Cloudsplitter'] = set_combine(sets.precast.WS['Primal Rend'],{ammo="Erlene's Notebook",
  227.             head="Highwing Helm",
  228.             neck="Stoicheion Medal",
  229.             ear1="Moonshade Earring",
  230.             ear2="Friomisi Earring",
  231.             body="Taeon Tabard",
  232.             hands="Taeon Gloves",
  233.             ring1="Acumen Ring",
  234.             ring2="Carb. Ring",
  235.             back="Toro Cape",
  236.             waist="Salire Belt",
  237.             legs="Taeon Tights",
  238.             feet="Taeon Boots",})
  239.  
  240.     -- PET SIC & READY MOVES
  241.  
  242.  
  243. --This is your base Ready move set, activating for physical Ready moves. Merlin/D.Tassets are accounted for already.
  244.     sets.midcast.Pet.WS = {
  245.             main="Arktoi",
  246.             ammo="Demonry Core",
  247.             neck="Empath Necklace",
  248.             ear1="Sabong Earring",
  249.             head="Despair Helm",
  250.             body={ name="Acro Surcoat", augments={'Pet: Attack+24 Pet: Rng.Atk.+24','Pet: "Dbl. Atk."+5',}},
  251.             hands="Nukumi Manoplas +1",
  252.             legs={ name="Acro Breeches", augments={'Pet: Attack+22 Pet: Rng.Atk.+22','Pet: "Dbl. Atk."+3',}},
  253.             feet={ name="Acro Leggings", augments={'Pet: Attack+23 Pet: Rng.Atk.+23','Pet: "Dbl. Atk."+3',}},
  254.             back="Pastoralist's Mantle",
  255.             ring1="Thurandaut Ring",
  256.             ear2="Domesticator's Earring",
  257.             sub="Digirbalag",
  258.             waist="Hurch'lan Sash",}
  259.    
  260.     sets.midcast.Pet.Neutral = set_combine(sets.midcast.Pet.WS, {  
  261.             main="Arktoi",
  262.             ammo="Demonry Core",
  263.             neck="Empath Necklace",
  264.             ear1="Sabong Earring",
  265.             head="Despair Helm",
  266.             body={ name="Acro Surcoat", augments={'Pet: Attack+24 Pet: Rng.Atk.+24','Pet: "Dbl. Atk."+5',}},
  267.             hands="Nukumi Manoplas +1",
  268.             legs={ name="Acro Breeches", augments={'Pet: Attack+22 Pet: Rng.Atk.+22','Pet: "Dbl. Atk."+3',}},
  269.             feet={ name="Acro Leggings", augments={'Pet: Attack+23 Pet: Rng.Atk.+23','Pet: "Dbl. Atk."+3',}},
  270.             back="Pastoralist's Mantle",
  271.             ring1="Thurandaut Ring",
  272.             ear2="Domesticator's Earring",
  273.             sub="Digirbalag",
  274.             waist="Hurch'lan Sash",})
  275.            
  276.            
  277.     sets.midcast.Pet.HighAcc = set_combine(sets.midcast.Pet.WS, {
  278.             main="Odium",
  279.             ear1="Handler's Earring +1",
  280.             head="Despair Helm",
  281.             body="Valorous Mail",
  282.             legs="Wisent Kecks",
  283.             feet="Valorous Greaves",
  284.             hands="Nukumi Manoplas +1",
  285.             ammo="Demonry Core",
  286.             neck="Empath Necklace",
  287.             waist="Incarnation Sash",
  288.             ear2="Handler's Earring",
  289.             sub="Digirbalag",
  290.             ring1="Thurandaut Ring",
  291.             back="Pastoralist's Mantle",})
  292.            
  293.     sets.midcast.Pet.MaxAcc = set_combine(sets.midcast.Pet.WS, {
  294.             main="Malevolence",
  295.             ear1="Handler's Earring +1",
  296.             head="Valorous Mask",
  297.             body="Valorous Mail",
  298.             legs="Wisent Kecks",
  299.             feet="Valorous Greaves",
  300.             hands="Nukumi Manoplas +1",
  301.             ammo="Demonry Core",
  302.             neck="Empath Necklace",
  303.             waist="Incarnation Sash",
  304.             ear2="Handler's Earring",
  305.             sub="Digirbalag",
  306.             ring1="Thurandaut Ring",
  307.             back="Pastoralist's Mantle",})
  308.  
  309. --This will equip for Magical Ready moves like Fireball
  310.     sets.midcast.Pet.MabReady = set_combine(sets.midcast.Pet.WS, {
  311.             main="Skullrender",
  312.             head={ name="Taeon Chapeau", augments={'Pet: "Mag.Atk.Bns."+24',}},
  313.             body={ name="Taeon Tabard", augments={'Pet: "Mag.Atk.Bns."+23','"Fast Cast"+4',}},
  314.             hands={ name="Acro Gauntlets", augments={'Pet: "Mag.Atk.Bns."+24',}},
  315.             legs={ name="Acro Breeches", augments={'Pet: Mag. Acc.+24',}},
  316.             feet={ name="Taeon Boots", augments={'Pet: "Mag.Atk.Bns."+24','"Fast Cast"+2',}},
  317.             back="Argocham. Mantle",
  318.             sub={ name="Kumbhakarna", augments={'Pet: "Mag.Atk.Bns."+16','Pet: TP Bonus+180',}},
  319.             ring1="Thurandaut Ring",})
  320.    
  321.    
  322.     sets.midcast.Pet.TPBonus = {hands="Nukumi Manoplas +1",}
  323.        
  324.     sets.midcast.Pet.ReadyRecast = {main="Charmer's Merlin",legs="Desultor Tassets",}
  325.  
  326.      
  327.        
  328.         -- IDLE SETS (TOGGLE between RERAISE and NORMAL with CTRL+F12)
  329.        
  330.        
  331.         -- Base Idle Set (when you do NOT have a pet out)
  332.     sets.idle = {
  333.             main="Kumbhakarna",
  334.             head="Anwig Salade",
  335.             ring2="Succor Ring",
  336.             neck="Empath Necklace",
  337.             ear2="Handler's Earring +1",
  338.             ammo="Demonry Core",
  339.             body="Acro Surcoat",
  340.             hands="Acro Gauntlets",
  341.             legs="Nukumi Quijotes +1",
  342.             feet="Skadi's Jambeaux +1",
  343.             ring1="Thurandaut Ring",
  344.             sub="Astolfo",
  345.             back="Pastoralist's Mantle",
  346.             waist="Isa Belt",
  347.             ear1="Handler's Earring",}
  348.  
  349.            
  350.     sets.idle.Reraise = set_combine(sets.idle, {head="Twilight Helm",body="Twilight Mail"})
  351.  
  352.    
  353.         -- Idle Set that equips when you have a pet out and not fighting an enemy.
  354.     sets.idle.Pet = set_combine(sets.idle, {
  355.             main="Izizoeksi",
  356.             ear2="Handler's Earring +1",
  357.             ring2="Succor Ring",
  358.             head="Anwig Salade",
  359.             neck="Empath Necklace",
  360.             ammo="Demonry Core",
  361.             body="Acro Surcoat",
  362.             hands="Acro Gauntlets",
  363.             legs="Nukumi Quijotes +1",
  364.             feet="Skadi's Jambeaux +1",
  365.             ring1="Thurandaut Ring",
  366.             sub="Astolfo",
  367.             back="Pastoralist's Mantle",
  368.             waist="Isa Belt",
  369.             ear1="Handler's Earring",})
  370.        
  371.         -- Idle set that equips when you have a pet out and ARE fighting an enemy.
  372.     sets.idle.Pet.Engaged = set_combine(sets.idle, {
  373.             main="Izizoeksi",
  374.             head="Anwig Salade",
  375.             neck="Empath Necklace",
  376.             ammo="Demonry Core",
  377.             ear2="Handler's Earring +1",
  378.             ring1="Thurandaut Ring",
  379.             body="Acro Surcoat",
  380.             hands="Acro Gauntlets",
  381.             legs="Nukumi Quijotes +1",
  382.             feet="Acro Leggings",
  383.             sub="Astolfo",
  384.             back="Pastoralist's Mantle",
  385.             waist="Isa Belt",
  386.             ring2="Succor Ring",
  387.             ear1="Handler's Earring",})
  388.        
  389.  
  390.  
  391.         -- MELEE (SINGLE-WIELD) SETS
  392.    
  393.     sets.engaged = {
  394.             main="Aymur",
  395.             ammo="Ginsen",
  396.             head={ name="Taeon Chapeau", augments={'Accuracy+23','"Triple Atk."+2',}},
  397.             neck="Asperity Necklace",
  398.             ear1="Handler's Earring",
  399.             body="Nukumi Gausape +1",
  400.             hands={ name="Taeon Gloves", augments={'Accuracy+20 Attack+20','"Triple Atk."+2',}},
  401.             ring1="Epona's Ring",
  402.             ring2="Rajas Ring",
  403.             back="Bleating Mantle",
  404.             waist="Windbuffet Belt +1",
  405.             ear2="Handler's Earring +1",
  406.             legs={ name="Taeon Tights", augments={'Accuracy+17 Attack+17','"Triple Atk."+2',}},
  407.             feet={ name="Taeon Boots", augments={'Accuracy+25','"Triple Atk."+2','CHR+9',}},}
  408.            
  409.     sets.engaged.PetDT = {
  410.             main="Odium",
  411.             ammo="Ginsen",
  412.             head={ name="Taeon Chapeau", augments={'Accuracy+23','"Triple Atk."+2',}},
  413.             neck="Asperity Necklace",
  414.             ear1="Handler's Earring",
  415.             body="Nukumi Gausape +1",
  416.             hands={ name="Taeon Gloves", augments={'Accuracy+20 Attack+20','"Triple Atk."+2',}},
  417.             ring1="Epona's Ring",
  418.             ring2="Rajas Ring",
  419.             back="Bleating Mantle",
  420.             waist="Windbuffet Belt +1",
  421.             ear2="Handler's Earring +1",
  422.             legs={ name="Taeon Tights", augments={'Accuracy+17 Attack+17','"Triple Atk."+2',}},
  423.             feet={ name="Taeon Boots", augments={'Accuracy+25','"Triple Atk."+2','CHR+9',}},}
  424.                
  425.          -- MELEE (DUAL-WIELD) SETS FOR DNC AND NIN SUBJOB
  426.        
  427.     sets.engaged.DW = {
  428.             main="Aymur",
  429.             sub="Kumbhakarna",
  430.             head="Taeon Chapeau",
  431.             body="Tot. Jackcoat +1",
  432.             hands="Taeon Gloves",
  433.             legs="Taeon Tights",
  434.             feet="Taeon Boots",
  435.             neck="Asperity Necklace",
  436.             waist="Patentia Sash",
  437.             ear1="Dudgeon Earring",
  438.             ear2="Heartseeker Earring",
  439.             ring1="Epona's Ring",
  440.             ring2="Rajas Ring",
  441.             back="Atheling Mantle",}
  442.            
  443.     sets.engaged.DW.PetDT = {
  444.             main="Malevolence",
  445.             sub="Odium",
  446.             head="Taeon Chapeau",
  447.             body="Tot. Jackcoat +1",
  448.             hands="Taeon Gloves",
  449.             legs="Taeon Tights",
  450.             feet="Taeon Boots",
  451.             neck="Asperity Necklace",
  452.             waist="Patentia Sash",
  453.             ear1="Dudgeon Earring",
  454.             ear2="Heartseeker Earring",
  455.             ring1="Epona's Ring",
  456.             ring2="Rajas Ring",
  457.             back="Atheling Mantle",}
  458.    
  459.            
  460.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  461.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  462.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  463.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  464.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  465.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  466.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  467.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  468.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  469.             -- THIS IS THE END OF THE GEARSWAP AS FAR AS YOU SHOULD BE CONCERNED --
  470.  
  471.  
  472. end
  473.  
  474. -------------------------------------------------------------------------------------------------------------------
  475. -- Job-specific hooks that are called to process player actions at specific points in time.
  476. -------------------------------------------------------------------------------------------------------------------
  477.  
  478. function job_precast(spell, action, spellMap, eventArgs)
  479.     cancel_conflicting_buffs(spell, action, spellMap, eventArgs)
  480.  
  481.      
  482.    
  483.  
  484. -- Define class for Sic and Ready moves.
  485.         if ready_moves_to_check:contains(spell.name) and pet.status == 'Engaged' then
  486.                 classes.CustomClass = "WS"
  487.         equip(sets.midcast.Pet.ReadyRecast)
  488.         end
  489. end
  490.  
  491.  
  492.  
  493. function job_pet_midcast(spell, action, spellMap, eventArgs)
  494.  
  495.    
  496.         end
  497. -- Return true if we handled the aftercast work.  Otherwise it will fall back
  498. -- to the general aftercast() code in Mote-Include.
  499. function job_aftercast(spell, action, spellMap, eventArgs)
  500.  
  501. if spell.type == "Monster" and not spell.interrupted then
  502.  
  503.  equip(set_combine(sets.midcast.Pet.WS, sets.midcast.Pet[state.CorrelationMode.value]))
  504.  
  505.     if mab_ready_moves:contains(spell.english) and pet.status == 'Engaged' then
  506.  equip(sets.midcast.Pet.MabReady)
  507.  end
  508.  
  509.     if buffactive['Unleash'] then
  510.                 hands={ name="Valorous Mitts", augments={'Pet: Attack+30 Pet: Rng.Atk.+30','Pet: "Store TP"+10','System: 1 ID: 1792 Val: 13','Pet: Accuracy+3 Pet: Rng. Acc.+3',}}
  511.         end
  512.  
  513.  
  514.  eventArgs.handled = true
  515.  end
  516.  
  517.  
  518. end
  519.  
  520. function job_state_change(stateField, newValue, oldValue)
  521.     if stateField == 'Correlation Mode' then
  522.         state.CorrelationMode:set(newValue)
  523.     end
  524. end
  525.  
  526. function get_combat_form()
  527.     if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
  528.         state.CombatForm:set('DW')
  529.     else
  530.          state.CombatForm:reset()
  531.          end
  532.  
  533. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement