Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------------------------------------------------------------------
- -- Last Revised: December 10th, 2015 (Commented out pet.tp evaluations in midcast post-update.)
- -- (Added on-screen indicators for Modes [requires the Text add-on] - set DisplayModeInfo to 'true' to enable
- -- Added Buff Timers for Reward, Spur, Run Wild, and certain Ready Moves - set DisplayPetBuffTimers to 'true' to enable
- -- You can now identify pets based on Pet Name or Jug Name for Pet Cycling.)
- --
- -- Gearswap Commands Specific to this File:
- -- alt+F8 cycles through designated Jug Pets
- -- ctrl+F8 toggles Monster Correlation between Neutral and Favorable
- -- 'Windows Key'+F8 switches between Pet stances for Master/Pet hybrid gearsets
- -- alt+= cycles through Pet Food types
- -- ctrl+= can swap in the usage of Chaac Belt for Treasure Hunter on common subjob abilities.
- -- ctrl+F11 cycles between Magical Defense Modes
- --
- -- General Gearswap Commands:
- -- F9 cycles Accuracy modes
- -- ctrl+F9 cycles Hybrid modes
- -- 'Windows Key'+F9 cycles Weapon Skill modes
- -- F10 equips Physical Defense
- -- alt+F10 toggles Kiting on or off
- -- ctrl+F10 cycles Physical Defense modes
- -- F11 equips Magical Defense
- -- alt+F12 turns off Defense modes
- -- ctrl+F12 cycles Idle modes
- --
- -- Keep in mind that any time you Change Jobs/Subjobs, your Pet/Pet Food/etc. reset to default options.
- -- F12 will list your current options.
- -------------------------------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------------------------------
- -- Initialization function that defines sets and variables to be used.
- -------------------------------------------------------------------------------------------------------------------
- -- IMPORTANT: Make sure to also get the Mote-Include.lua file (and its supplementary files) to go with this.
- -- Initialization function for this job file.
- function get_sets()
- mote_include_version = 2
- -- Load and initialize the include file.
- include('Mote-Include.lua')
- end
- function job_setup()
- state.Buff['Aftermath: Lv.3'] = buffactive['Aftermath: Lv.3'] or false
- state.Buff['Killer Instinct'] = buffactive['Killer Instinct'] or false
- state.Buff.Doomed = buffactive.doomed or false
- -- Pet Buff Timer Info
- DisplayPetBuffTimers = 'false'
- -- Input Pet:TP Bonus values for Skirmish Axes used during Pet Buffs
- TP_Bonus_Main = 200
- TP_Bonus_Sub = 180
- -- 1200 Job Point Gift Bonus (Set equal to 0 if below 1200 Job Points)
- TP_Gift_Bonus = 0
- -- (Adjust Run Wild Duration based on # of Job Points)
- RunWildDuration = 330;RunWildIcon = 'abilities/00121.png'
- RewardRegenIcon = 'spells/00023.png'
- SpurIcon = 'abilities/00037.png'
- BubbleCurtainDuration = 180;BubbleCurtainIcon = 'spells/00048.png'
- ScissorGuardIcon = 'spells/00043.png'
- SecretionIcon = 'spells/00053.png'
- RageIcon = 'abilities/00002.png'
- RhinoGuardIcon = 'spells/00053.png'
- ZealousSnortIcon = 'spells/00057.png'
- get_combat_form()
- get_melee_groups()
- -- Display Mode Info as on-screen Text
- DisplayModeInfo = 'false'
- TextBoxX = 950
- TextBoxY = 47
- TextSize = 10
- display_mode_info()
- end
- function user_setup()
- state.OffenseMode:options('Normal', 'MedAcc', 'HighAcc')
- state.HybridMode:options('Normal', 'Hybrid')
- state.WeaponskillMode:options('Normal', 'WSMedAcc', 'WSHighAcc')
- state.CastingMode:options('Normal')
- state.IdleMode:options('Normal', 'Reraise', 'Regen', 'Refresh')
- state.RestingMode:options('Normal')
- state.PhysicalDefenseMode:options('PetPDT', 'HybridPDT', 'PDT')
- state.MagicalDefenseMode:options('MDTShell', 'PetMDT')
- -- 'Out of Range' distance; WS will auto-cancel
- target_distance = 7
- -- Set up Jug Pet cycling and keybind Alt+F8
- -- INPUT PREFERRED JUG PETS HERE
- state.JugMode = M{['description']='Jug Mode', 'Meaty Broth', 'Windy Greens', 'Livid Broth',
- 'HeadbreakerKen', 'Tant. Broth', 'Bubbly Broth', 'HeraldHenry'}
- send_command('bind !f8 gs c cycle JugMode')
- -- Set up Monster Correlation Modes and keybind Ctrl+F8
- state.CorrelationMode = M{['description']='Correlation Mode', 'Neutral', 'Favorable'}
- send_command('bind ^f8 gs c cycle CorrelationMode')
- -- Set up Pet Modes for Hybrid sets and keybind 'Windows Key'+F8
- state.PetMode = M{['description']='Pet Mode', 'PetOnly', 'PetTank', 'Normal'}
- send_command('bind @f8 gs c cycle PetMode')
- -- Keybind Ctrl+F11 to cycle Magical Defense Modes
- send_command('bind ^f11 gs c cycle MagicalDefenseMode')
- -- Set up Reward Modes and keybind alt+=
- state.RewardMode = M{['description']='Reward Mode', 'Theta', 'Eta', 'Zeta'}
- send_command('bind != gs c cycle RewardMode')
- -- Set up Treasure Modes and keybind Ctrl+=
- state.TreasureMode = M{['description']='Treasure Mode', 'Tag', 'Normal'}
- send_command('bind ^= gs c cycle TreasureMode')
- -- Complete list of Ready moves
- physical_ready_moves = S{'Foot Kick','Whirl Claws','Wild Carrot','Sheep Charge','Lamb Chop','Rage','Head Butt',
- 'Wild Oats','Leaf Dagger','Claw Cyclone','Razor Fang','Nimble Snap','Cyclotail','Rhino Guard','Rhino Attack',
- 'Power Attack','Mandibular Bite','Big Scissors','Bubble Curtain','Scissor Guard','Grapple','Spinning Top',
- 'Double Claw','Frogkick','Blockhead','Secretion','Brain Crush','Tail Blow','??? Needles','Needleshot',
- 'Scythe Tail','Ripper Fang','Chomp Rush','Recoil Dive','Sudden Lunge','Spiral Spin','Wing Slap','Beak Lunge',
- 'Suction','Back Heel','Choke Breath','Fantod','Tortoise Stomp','Harden Shell','Sensilla Blades','Tegmina Buffet',
- 'Swooping Frenzy','Pentapeck','Sweeping Gouge','Zealous Snort','Somersault','Tickling Tendrils','Pecking Flurry',
- 'Sickle Slash'}
- magic_atk_ready_moves = S{'Dust Cloud','Cursed Sphere','Venom','Toxic Spit','Bubble Shower','Drainkiss',
- 'Silence Gas','Dark Spore','Fireball','Plague Breath','Snow Cloud','Charged Whisker','Purulent Ooze',
- 'Corrosive Ooze','Aqua Breath','Stink Bomb','Nectarous Deluge','Nepenthic Plunge','Pestilent Plume',
- 'Foul Waters','Infected Leech','Gloom Spray'}
- magic_acc_ready_moves = S{'Sheep Song','Scream','Dream Flower','Roar','Gloeosuccus','Palsy Pollen',
- 'Soporific','Geist Wall','Toxic Spit','Numbing Noise','Spoil','Hi-Freq Field','Sandpit','Sandblast',
- 'Venom Spray','Filamented Hold','Queasyshroom','Numbshroom','Spore','Shakeshroom','Infrasonics',
- 'Chaotic Eye','Blaster','Intimidate','Noisome Powder','Acid Mist','TP Drainkiss','Jettatura',
- 'Molting Plumage','Spider Web'}
- tp_based_ready_moves = S{'Foot Kick','Dust Cloud','Snow Cloud','Wild Carrot','Sheep Song','Sheep Charge',
- 'Lamb Chop','Rage','Head Butt','Scream','Dream Flower','Wild Oats','Leaf Dagger','Claw Cyclone','Razor Fang',
- 'Roar','Gloeosuccus','Palsy Pollen','Soporific','Cursed Sphere','Somersault','Geist Wall','Numbing Noise',
- 'Frogkick','Nimble Snap','Cyclotail','Spoil','Rhino Guard','Rhino Attack','Hi-Freq Field','Sandpit','Sandblast',
- 'Mandibular Bite','Metallic Body','Bubble Shower','Bubble Curtain','Scissor Guard','Grapple','Spinning Top',
- 'Double Claw','Filamented Hold','Spore','Blockhead','Secretion','Fireball','Tail Blow','Plague Breath',
- 'Brain Crush','Infrasonics','Needleshot','Chaotic Eye','Blaster','Ripper Fang','Intimidate','Recoil Dive',
- 'Water Wall','Sudden Lunge','Noisome Powder','Wing Slap','Beak Lunge','Suction','Drainkiss','Acid Mist',
- 'TP Drainkiss','Back Heel','Jettatura','Choke Breath','Fantod','Charged Whisker','Purulent Ooze',
- 'Corrosive Ooze','Tortoise Stomp','Harden Shell','Aqua Breath','Sensilla Blades','Tegmina Buffet',
- 'Sweeping Gouge','Zealous Snort','Tickling Tendrils','Pecking Flurry','Pestilent Plume','Foul Waters',
- 'Spider Web','Gloom Spray'}
- pet_buff_moves = S{'Reward','Spur','Run Wild','Bubble Curtain','Scissor Guard','Secretion','Rage',
- 'Rhino Guard','Zealous Snort'}
- -- List of abilities to reference for applying Treasure Hunter +1 via Chaac Belt.
- abilities_to_check = S{'Feral Howl','Quickstep','Box Step','Stutter Step','Desperate Flourish',
- 'Violent Flourish','Animated Flourish','Provoke','Dia','Dia II','Flash','Bio','Bio II',
- 'Sleep','Sleep II','Drain','Aspir','Dispel','Stun','Steal','Mug'}
- end
- function file_unload()
- if binds_on_unload then
- binds_on_unload()
- end
- -- Unbinds the Reward, Correlation, PetMode and Treasure hotkeys.
- send_command('unbind ^=')
- send_command('unbind !f8')
- send_command('unbind ^f8')
- send_command('unbind ^f11')
- -- Removes any Text Info Boxes
- if DisplayModeInfo == 'true' then
- send_command('text JugPetText delete')
- send_command('text PetModeText delete')
- send_command('text CorrelationText delete')
- send_command('text AccuracyText delete')
- end
- end
- -------------------------------------------------------------------------------------------------------------------
- -- General hooks for other game events.
- -------------------------------------------------------------------------------------------------------------------
- -- function job_buff_change(buff, gain)
- -- if buff == 'Aftermath: Lv.3' and gain then
- -- job_update(cmdParams, eventArgs)
- -- handle_equipping_gear(player.status)
- -- else
- -- job_update(cmdParams, eventArgs)
- -- handle_equipping_gear(player.status)
- -- end
- -- end
- -------------------------------------------------------------------------------------------------------------------
- -- Job-specific hooks that are called to process player actions at specific points in time.
- -------------------------------------------------------------------------------------------------------------------
- function job_precast(spell, action, spellMap, eventArgs)
- if player.equipment.main == 'Aymur' then
- custom_aftermath_timers_precast(spell)
- end
- if spell.type == "WeaponSkill" and spell.name ~= 'Mistral Axe' and spell.name ~= 'Bora Axe' and spell.target.distance > target_distance then
- cancel_spell()
- add_to_chat(123, spell.name..' Canceled: [Out of Range]')
- handle_equipping_gear(player.status)
- return
- end
- if spell.type == 'CorsairRoll' or spell.english == "Double-Up" then
- equip(sets.precast.LuzafRing)
- end
- if spell.english == 'Spur' then
- if state.PetMode.value == 'PetOnly' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.precast.SpurPetOnlyDW)
- else
- equip(sets.precast.SpurPetOnly)
- end
- end
- end
- if spell.english == 'Reward' then
- if state.RewardMode.value == 'Theta' then
- equip(sets.precast.JA.Reward.Theta)
- elseif state.RewardMode.value == 'Zeta' then
- equip(sets.precast.JA.Reward.Zeta)
- elseif state.RewardMode.value == 'Eta' then
- equip(sets.precast.JA.Reward.Eta)
- end
- end
- if spell.english == 'Bestial Loyalty' or spell.english == 'Call Beast' then
- if state.JugMode.value == 'FunguarFamiliar' or state.JugMode.value == 'Seedbed Soil' then
- equip(sets.precast.JA['Bestial Loyalty'].FunguarFamiliar)
- elseif state.JugMode.value == 'CourierCarrie' or state.JugMode.value == 'Fish Oil Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].CourierCarrie)
- elseif state.JugMode.value == 'AmigoSabotender' or state.JugMode.value == 'Sun Water' then
- equip(sets.precast.JA['Bestial Loyalty'].AmigoSabotender)
- elseif state.JugMode.value == 'NurseryNazuna' or state.JugMode.value == 'Dancing Herbal Broth' or state.JugMode.value == 'D. Herbal Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].NurseryNazuna)
- elseif state.JugMode.value == 'CraftyClyvonne' or state.JugMode.value == 'Cunning Brain Broth' or state.JugMode.value == 'Cng. Brain Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].CraftyClyvonne)
- elseif state.JugMode.value == 'PrestoJulio' or state.JugMode.value == 'Chirping Grasshopper Broth' or state.JugMode.value == 'C. Grass Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].PrestoJulio)
- elseif state.JugMode.value == 'SwiftSieghard' or state.JugMode.value == 'Mellow Bird Broth' or state.JugMode.value == 'Mlw. Bird Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SwiftSieghard)
- elseif state.JugMode.value == 'MailbusterCetas' or state.JugMode.value == 'Goblin Bug Broth' or state.JugMode.value == 'Gob. Bug Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].MailbusterCetas)
- elseif state.JugMode.value == 'AudaciousAnna' or state.JugMode.value == 'Bubbling Carrion Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AudaciousAnna)
- elseif state.JugMode.value == 'TurbidToloi' or state.JugMode.value == 'Auroral Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].TurbidToloi)
- elseif state.JugMode.value == 'SlipperySilas' or state.JugMode.value == 'Wormy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SlipperySilas)
- elseif state.JugMode.value == 'LuckyLulush' or state.JugMode.value == 'Lucky Carrot Broth' or state.JugMode.value == 'L. Carrot Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].LuckyLulush)
- elseif state.JugMode.value == 'DipperYuly' or state.JugMode.value == 'Wool Grease' then
- equip(sets.precast.JA['Bestial Loyalty'].DipperYuly)
- elseif state.JugMode.value == 'FlowerpotMerle' or state.JugMode.value == 'Vermihumus' then
- equip(sets.precast.JA['Bestial Loyalty'].FlowerpotMerle)
- elseif state.JugMode.value == 'DapperMac' or state.JugMode.value == 'Briny Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].DapperMac)
- elseif state.JugMode.value == 'DiscreetLouise' or state.JugMode.value == 'Deepbed Soil' then
- equip(sets.precast.JA['Bestial Loyalty'].DiscreetLouise)
- elseif state.JugMode.value == 'FatsoFargann' or state.JugMode.value == 'Curdled Plasma Broth' or state.JugMode.value == 'C. Plasma Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].FatsoFargann)
- elseif state.JugMode.value == 'FaithfulFalcorr' or state.JugMode.value == 'Lucky Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].FaithfulFalcorr)
- elseif state.JugMode.value == 'BugeyedBroncha' or state.JugMode.value == 'Savage Mole Broth' or state.JugMode.value == 'Svg. Mole Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].BugeyedBroncha)
- elseif state.JugMode.value == 'BloodclawShasra' or state.JugMode.value == 'Razor Brain Broth' or state.JugMode.value == 'Rzr. Brain Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].BloodclawShasra)
- elseif state.JugMode.value == 'GorefangHobs' or state.JugMode.value == 'Burning Carrion Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].GorefangHobs)
- elseif state.JugMode.value == 'GooeyGerard' or state.JugMode.value == 'Cloudy Wheat Broth' or state.JugMode.value == 'Cl. Wheat Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].GooeyGerard)
- elseif state.JugMode.value == 'CrudeRaphie' or state.JugMode.value == 'Shadowy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].CrudeRaphie)
- elseif state.JugMode.value == 'DroopyDortwin' or state.JugMode.value == 'Swirling Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].DroopyDortwin)
- elseif state.JugMode.value == 'PonderingPeter' or state.JugMode.value == 'Viscous Broth' or state.JugMode.value == 'Vis. Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].PonderingPeter)
- elseif state.JugMode.value == 'SunburstMalfik' or state.JugMode.value == 'Shimmering Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SunburstMalfik)
- elseif state.JugMode.value == 'AgedAngus' or state.JugMode.value == 'Fermented Broth' or state.JugMode.value == 'Ferm. Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AgedAngus)
- elseif state.JugMode.value == 'WarlikePatrick' or state.JugMode.value == 'Livid Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].WarlikePatrick)
- elseif state.JugMode.value == 'ScissorlegXerin' or state.JugMode.value == 'Spicy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].ScissorlegXerin)
- elseif state.JugMode.value == 'BouncingBertha' or state.JugMode.value == 'Bubbly Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].BouncingBertha)
- elseif state.JugMode.value == 'RhymingShizuna' or state.JugMode.value == 'Lyrical Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].RhymingShizuna)
- elseif state.JugMode.value == 'AttentiveIbuki' or state.JugMode.value == 'Salubrious Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AttentiveIbuki)
- elseif state.JugMode.value == 'SwoopingZhivago' or state.JugMode.value == 'Windy Greens' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].SwoopingZhivago)
- elseif state.JugMode.value == 'AmiableRoche' or state.JugMode.value == 'Airy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AmiableRoche)
- elseif state.JugMode.value == 'HeraldHenry' or state.JugMode.value == 'Translucent Broth' or state.JugMode.value == 'Trans. Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].HeraldHenry)
- elseif state.JugMode.value == 'BrainyWaluis' or state.JugMode.value == 'Crumbly Soil' then
- equip(sets.precast.JA['Bestial Loyalty'].BrainyWaluis)
- elseif state.JugMode.value == 'HeadbreakerKen' or state.JugMode.value == 'Blackwater Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].HeadbreakerKen)
- elseif state.JugMode.value == 'RedolentCandi' or state.JugMode.value == 'Electrified Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].RedolentCandi)
- elseif state.JugMode.value == 'AlluringHoney' or state.JugMode.value == 'Bug-Ridden Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].AlluringHoney)
- elseif state.JugMode.value == 'CaringKiyomaro' or state.JugMode.value == 'Fizzy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].CaringKiyomaro)
- elseif state.JugMode.value == 'VivaciousVickie' or state.JugMode.value == 'Tantalizing Broth' or state.JugMode.value == 'Tant. Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].VivaciousVickie)
- elseif state.JugMode.value == 'HurlerPercival' or state.JugMode.value == 'Pale Sap' then
- equip(sets.precast.JA['Bestial Loyalty'].HurlerPercival)
- elseif state.JugMode.value == 'BlackbeardRandy' or state.JugMode.value == 'Meaty Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].BlackbeardRandy)
- elseif state.JugMode.value == 'GenerousArthur' or state.JugMode.value == 'Dire Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].GenerousArthur)
- elseif state.JugMode.value == 'ThreestarLynn' or state.JugMode.value == 'Muddy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].ThreestarLynn)
- elseif state.JugMode.value == 'BraveHeroGlenn' or state.JugMode.value == 'Wispy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].BraveHeroGlenn)
- elseif state.JugMode.value == 'SharpwitHermes' or state.JugMode.value == 'Saline Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SharpwitHermes)
- elseif state.JugMode.value == 'ColibriFamiliar' or state.JugMode.value == 'Sugary Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].ColibriFamiliar)
- elseif state.JugMode.value == 'ChoralLeera' or state.JugMode.value == 'Glazed Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].ChoralLeera)
- elseif state.JugMode.value == 'SpiderFamiliar' or state.JugMode.value == 'Sticky Webbing' then
- equip(sets.precast.JA['Bestial Loyalty'].SpiderFamiliar)
- elseif state.JugMode.value == 'GussyHachirobe' or state.JugMode.value == 'Slimy Webbing' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].GussyHachirobe)
- elseif state.JugMode.value == 'AcuexFamiliar' or state.JugMode.value == 'Poisonous Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AcuexFamiliar)
- elseif state.JugMode.value == 'FluffyBredo' or state.JugMode.value == 'Venomous Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].FluffyBredo)
- elseif state.JugMode.value == 'SuspiciousAlice' or state.JugMode.value == 'Furious Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SuspiciousAlice)
- elseif state.JugMode.value == 'AnklebiterJedd' or state.JugMode.value == 'Crackling Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].AnklebiterJedd)
- elseif state.JugMode.value == 'FleetReinhard' or state.JugMode.value == 'Rapid Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].FleetReinhard)
- elseif state.JugMode.value == 'CursedAnnabelle' or state.JugMode.value == 'Creepy Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].CursedAnnabelle)
- elseif state.JugMode.value == 'SurgingStorm' or state.JugMode.value == 'Insipid Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].SurgingStorm)
- elseif state.JugMode.value == 'SubmergedIyo' or state.JugMode.value == 'Deepwater Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].SubmergedIyo)
- elseif state.JugMode.value == 'MosquitoFamiliar' or state.JugMode.value == 'Wetlands Broth' then
- equip(sets.precast.JA['Bestial Loyalty'].MosquitoFamiliar)
- elseif state.JugMode.value == 'Left-HandedYoko' or state.JugMode.value == 'Heavenly Broth' then
- if spell.english == 'Call Beast' then
- add_to_chat(123, spell.name..' Canceled: [HQ Jug Pet]')
- return
- end
- equip(sets.precast.JA['Bestial Loyalty'].LeftHandedYoko)
- end
- end
- -- Define class for Sic and Ready moves.
- if spell.type == "Monster" then
- classes.CustomClass = "WS"
- if state.PetMode.Value == 'PetOnly' and not buffactive['Unleash']then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.ReadyRecastDWNE)
- else
- equip(sets.midcast.Pet.ReadyRecastNE)
- end
- else
- equip(sets.midcast.Pet.ReadyRecast)
- end
- end
- end
- function job_post_precast(spell, action, spellMap, eventArgs)
- -- If Killer Instinct is active during WS, equip Nukumi Gausape +1.
- if spell.type:lower() == 'weaponskill' and buffactive['Killer Instinct'] then
- equip(sets.buff['Killer Instinct'])
- end
- if world.time >= 17*60 or world.time < 7*60 then
- if spell.english == "Ruinator" or spell.english == "Rampage" or spell.english == "Calamity" then
- equip(sets.midcast.NightEarrings)
- end
- end
- if spell.english == "Primal Rend" and player.tp > 2750 then
- equip(sets.midcast.ExtraMAB)
- end
- -- Equip Chaac Belt for TH+1 on common Subjob Abilities or Spells.
- if abilities_to_check:contains(spell.english) and state.TreasureMode.value == 'Tag' then
- equip(sets.THBelt)
- end
- end
- function job_midcast(spell, action, spellMap, eventArgs)
- if state.PetMode.value == 'PetOnly' then
- if spell.english == "Cure" or spell.english == "Cure II" or spell.english == "Cure III" or spell.english == "Cure IV" then
- equip(sets.CurePetOnly)
- end
- if spell.english == "Curaga" or spell.english == "Curaga II" or spell.english == "Curaga III" then
- equip(sets.CurePetOnly)
- end
- end
- end
- function job_pet_midcast(spell, action, spellMap, eventArgs)
- if physical_ready_moves:contains(spell.name) then
- if state.PetMode.value == 'PetOnly' then
- if state.OffenseMode.value == 'HighAcc' or state.OffenseMode.value == 'HighAccHaste' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.ReadyDWNE.HighAcc, sets.midcast.Pet[state.CorrelationMode.value])
- else
- equip(sets.midcast.Pet.ReadyNE.HighAcc, sets.midcast.Pet[state.CorrelationMode.value])
- end
- elseif state.OffenseMode.value == 'MedAcc' or state.OffenseMode.value == 'MedAccHaste' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.ReadyDWNE.MedAcc, sets.midcast.Pet[state.CorrelationMode.value])
- else
- equip(sets.midcast.Pet.ReadyNE.MedAcc, sets.midcast.Pet[state.CorrelationMode.value])
- end
- else
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(set_combine(sets.midcast.Pet.ReadyDWNE, sets.midcast.Pet[state.CorrelationMode.value]))
- else
- equip(set_combine(sets.midcast.Pet.ReadyNE, sets.midcast.Pet[state.CorrelationMode.value]))
- end
- end
- else
- if state.OffenseMode.value == 'HighAcc' or state.OffenseMode.value == 'HighAccHaste' then
- equip(sets.midcast.Pet.HighAcc, sets.midcast.Pet[state.CorrelationMode.value])
- elseif state.OffenseMode.value == 'MedAcc' or state.OffenseMode.value == 'MedAccHaste' then
- equip(sets.midcast.Pet.MedAcc, sets.midcast.Pet[state.CorrelationMode.value])
- else
- equip(set_combine(sets.midcast.Pet.WS, sets.midcast.Pet[state.CorrelationMode.value]))
- end
- end
- end
- if magic_atk_ready_moves:contains(spell.name) then
- if state.PetMode.value == 'PetOnly' then
- if state.OffenseMode.value == 'HighAcc' or state.OffenseMode.value == 'HighAccHaste' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.MagicAtkReadyDWNE.HighAcc)
- else
- equip(sets.midcast.Pet.MagicAtkReadyNE.HighAcc)
- end
- elseif state.OffenseMode.value == 'MedAcc' or state.OffenseMode.value == 'MedAccHaste' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.MagicAtkReadyDWNE.MedAcc)
- else
- equip(sets.midcast.Pet.MagicAtkReadyNE.MedAcc)
- end
- else
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.MagicAtkReadyDWNE)
- else
- equip(sets.midcast.Pet.MagicAtkReadyNE)
- end
- end
- else
- equip(sets.midcast.Pet.MagicAtkReady)
- end
- end
- if magic_acc_ready_moves:contains(spell.name) then
- if state.PetMode.value == 'PetOnly' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.midcast.Pet.MagicAccReadyDWNE)
- else
- equip(sets.midcast.Pet.MagicAccReadyNE)
- end
- else
- equip(sets.midcast.Pet.MagicAccReady)
- end
- end
- -- If Pet TP, before bonuses, is less than a certain value then equip Nukumi Manoplas +1
- -- if physical_ready_moves:contains(spell.name) and state.OffenseMode.value ~= 'HighAcc' then
- -- if tp_based_ready_moves:contains(spell.name) and PetJob == 'Warrior' and pet.tp < 190 then
- equip(sets.midcast.Pet.TPBonus)
- -- elseif tp_based_ready_moves:contains(spell.name) and PetJob ~= 'Warrior' and pet.tp < 240 then
- -- equip(sets.midcast.Pet.TPBonus)
- -- end
- -- end
- end
- function job_pet_aftercast(spell, action, spellMap, eventArgs)
- if pet_buff_moves:contains(spell.name) and DisplayPetBuffTimers == 'true' then
- -- Pet TP calculations for Ready Buff Durations
- local TP_Amount = 1000
- if pet.tp * 10 < 1000 then TP_Amount = TP_Amount + TP_Gift_Bonus;end
- if pet.tp * 10 > 1000 then TP_Amount = (pet.tp * 10) + TP_Gift_Bonus;end
- if player.equipment.hands == "Ferine Manoplas +1" then TP_Amount = TP_Amount + 250;end
- if player.equipment.hands == "Ferine Manoplas +2" then TP_Amount = TP_Amount + 500;end
- if player.equipment.hands == "Nukumi Manoplas" then TP_Amount = TP_Amount + 550;end
- if player.equipment.hands == "Nukumi Manoplas +1" then TP_Amount = TP_Amount + 600;end
- if player.equipment.main == "Aymur" or player.equipment.sub == "Aymur" then TP_Amount = TP_Amount + 500;end
- if player.equipment.main == "Kumbhakarna" then TP_Amount = TP_Amount + TP_Bonus_Main;end
- if player.equipment.sub == "Kumbhakarna" then TP_Amount = TP_Amount + TP_Bonus_Sub;end
- if TP_Amount > 3000 then TP_Amount = 3000;end
- -- add_to_chat(28, pet.name..' Ready Midcast TP: '..TP_Amount..'')
- if spell.english == 'Bubble Curtain' then
- local TP_Buff_Duration = math.floor((TP_Amount - 1000)* 0.09) + BubbleCurtainDuration
- send_command('timers c "'..spell.english..'" '..TP_Buff_Duration..' down '..BubbleCurtainIcon..'')
- elseif spell.english == 'Scissor Guard' then
- local TP_Buff_Duration = math.floor(TP_Amount * 0.06)
- send_command('timers c "'..spell.english..'" '..TP_Buff_Duration..' down '..ScissorGuardIcon..'')
- elseif spell.english == 'Secretion' then
- TP_Amount = TP_Amount + 500
- if TP_Amount > 3000 then TP_Amount = 3000;end
- local TP_Buff_Duration = math.floor(TP_Amount * 0.18)
- send_command('timers c "Secretion" '..TP_Buff_Duration..' down '..SecretionIcon..'')
- elseif spell.english == 'Rage' then
- TP_Amount = TP_Amount + 500
- if TP_Amount > 3000 then TP_Amount = 3000;end
- local TP_Buff_Duration = math.floor(TP_Amount * 0.18)
- send_command('timers c "'..spell.english..'" '..TP_Buff_Duration..' down '..RageIcon..'')
- elseif spell.english == 'Rhino Guard' then
- local TP_Buff_Duration = math.floor(TP_Amount * 0.18)
- send_command('timers c "Rhino Guard" '..TP_Buff_Duration..' down '..RhinoGuardIcon..'')
- elseif spell.english == 'Zealous Snort' then
- local TP_Buff_Duration = math.floor(TP_Amount * 0.06)
- send_command('timers c "'..spell.english..'" '..TP_Buff_Duration..' down '..ZealousSnortIcon..'')
- end
- end
- if state.PetMode.value == 'PetOnly' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.DTAxes)
- else
- equip(sets.DTAxeShield)
- end
- end
- end
- -- Return true if we handled the aftercast work. Otherwise it will fall back
- -- to the general aftercast() code in Mote-Include.
- function job_aftercast(spell, action, spellMap, eventArgs)
- -- Create custom timers for Pet Buffs.
- if pet_buff_moves:contains(spell.name) and DisplayPetBuffTimers == 'true' then
- if not spell.interrupted then
- pet_buff_timer(spell)
- end
- end
- if spell.english == "Leave" then
- clear_pet_buff_timers()
- end
- if player.equipment.main == 'Aymur' then
- custom_aftermath_timers_aftercast(spell)
- end
- if world.time >= 360 and world.time < 1080 then
- if state.OffenseMode.value == 'HighAcc' or state.OffenseMode.value == 'HighAccHaste' then
- if player.status == 'Engaged' then
- equip(sets.DaytimeAmmo)
- end
- end
- end
- if state.PetMode.value == 'PetOnly' then
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- equip(sets.DTAxes)
- else
- equip(sets.DTAxeShield)
- end
- end
- end
- -------------------------------------------------------------------------------------------------------------------
- -- Customization hook for idle sets.
- -------------------------------------------------------------------------------------------------------------------
- function customize_idle_set(idleSet)
- if player.hpp < 50 and pet.status ~= 'Engaged' then
- idleSet = set_combine(idleSet, sets.ExtraRegen)
- end
- return idleSet
- end
- -------------------------------------------------------------------------------------------------------------------
- -- Hooks for Reward, Correlation, Treasure Hunter, and Pet Mode handling.
- -------------------------------------------------------------------------------------------------------------------
- function job_state_change(stateField, newValue, oldValue)
- if stateField == 'Correlation Mode' then
- state.CorrelationMode:set(newValue)
- elseif stateField == 'Reward Mode' then
- state.RewardMode:set(newValue)
- elseif stateField == 'Treasure Mode' then
- state.TreasureMode:set(newValue)
- elseif stateField == 'Pet Mode' then
- state.CombatWeapon:set(newValue)
- end
- if world.time >= 360 and world.time < 1080 then
- if state.OffenseMode.value == 'HighAcc' or state.OffenseMode.value == 'HighAccHaste' then
- if player.status == 'Engaged' then
- equip(sets.DaytimeAmmo)
- end
- end
- end
- end
- function get_custom_wsmode(spell, spellMap, default_wsmode)
- if default_wsmode == 'Normal' then
- if spell.english == "Ruinator" and (world.day_element == 'Water' or world.day_element == 'Wind' or world.day_element == 'Ice') then
- return 'Gavialis'
- end
- end
- end
- -------------------------------------------------------------------------------------------------------------------
- -- User code that supplements self-commands.
- -------------------------------------------------------------------------------------------------------------------
- -- Called any time we attempt to handle automatic gear equips (ie: engaged or idle gear).
- function job_handle_equipping_gear(playerStatus, eventArgs)
- if player.equipment.back == 'Mecisto. Mantle' or player.equipment.back == 'Aptitude Mantle' or player.equipment.back == 'Aptitude Mantle +1' or player.equipment.back == 'Nexus Cape' then
- disable('back')
- else
- enable('back')
- end
- if player.equipment.ring1 == 'Warp Ring' or player.equipment.ring1 == 'Vocation Ring' or player.equipment.ring1 == 'Capacity Ring' then
- disable('ring1')
- else
- enable('ring1')
- end
- if player.equipment.ring2 == 'Warp Ring' or player.equipment.ring2 == 'Vocation Ring' or player.equipment.ring2 == 'Capacity Ring' then
- disable('ring2')
- else
- enable('ring2')
- end
- end
- -- Called by the 'update' self-command, for common needs.
- -- Set eventArgs.handled to true if we don't want automatic equipping of gear.
- function job_update(cmdParams, eventArgs)
- get_combat_form()
- get_melee_groups()
- if state.JugMode.value == 'FunguarFamiliar' or state.JugMode.value == 'Seedbed Soil' then
- PetName = "FunguarFamiliar";JugInfo = "Seedbed Soil";PetInfo = "Funguar, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Frogkick';ReadyMoveTwo = 'Spore';ReadyMoveThree = 'Silence Gas'
- elseif state.JugMode.value == 'CourierCarrie' or state.JugMode.value == 'Fish Oil Broth' then
- PetName = "CourierCarrie";JugInfo = "Fish Oil Broth";PetInfo = "Crab, Aquan";PetJob = 'Paladin'
- ReadyMoveOne = 'Big Scissors';ReadyMoveTwo = 'Scissor Guard';ReadyMoveThree = 'Bubble Curtain'
- elseif state.JugMode.value == 'AmigoSabotender' or state.JugMode.value == 'Sun Water' then
- PetName = "AmigoSabotender";JugInfo = "Sun Water";PetInfo = "Cactuar, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Needle Shot';ReadyMoveTwo = '??? Needles';ReadyMoveThree = '??? Needles'
- elseif state.JugMode.value == 'NurseryNazuna' or state.JugMode.value == 'Dancing Herbal Broth' or state.JugMode.value == 'D. Herbal Broth' then
- PetName = "NurseryNazuna";JugInfo = "Dancing Herbal Broth";PetInfo = "Sheep, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Lamb Chop';ReadyMoveTwo = 'Rage';ReadyMoveThree = 'Sheep Song'
- elseif state.JugMode.value == 'CraftyClyvonne' or state.JugMode.value == 'Cunning Brain Broth' or state.JugMode.value == 'Cng. Brain Broth' then
- PetName = "CraftyClyvonne";JugInfo = "Cunning Brain Broth";PetInfo = "Coeurl, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Blaster';ReadyMoveTwo = 'Chaotic Eye';ReadyMoveThree = 'None'
- elseif state.JugMode.value == 'PrestoJulio' or state.JugMode.value == 'Chirping Grasshopper Broth' or state.JugMode.value == 'C. Grass Broth' then
- PetName = "PrestoJulio";JugInfo = "Chirping Grasshopper Broth";PetInfo = "Flytrap, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Frogkick';ReadyMoveTwo = 'Spore';ReadyMoveThree = 'Silence Gas'
- elseif state.JugMode.value == 'SwiftSieghard' or state.JugMode.value == 'Mellow Bird Broth' or state.JugMode.value == 'Mlw. Bird Broth' then
- PetName = "SwiftSieghard";JugInfo = "Mellow Bird Broth";PetInfo = "Raptor, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Scythe Tail';ReadyMoveTwo = 'Ripper Fang';ReadyMoveThree = 'Chomp Rush'
- elseif state.JugMode.value == 'MailbusterCetas' or state.JugMode.value == 'Goblin Bug Broth' or state.JugMode.value == 'Gob. Bug Broth' then
- PetName = "MailbusterCetas";JugInfo = "Goblin Bug Broth";PetInfo = "Fly, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Somersault';ReadyMoveTwo = 'Cursed Sphere';ReadyMoveThree = 'Venom'
- elseif state.JugMode.value == 'AudaciousAnna' or state.JugMode.value == 'Bubbling Carrion Broth' then
- PetName = "AudaciousAnna";JugInfo = "Bubbling Carrion Broth";PetInfo = "Lizard, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Tail Blow';ReadyMoveTwo = 'Brain Crush';ReadyMoveThree = 'Fireball'
- elseif state.JugMode.value == 'TurbidToloi' or state.JugMode.value == 'Auroral Broth' then
- PetName = "TurbidToloi";JugInfo = "Auroral Broth";PetInfo = "Pugil, Aquan";PetJob = 'Warrior'
- ReadyMoveOne = 'Recoil Dive';ReadyMoveTwo = 'Water Wall';ReadyMoveThree = 'Intimidate'
- elseif state.JugMode.value == 'SlipperySilas' or state.JugMode.value == 'Wormy Broth' then
- PetName = "SlipperySilas";JugInfo = "Wormy Broth";PetInfo = "Toad, Aquan";PetJob = 'Warrior'
- ReadyMoveOne = 'None';ReadyMoveTwo = 'None';ReadyMoveThree = 'None'
- elseif state.JugMode.value == 'LuckyLulush' or state.JugMode.value == 'Lucky Carrot Broth' or state.JugMode.value == 'L. Carrot Broth' then
- PetName = "LuckyLulush";JugInfo = "Lucky Carrot Broth";PetInfo = "Rabbit, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Foot Kick';ReadyMoveTwo = 'Whirl Claws';ReadyMoveThree = 'Wild Carrot'
- elseif state.JugMode.value == 'DipperYuly' or state.JugMode.value == 'Wool Grease' then
- PetName = "DipperYuly";JugInfo = "Wool Grease";PetInfo = "Ladybug, Vermin";PetJob = 'Thief'
- ReadyMoveOne = 'Spiral Spin';ReadyMoveTwo = 'Sudden Lunge';ReadyMoveThree = 'Noisome Powder'
- elseif state.JugMode.value == 'FlowerpotMerle' or state.JugMode.value == 'Vermihumus' then
- PetName = "FlowerpotMerle";JugInfo = "Vermihumus";PetInfo = "Mandragora, Plantoid";PetJob = 'Monk'
- ReadyMoveOne = 'Head Butt';ReadyMoveTwo = 'Leaf Dagger';ReadyMoveThree = 'Wild Oats'
- elseif state.JugMode.value == 'DapperMac' or state.JugMode.value == 'Briny Broth' then
- PetName = "DapperMac";JugInfo = "Briny Broth";PetInfo = "Apkallu, Bird";PetJob = 'Monk'
- ReadyMoveOne = 'Beak Lunge';ReadyMoveTwo = 'Wing Slap';ReadyMoveThree = 'None'
- elseif state.JugMode.value == 'DiscreetLouise' or state.JugMode.value == 'Deepbed Soil' then
- PetName = "DiscreetLouise";JugInfo = "Deepbed Soil";PetInfo = "Funguar, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Frogkick';ReadyMoveTwo = 'Spore';ReadyMoveThree = 'Silence Gas'
- elseif state.JugMode.value == 'FatsoFargann' or state.JugMode.value == 'Curdled Plasma Broth' or state.JugMode.value == 'C. Plasma Broth' then
- PetName = "FatsoFargann";JugInfo = "Curdled Plasma Broth";PetInfo = "Leech, Amorph";PetJob = 'Warrior'
- ReadyMoveOne = 'Suction';ReadyMoveTwo = 'Acid Mist';ReadyMoveThree = 'Drain Kiss'
- elseif state.JugMode.value == 'FaithfulFalcorr' or state.JugMode.value == 'Lucky Broth' then
- PetName = "FaithfulFalcorr";JugInfo = "Lucky Broth";PetInfo = "Hippogryph, Bird";PetJob = 'Thief'
- ReadyMoveOne = 'Back Heel';ReadyMoveTwo = 'Choke Breath';ReadyMoveThree = 'Fantod'
- elseif state.JugMode.value == 'BugeyedBroncha' or state.JugMode.value == 'Savage Mole Broth' or state.JugMode.value == 'Svg. Mole Broth' then
- PetName = "BugeyedBroncha";JugInfo = "Savage Mole Broth";PetInfo = "Eft, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Nimble Snap';ReadyMoveTwo = 'Cyclotail';ReadyMoveThree = 'Geist Wall'
- elseif state.JugMode.value == 'BloodclawShasra' or state.JugMode.value == 'Razor Brain Broth' or state.JugMode.value == 'Rzr. Brain Broth' then
- PetName = "BloodclawShasra";JugInfo = "Razor Brain Broth";PetInfo = "Lynx, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Blaster';ReadyMoveTwo = 'Chaotic Eye';ReadyMoveThree = 'Charged Whisker'
- elseif state.JugMode.value == 'GorefangHobs' or state.JugMode.value == 'Burning Carrion Broth' then
- PetName = "GorefangHobs";JugInfo = "Burning Carrion Broth";PetInfo = "Tiger, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Razor Fang';ReadyMoveTwo = 'Claw Cyclone';ReadyMoveThree = 'Roar'
- elseif state.JugMode.value == 'GooeyGerard' or state.JugMode.value == 'Cloudy Wheat Broth' then
- PetName = "GooeyGerard";JugInfo = "Cloudy Wheat Broth";PetInfo = "Slug, Amorph";PetJob = 'Warrior'
- ReadyMoveOne = 'Purulent Ooze';ReadyMoveTwo = 'Corrosive Ooze';ReadyMoveThree = 'Corrosive Ooze'
- elseif state.JugMode.value == 'CrudeRaphie' or state.JugMode.value == 'Shadowy Broth' then
- PetName = "CrudeRaphie";JugInfo = "Shadowy Broth";PetInfo = "Adamantoise, Lizard";PetJob = 'Paladin'
- ReadyMoveOne = 'Tortoise Stomp';ReadyMoveTwo = 'Harden Shell';ReadyMoveThree = 'Aqua Breath'
- elseif state.JugMode.value == 'DroopyDortwin' or state.JugMode.value == 'SwirlingBroth' then
- PetName = "DroopyDortwin";JugInfo = "Swirling Broth";PetInfo = "Rabbit, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Foot Kick';ReadyMoveTwo = 'Whirl Claws';ReadyMoveThree = 'Wild Carrot'
- elseif state.JugMode.value == 'PonderingPeter' or state.JugMode.value == 'Viscous Broth' or state.JugMode.value == 'Vis. Broth' then
- PetName = "PonderingPeter";JugInfo = "Vis. Broth";PetInfo = "HQ Rabbit, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Foot Kick';ReadyMoveTwo = 'Whirl Claws';ReadyMoveThree = 'Wild Carrot'
- elseif state.JugMode.value == 'SunburstMalfik' or state.JugMode.value == 'Shimmering Broth' then
- PetName = "SunburstMalfik";JugInfo = "Shimmering Broth";PetInfo = "Crab, Aquan";PetJob = 'Paladin'
- ReadyMoveOne = 'Big Scissors';ReadyMoveTwo = 'Scissor Guard';ReadyMoveThree = 'Bubble Curtain'
- elseif state.JugMode.value == 'AgedAngus' or state.JugMode.value == 'Fermented Broth' or state.JugMode.value == 'Ferm. Broth' then
- PetName = "AgedAngus";JugInfo = "Ferm. Broth";PetInfo = "HQ Crab, Aquan";PetJob = 'Paladin'
- ReadyMoveOne = 'Big Scissors';ReadyMoveTwo = 'Scissor Guard';ReadyMoveThree = 'Bubble Curtain'
- elseif state.JugMode.value == 'WarlikePatrick' or state.JugMode.value == 'Livid Broth' then
- PetName = "WarlikePatrick";JugInfo = "Livid Broth";PetInfo = "Lizard, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Tail Blow';ReadyMoveTwo = 'Brain Crush';ReadyMoveThree = 'Fireball'
- elseif state.JugMode.value == 'ScissorlegXerin' or state.JugMode.value == 'Spicy Broth' then
- PetName = "ScissorlegXerin";JugInfo = "Spicy Broth";PetInfo = "Chapuli, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Sensilla Blades';ReadyMoveTwo = 'Tegmina Buffet';ReadyMoveThree = 'Tegmina Buffet'
- elseif state.JugMode.value == 'BouncingBertha' or state.JugMode.value == 'Bubbly Broth' then
- PetName = "BouncingBertha";JugInfo = "Bubbly Broth";PetInfo = "HQ Chapuli, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Sensilla Blades';ReadyMoveTwo = 'Tegmina Buffet';ReadyMoveThree = 'Tegmina Buffet'
- elseif state.JugMode.value == 'RhymingShizuna' or state.JugMode.value == 'Lyrical Broth' then
- PetName = "RhymingShizuna";JugInfo = "Lyrical Broth";PetInfo = "Sheep, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Lamb Chop';ReadyMoveTwo = 'Rage';ReadyMoveThree = 'Sheep Song'
- elseif state.JugMode.value == 'AttentiveIbuki' or state.JugMode.value == 'Salubrious Broth' then
- PetName = "AttentiveIbuki";JugInfo = "Salubrious Broth";PetInfo = "Tulfaire, Bird";PetJob = 'Warrior'
- ReadyMoveOne = 'Swooping Frenzy';ReadyMoveTwo = 'Pentapeck';ReadyMoveThree = 'Molting Plumage'
- elseif state.JugMode.value == 'SwoopingZhivago' or state.JugMode.value == 'Windy Greens' then
- PetName = "SwoopingZhivago";JugInfo = "Windy Greens";PetInfo = "HQ Tulfaire, Bird";PetJob = 'Warrior'
- ReadyMoveOne = 'Swooping Frenzy';ReadyMoveTwo = 'Pentapeck';ReadyMoveThree = 'Molting Plumage'
- elseif state.JugMode.value == 'AmiableRoche' or state.JugMode.value == 'Airy Broth' then
- PetName = "AmiableRoche";JugInfo = "Airy Broth";PetInfo = "Pugil, Aquan";PetJob = 'Warrior'
- ReadyMoveOne = 'Recoil Dive';ReadyMoveTwo = 'Water Wall';ReadyMoveThree = 'Intimidate'
- elseif state.JugMode.value == 'HeraldHenry' or state.JugMode.value == 'Translucent Broth' or state.JugMode.value == 'Trans. Broth' then
- PetName = "HeraldHenry";JugInfo = "Trans. Broth";PetInfo = "Crab, Aquan";PetJob = 'Paladin'
- ReadyMoveOne = 'Big Scissors';ReadyMoveTwo = 'Scissor Guard';ReadyMoveThree = 'Bubble Curtain'
- elseif state.JugMode.value == 'BrainyWaluis' or state.JugMode.value == 'CrumblySoil' then
- PetName = "BrainyWaluis";JugInfo = "Crumbly Soil";PetInfo = "Funguar, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Frogkick';ReadyMoveTwo = 'Spore';ReadyMoveThree = 'Silence Gas'
- elseif state.JugMode.value == 'HeadbreakerKen' or state.JugMode.value == 'Blackwater Broth' then
- PetName = "HeadbreakerKen";JugInfo = "Blackwater Broth";PetInfo = "Fly, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Somersault';ReadyMoveTwo = 'Cursed Sphere';ReadyMoveThree = 'Venom'
- elseif state.JugMode.value == 'RedolentCandi' or state.JugMode.value == 'Electrified Broth' then
- PetName = "RedolentCandi";JugInfo = "Electrified Broth";PetInfo = "Snapweed, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Tickling Tendrils';ReadyMoveTwo = 'Stink Bomb';ReadyMoveThree = 'Nepenthic Plunge'
- elseif state.JugMode.value == 'AlluringHoney' or state.JugMode.value == 'Bug-Ridden Broth' then
- PetName = "AlluringHoney";JugInfo = "Bug-Ridden Broth";PetInfo = "HQ Snapweed, Plantoid";PetJob = 'Warrior'
- ReadyMoveOne = 'Tickling Tendrils';ReadyMoveTwo = 'Stink Bomb';ReadyMoveThree = 'Nectarous Deluge'
- elseif state.JugMode.value == 'CaringKiyomaro' or state.JugMode.value == 'Fizzy Broth' then
- PetName = "CaringKiyomaro";JugInfo = "Fizzy Broth";PetInfo = "Raaz, Beast";PetJob = 'Monk'
- ReadyMoveOne = 'Sweeping Gouge';ReadyMoveTwo = 'Zealous Snort';ReadyMoveThree = 'Zealous Snort'
- elseif state.JugMode.value == 'VivaciousVickie' or state.JugMode.value == 'Tantalizing Broth' or state.JugMode.value == 'Tant. Broth' then
- PetName = "VivaciousVickie";JugInfo = "Tant. Broth";PetInfo = "HQ Raaz, Beast";PetJob = 'Monk'
- ReadyMoveOne = 'Sweeping Gouge';ReadyMoveTwo = 'Zealous Snort';ReadyMoveThree = 'Zealous Snort'
- elseif state.JugMode.value == 'HurlerPercival' or state.JugMode.value == 'Pale Sap' then
- PetName = "HurlerPercival";JugInfo = "Pale Sap";PetInfo = "Beetle, Vermin";PetJob = 'Paladin'
- ReadyMoveOne = 'Power Attack';ReadyMoveTwo = 'Rhino Attack';ReadyMoveThree = 'Hi-Freq Field'
- elseif state.JugMode.value == 'BlackbeardRandy' or state.JugMode.value == 'Meaty Broth' then
- PetName = "BlackbeardRandy";JugInfo = "Meaty Broth";PetInfo = "Tiger, Beast";PetJob = 'Warrior'
- ReadyMoveOne = 'Razor Fang';ReadyMoveTwo = 'Claw Cyclone';ReadyMoveThree = 'Roar'
- elseif state.JugMode.value == 'GenerousArthur' or state.JugMode.value == 'Dire Broth' then
- PetName = "GenerousArthur";JugInfo = "Dire Broth";PetInfo = "Slug, Amorph";PetJob = 'Warrior'
- ReadyMoveOne = 'Purulent Ooze';ReadyMoveTwo = 'Corrosive Ooze';ReadyMoveThree = 'Corrosive Ooze'
- elseif state.JugMode.value == 'ThreestarLynn' or state.JugMode.value == 'Muddy Broth' then
- PetName = "ThreestarLynn";JugInfo = "Muddy Broth";PetInfo = "Ladybug, Vermin";PetJob = 'Thief'
- ReadyMoveOne = 'Spiral Spin';ReadyMoveTwo = 'Sudden Lunge';ReadyMoveThree = 'Noisome Powder'
- elseif state.JugMode.value == 'BraveHeroGlenn' or state.JugMode.value == 'Wispy Broth' then
- PetName = "BraveHeroGlenn";JugInfo = "Wispy Broth";PetInfo = "Frog, Aquan";PetJob = 'Warrior'
- ReadyMoveOne = 'None';ReadyMoveTwo = 'None';ReadyMoveThree = 'None'
- elseif state.JugMode.value == 'SharpwitHermes' or state.JugMode.value == 'Saline Broth' then
- PetName = "SharpwitHermes";JugInfo = "Saline Broth";PetInfo = "Mandragora, Plantoid";PetJob = 'Monk'
- ReadyMoveOne = 'Head Butt';ReadyMoveTwo = 'Leaf Dagger';ReadyMoveThree = 'Wild Oats'
- elseif state.JugMode.value == 'ColibriFamiliar' or state.JugMode.value == 'Sugary Broth' then
- PetName = "ColibriFamiliar";JugInfo = "Sugary Broth";PetInfo = "Colibri, Bird";PetJob = 'Red Mage'
- ReadyMoveOne = 'Pecking Flurry';ReadyMoveTwo = 'Pecking Flurry';ReadyMoveThree = 'Pecking Flurry'
- elseif state.JugMode.value == 'ChoralLeera' or state.JugMode.value == 'Glazed Broth' then
- PetName = "ChoralLeera";JugInfo = "Glazed Broth";PetInfo = "HQ Colibri, Bird";PetJob = 'Red Mage'
- ReadyMoveOne = 'Pecking Flurry';ReadyMoveTwo = 'Pecking Flurry';ReadyMoveThree = 'Pecking Flurry'
- elseif state.JugMode.value == 'SpiderFamiliar' or state.JugMode.value == 'Sticky Webbing' then
- PetName = "SpiderFamiliar";JugInfo = "Sticky Webbing";PetInfo = "Spider, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Sickle Slash';ReadyMoveTwo = 'Acid Spray';ReadyMoveThree = 'Spider Web'
- elseif state.JugMode.value == 'GussyHachirobe' or state.JugMode.value == 'Slimy Webbing' then
- PetName = "GussyHachirobe";JugInfo = "Slimy Webbing";PetInfo = "HQ Spider, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Sickle Slash';ReadyMoveTwo = 'Acid Spray';ReadyMoveThree = 'Spider Web'
- elseif state.JugMode.value == 'AcuexFamiliar' or state.JugMode.value == 'Poisonous Broth' then
- PetName = "AcuexFamiliar";JugInfo = "Poisonous Broth";PetInfo = "Acuex, Amorph";PetJob = 'Black Mage'
- ReadyMoveOne = 'Foul Waters';ReadyMoveTwo = 'Pestilent Plume';ReadyMoveThree = 'Pestilent Plume'
- elseif state.JugMode.value == 'FluffyBredo' or state.JugMode.value == 'Venomous Broth' then
- PetName = "FluffyBredo";JugInfo = "Venomous Broth";PetInfo = "HQ Acuex, Amorph";PetJob = 'Black Mage'
- ReadyMoveOne = 'Foul Waters';ReadyMoveTwo = 'Pestilent Plume';ReadyMoveThree = 'Pestilent Plume'
- elseif state.JugMode.value == 'SuspiciousAlice' or state.JugMode.value == 'Furious Broth' then
- PetName = "SuspiciousAlice";JugInfo = "Furious Broth";PetInfo = "Eft, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Nimble Snap';ReadyMoveTwo = 'Cyclotail';ReadyMoveThree = 'Geist Wall'
- elseif state.JugMode.value == 'AnklebiterJedd' or state.JugMode.value == 'Crackling Broth' then
- PetName = "AnklebiterJedd";JugInfo = "Crackling Broth";PetInfo = "Diremite, Vermin";PetJob = 'Dark Knight'
- ReadyMoveOne = 'Double Claw';ReadyMoveTwo = 'Spinning Top';ReadyMoveThree = 'Filamented Hold'
- elseif state.JugMode.value == 'FleetReinhard' or state.JugMode.value == 'Rapid Broth' then
- PetName = "FleetReinhard";JugInfo = "Rapid Broth";PetInfo = "Raptor, Lizard";PetJob = 'Warrior'
- ReadyMoveOne = 'Scythe Tail';ReadyMoveTwo = 'Ripper Fang';ReadyMoveThree = 'Chomp Rush'
- elseif state.JugMode.value == 'CursedAnnabelle' or state.JugMode.value == 'Creepy Broth' then
- PetName = "CursedAnnabelle";JugInfo = "Creepy Broth";PetInfo = "Antlion, Vermin";PetJob = 'Warrior'
- ReadyMoveOne = 'Mandibular Bite';ReadyMoveTwo = 'Venom Spray';ReadyMoveThree = 'Sandblast'
- elseif state.JugMode.value == 'SurgingStorm' or state.JugMode.value == 'Insipid Broth' then
- PetName = "SurgingStorm";JugInfo = "Insipid Broth";PetInfo = "Apkallu, Bird";PetJob = 'Monk'
- ReadyMoveOne = 'Beak Lunge';ReadyMoveTwo = 'Wing Slap';ReadyMoveThree = 'Wing Slap'
- elseif state.JugMode.value == 'SubmergedIyo' or state.JugMode.value == 'Deepwater Broth' then
- PetName = "SubmergedIyo";JugInfo = "Deepwater Broth";PetInfo = "HQ Apkallu, Bird";PetJob = 'Monk'
- ReadyMoveOne = 'Beak Lunge';ReadyMoveTwo = 'Wing Slap';ReadyMoveThree = 'Wing Slap'
- elseif state.JugMode.value == 'MosquitoFamiliar' or state.JugMode.value == 'Wetlands Broth' then
- PetName = "MosquitoFamiliar";JugInfo = "Wetlands Broth";PetInfo = "Mosquito, Vermin";PetJob = 'Dark Knight'
- ReadyMoveOne = 'Infected Leech';ReadyMoveTwo = 'Gloom Spray';ReadyMoveThree = 'Gloom Spray'
- elseif state.JugMode.value == 'Left-HandedYoko' or state.JugMode.value == 'Heavenly Broth' then
- PetName = "Left-HandedYoko";JugInfo = "Heavenly Broth";PetInfo = "HQ Mosquito, Vermin";PetJob = 'Dark Knight'
- ReadyMoveOne = 'Infected Leech';ReadyMoveTwo = 'Gloom Spray';ReadyMoveThree = 'Gloom Spray'
- end
- update_display_mode_info()
- end
- -------------------------------------------------------------------------------------------------------------------
- -- Ready Move Presets - Credit to Bomberto
- -------------------------------------------------------------------------------------------------------------------
- function job_self_command(cmdParams, eventArgs)
- if cmdParams[1]:lower() == 'ready' then
- ready_move(cmdParams)
- eventArgs.handled = true
- end
- end
- function ready_move(cmdParams)
- local move = cmdParams[2]:lower()
- if pet.name == 'DroopyDortwin' or pet.name == 'PonderingPeter' or pet.name == 'HareFamiliar' or pet.name == 'KeenearedSteffi' or pet.name == 'LuckyLulush' then
- if move == 'one' then
- send_command('input /pet "Foot Kick" <me>')
- elseif move == 'two' then
- send_command('input /pet "Whirl Claws" <me>')
- elseif move == 'three' then
- send_command('input /pet "Wild Carrot" <me>') end
- elseif pet.name == 'SunburstMalfik' or pet.name == 'AgedAngus' or pet.name == 'HeraldHenry' or pet.name == 'CrabFamiliar' or pet.name == 'CourierCarrie' then
- if move == 'one' then
- send_command('input /pet "Big Scissors" <me>')
- elseif move == 'two' then
- send_command('input /pet "Scissor Guard" <me>')
- elseif move == 'three' then
- send_command('input /pet "Bubble Curtain" <me>') end
- elseif pet.name == 'WarlikePatrick' or pet.name == 'LizardFamiliar' or pet.name == 'ColdbloodedComo' or pet.name == 'AudaciousAnna' then
- if move == 'one' then
- send_command('input /pet "Tail Blow" <me>')
- elseif move == 'two' then
- send_command('input /pet "Brain Crush" <me>')
- elseif move == 'three' then
- send_command('input /pet "Fireball" <me>') end
- elseif pet.name == 'ScissorlegXerin' or pet.name == 'BouncingBertha' then
- if move == 'one' then
- send_command('input /pet "Sensilla Blades" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Tegmina Buffet" <me>') end
- elseif pet.name == 'RhymingShizuna' or pet.name == 'SheepFamiliar' or pet.name == 'LullabyMelodia' or pet.name == 'NurseryNazuna' then
- if move == 'one' then
- send_command('input /pet "Lamb Chop" <me>')
- elseif move == 'two' then
- send_command('input /pet "Rage" <me>')
- elseif move == 'three' then
- send_command('input /pet "Sheep Song" <me>') end
- elseif pet.name == 'AttentiveIbuki' or pet.name == 'SwoopingZhivago' then
- if move == 'one' then
- send_command('input /pet "Swooping Frenzy" <me>')
- elseif move == 'two' then
- send_command('input /pet "Pentapeck" <me>')
- elseif move == 'three' then
- send_command('input /pet "Molting Plumage" <me>') end
- elseif pet.name == 'AmiableRoche' or pet.name == 'TurbidToloi' then
- if move == 'one' then
- send_command('input /pet "Recoil Dive" <me>')
- elseif move == 'two' then
- send_command('input /pet "Water Wall" <me>')
- elseif move == 'three' then
- send_command('input /pet "Intimidate" <me>') end
- elseif pet.name == 'BrainyWaluis' or pet.name == 'FunguarFamiliar' or pet.name == 'DiscreetLouise' then
- if move == 'one' then
- send_command('input /pet "Frogkick" <me>')
- elseif move == 'two' then
- send_command('input /pet "Spore" <me>')
- elseif move == 'three' then
- send_command('input /pet "Silence Gas" <me>') end
- elseif pet.name == 'HeadbreakerKen' or pet.name == 'MayflyFamiliar' or pet.name == 'ShellbusterOrob' or pet.name == 'MailbusterCetas' then
- if move == 'one' then
- send_command('input /pet "Somersault" <me>')
- elseif move == 'two' then
- send_command('input /pet "Cursed Sphere" <me>')
- elseif move == 'three' then
- send_command('input /pet "Venom" <me>') end
- elseif pet.name == 'RedolentCandi' or pet.name == 'AlluringHoney' then
- if move == 'one' then
- send_command('input /pet "Tickling Tendrils" <me>')
- elseif move == 'two' then
- send_command('input /pet "Stink Bomb" <me>')
- elseif move == 'three' then
- send_command('input /pet "Nectarous Deluge" <me>') end
- elseif pet.name == 'CaringKiyomaro' or pet.name == 'VivaciousVickie' then
- if move == 'one' then
- send_command('input /pet "Sweeping Gouge" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Zealous Snort" <me>') end
- elseif pet.name == 'HurlerPercival' or pet.name == 'BeetleFamiliar' or pet.name == 'PanzerGalahad' then
- if move == 'one' then
- send_command('input /pet "Power Attack" <me>')
- elseif move == 'two' then
- send_command('input /pet "Rhino Attack" <me>')
- elseif move == 'three' then
- send_command('input /pet "Hi-Freq Field" <me>') end
- elseif pet.name == 'BlackbeardRandy' or pet.name == 'TigerFamiliar' or pet.name == 'SaberSiravarde' or pet.name == 'GorefangHobs' then
- if move == 'one' then
- send_command('input /pet "Razor Fang" <me>')
- elseif move == 'two' then
- send_command('input /pet "Claw Cyclone" <me>')
- elseif move == 'three' then
- send_command('input /pet "Roar" <me>') end
- elseif pet.name == 'ColibriFamiliar' or pet.name == 'ChoralLeera' then
- if move == 'one' or move == 'two' or move == 'three' then
- send_command('input /pet "Pecking Flurry" <me>') end
- elseif pet.name == 'SpiderFamiliar' or pet.name == 'GussyHachirobe' then
- if move == 'one' then
- send_command('input /pet "Sickle Slash" <me>')
- elseif move == 'two' then
- send_command('input /pet "Acid Spray" <me>')
- elseif move == 'three' then
- send_command('input /pet "Spider Web" <me>') end
- elseif pet.name == 'GenerousArthur' or pet.name == 'GooeyGerard' then
- if move == 'one' then
- send_command('input /pet "Purulent Ooze" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Corrosive Ooze" <me>') end
- elseif pet.name == 'ThreestarLynn' or pet.name == 'DipperYuly' then
- if move == 'one' then
- send_command('input /pet "Spiral Spin" <me>')
- elseif move == 'two' then
- send_command('input /pet "Sudden Lunge" <me>')
- elseif move == 'three' then
- send_command('input /pet "Noisome Powder" <me>') end
- elseif pet.name == 'SharpwitHermes' or pet.name == 'FlowerpotBill' or pet.name == 'FlowerpotBen' or pet.name == 'Homunculus' or pet.name == 'FlowerpotMerle' then
- if move == 'one' then
- send_command('input /pet "Head Butt" <me>')
- elseif move == 'two' then
- send_command('input /pet "Leaf Dagger" <me>')
- elseif move == 'three' then
- send_command('input /pet "Wild Oats" <me>') end
- elseif pet.name == 'AcuexFamiliar' or pet.name == 'FluffyBredo' then
- if move == 'one' then
- send_command('input /pet "Foul Waters" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Pestilent Plume" <me>') end
- elseif pet.name == 'FlytrapFamiliar' or pet.name == 'VoraciousAudrey' or pet.name == 'PrestoJulio' then
- if move == 'one' then
- send_command('input /pet "Soporific" <me>')
- elseif move == 'two' then
- send_command('input /pet "Palsy Pollen" <me>')
- elseif move == 'three' then
- send_command('input /pet "Gloeosuccus" <me>') end
- elseif pet.name == 'EftFamiliar' or pet.name == 'AmbusherAllie' or pet.name == 'BugeyedBroncha' or pet.name == 'SuspiciousAlice' then
- if move == 'one' then
- send_command('input /pet "Nimble Snap" <me>')
- elseif move == 'two' then
- send_command('input /pet "Cyclotail" <me>')
- elseif move == 'three' then
- send_command('input /pet "Geist Wall" <me>') end
- elseif pet.name == 'AntlionFamiliar' or pet.name == 'ChopsueyChucky' or pet.name == 'CursedAnnabelle' then
- if move == 'one' then
- send_command('input /pet "Mandibular Bite" <me>')
- elseif move == 'two' then
- send_command('input /pet "Venom Spray" <me>')
- elseif move == 'three' then
- send_command('input /pet "Sandblast" <me>') end
- elseif pet.name == 'MiteFamiliar' or pet.name == 'LifedrinkerLars' or pet.name == 'AnklebiterJedd' then
- if move == 'one' then
- send_command('input /pet "Double Claw" <me>')
- elseif move == 'two' then
- send_command('input /pet "Spinning Top" <me>')
- elseif move == 'three' then
- send_command('input /pet "Filamented Hold" <me>') end
- elseif pet.name == 'AmigoSabotender' then
- if move == 'one' then
- send_command('input /pet "Needleshot" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "??? Needles" <me>') end
- elseif pet.name == 'CraftyClyvonne' or pet.name == 'BloodclawShashra' then
- if move == 'one' then
- send_command('input /pet "Chaotic Eye" <me>')
- elseif move == 'two' then
- send_command('input /pet "Blaster" <me>')
- elseif move == 'three' then
- send_command('input /pet "Charged Whisker" <me>') end
- elseif pet.name == 'SwiftSieghard' or pet.name == 'FleetReinhard' then
- if move == 'one' then
- send_command('input /pet "Scythe Tail" <me>')
- elseif move == 'two' then
- send_command('input /pet "Ripper Fang" <me>')
- elseif move == 'three' then
- send_command('input /pet "Chomp Rush" <me>') end
- elseif pet.name == 'DapperMac' or pet.name == 'SurgingStorm' or pet.name == 'SubmergedIyo' then
- if move == 'one' then
- send_command('input /pet "Beak Lunge" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Wing Slap" <me>') end
- elseif pet.name == 'FatsoFargann' then
- if move == 'one' then
- send_command('input /pet "Suction" <me>')
- elseif move == 'two' then
- send_command('input /pet "Acid Mist" <me>')
- elseif move == 'three' then
- send_command('input /pet "Drain Kiss" <me>') end
- elseif pet.name == 'FaithfulFalcorr' then
- if move == 'one' then
- send_command('input /pet "Back Heel" <me>')
- elseif move == 'two' then
- send_command('input /pet "Choke Breath" <me>')
- elseif move == 'three' then
- send_command('input /pet "Fantod" <me>') end
- elseif pet.name == 'CrudeRaphie' then
- if move == 'one' then
- send_command('input /pet "Tortoise Stomp" <me>')
- elseif move == 'two' then
- send_command('input /pet "Harden Shell" <me>')
- elseif move == 'three' then
- send_command('input /pet "Aqua Breath" <me>') end
- elseif pet.name == 'MosquitoFamilia' or pet.name == 'Left-HandedYoko' then
- if move == 'one' then
- send_command('input /pet "Infected Leech" <me>')
- elseif move == 'two' or move == 'three' then
- send_command('input /pet "Gloom Spray" <me>') end
- end
- end
- -- Updates gear based on pet status changes.
- function job_pet_status_change(newStatus, oldStatus, eventArgs)
- if newStatus == 'Idle' or newStatus == 'Engaged' then
- handle_equipping_gear(player.status)
- end
- if pet.hpp == 0 then
- clear_pet_buff_timers()
- end
- end
- -- Set eventArgs.handled to true if we don't want the automatic display to be run.
- function display_current_job_state(eventArgs)
- local msg = 'Melee'
- if state.CombatForm.has_value then
- msg = msg .. ' (' .. state.CombatForm.value .. ')'
- end
- msg = msg .. ': '
- msg = msg .. state.OffenseMode.value
- if state.HybridMode.value ~= 'Normal' then
- msg = msg .. '/' .. state.HybridMode.value
- end
- msg = msg .. ', WS: ' .. state.WeaponskillMode.value
- if state.DefenseMode.value ~= 'None' then
- msg = msg .. ', ' .. 'Defense: ' .. state.DefenseMode.value .. ' (' .. state[state.DefenseMode.value .. 'DefenseMode'].value .. ')'
- end
- if state.Kiting.value then
- msg = msg .. ', Kiting'
- end
- msg = msg .. ', Reward: '..state.RewardMode.value..', Corr.: '..state.CorrelationMode.value
- if state.JugMode.value ~= 'None' then
- add_to_chat(8,'-- Jug Pet: '.. PetName ..' -- Jug: '.. JugInfo ..' -- (Pet Info: '.. PetInfo ..', '.. PetJob ..')')
- end
- add_to_chat(28,'Ready Moves: 1.'.. ReadyMoveOne ..' 2.'.. ReadyMoveTwo ..' 3.'.. ReadyMoveThree ..'')
- add_to_chat(122, msg)
- eventArgs.handled = true
- end
- -------------------------------------------------------------------------------------------------------------------
- -- Utility functions specific to this job.
- -------------------------------------------------------------------------------------------------------------------
- function get_combat_form()
- if player.sub_job == 'NIN' or player.sub_job == 'DNC' then
- state.CombatForm:set('DW')
- else
- state.CombatForm:reset()
- end
- end
- function pet_buff_timer(spell)
- if spell.english == 'Reward' then
- send_command('timers c "Pet: Regen" 180 down '..RewardRegenIcon..'')
- elseif spell.english == 'Spur' then
- send_command('timers c "Pet: Spur" 90 down '..SpurIcon..'')
- elseif spell.english == 'Run Wild' then
- send_command('timers c "'..spell.english..'" '..RunWildDuration..' down '..RunWildIcon..'')
- end
- end
- function clear_pet_buff_timers()
- send_command('timers c "Pet: Regen" 0 down '..RewardRegenIcon..'')
- send_command('timers c "Pet: Spur" 0 down '..SpurIcon..'')
- send_command('timers c "Run Wild" 0 down '..RunWildIcon..'')
- end
- function display_mode_info()
- if DisplayModeInfo == 'true' then
- send_command('text AccuracyText create Accuracy Mode: Normal')
- send_command('text AccuracyText pos '..TextBoxX..' '..TextBoxY..'')
- send_command('text AccuracyText size '..TextSize..'')
- TextBoxY = TextBoxY + (TextSize + 6)
- send_command('text CorrelationText create Correlation Mode: Neutral')
- send_command('text CorrelationText pos '..TextBoxX..' '..TextBoxY..'')
- send_command('text CorrelationText size '..TextSize..'')
- TextBoxY = TextBoxY + (TextSize + 6)
- send_command('text PetModeText create Pet Mode: PetOnly')
- send_command('text PetModeText pos '..TextBoxX..' '..TextBoxY..'')
- send_command('text PetModeText size '..TextSize..'')
- TextBoxY = TextBoxY + (TextSize + 6)
- send_command('text JugPetText create Jug Mode: Meaty Broth')
- send_command('text JugPetText pos '..TextBoxX..' '..TextBoxY..'')
- send_command('text JugPetText size '..TextSize..'')
- end
- end
- function update_display_mode_info()
- if DisplayModeInfo == 'true' then
- send_command('text AccuracyText text Acc. Mode: '..state.OffenseMode.value..'')
- send_command('text CorrelationText text Corr. Mode: '..state.CorrelationMode.value..'')
- send_command('text PetModeText text Pet Mode: '..state.PetMode.value..'')
- send_command('text JugPetText text Jug Mode: '..state.JugMode.value..'')
- end
- end
- function get_melee_groups()
- classes.CustomMeleeGroups:clear()
- if buffactive['Aftermath: Lv.3'] then
- classes.CustomMeleeGroups:append('Aftermath')
- end
- end
Add Comment
Please, Sign In to add comment