Guest User

bluthing

a guest
Mar 9th, 2025
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.78 KB | None | 0 0
  1. -- Initialize function for this job file.
  2. function get_sets()
  3. mote_include_version = 2
  4.  
  5. --Load and initialize the include file.
  6. include('Mote-Include.lua')
  7. include('organizer-lib')
  8. end
  9.  
  10.  
  11. --Setup variables that are user-independent. state.Buff variables initialized here will automatically be tracked.
  12. function job_setup()
  13. state.Buff['Unbridled Learning'] = buffactive['Unbridled Learning'] or false
  14. state.Buff['Burst Affinity'] = buffactive['Burst Affinity'] or false
  15. state.Buff['Chain Affinity'] = buffactive['Chain Affinity'] or false
  16. state.Buff.Convergence = buffactive.Convergence or false
  17. state.Buff.Diffusion = buffactive.Diffusion or false
  18. state.Buff.Efflux = buffactive.Efflux or false
  19.  
  20. --Mapping for gear sets for various Blue Magic spells.
  21. blue_magic_maps = {}
  22.  
  23. --Physical spells.
  24. --Physical spells with heavy accuracy penalties that need to prioritize accuracy first.
  25. blue_magic_maps.PhysicalAcc = S{
  26. 'Heavy Strike'
  27. }
  28.  
  29. --Physical spells with STR mod.
  30. blue_magic_maps.PhysicalStr = S{
  31. 'Asuran Claws','Battle Dance','Bilgestorm','Bloodrake','Cannonball','Death Scissors','Delta Thrust',
  32. 'Dimensional Death','Disseverment','Empty Thrash','Foot Kick','Frenetic Rip','Glutinous Dart',
  33. 'Goblin Rush','Mandibular Bite','Paralyzing Triad','Pinecone Bomb','Power Attack','Quadrastrike',
  34. 'Quad. Continuum','Ram Charge','Saurian Slide','Screwdriver','Sinker Drill','Smite of Rage',
  35. 'Spinal Cleave','Thrashing Assault','Tourbillion','Uppercut','Vertical Cleave',
  36. }
  37.  
  38. --Physical spells with DEX mod.
  39. blue_magic_maps.PhysicalDex = S{
  40. 'Amorphic Spikes','Barbed Crescent','Claw Cyclone','Hysteric Barrage','Seedspray','Sickle Slash',
  41. 'Terror Touch','Vanity Dive'
  42. }
  43.  
  44. --Physical spells with VIT mod.
  45. blue_magic_maps.PhysicalVit = S{
  46. 'Body Slam','Grand Slam','Sprout Smack','Sub-zero Smash','Sweeping Gouge'
  47. }
  48.  
  49. --Physical spells with AGI mod.
  50. blue_magic_maps.PhysicalAgi = S{
  51. 'Benthic Typhoon','Feather Storm','Helldive','Hydro Shot','Jet Stream','Spiral Spin','Wild Oats'
  52. }
  53.  
  54. --Physical spells with INT mod.
  55. blue_magic_maps.PhysicalInt = S{
  56. 'Queasyshroom'
  57. }
  58.  
  59. --Physical spells with CHR mod.
  60. blue_magic_maps.PhysicalChr = S{
  61. 'Bludgeon'
  62. }
  63.  
  64. --Physical spells with Max HP mod.
  65. blue_magic_maps.PhysicalHP = S{
  66. 'Final Sting'
  67. }
  68.  
  69. --Magical spells.
  70. --Magical spells with INT mod.
  71. blue_magic_maps.MagicalInt = S{
  72. 'Anvil Lightning','Blastbomb','Blazing Bound','Blinding Fulgor','Bomb Toss','Cesspool',
  73. 'Charged Whisker','Corrosive Ooze','Crashing Thunder','Cursed Sphere','Dark Orb','Death Ray',
  74. 'Droning Whirlwind','Embalming Earth','Entomb','Everyone. Grudge','Firespit','Foul Waters',
  75. 'Gates of Hades','Ice Break','Leafstorm','Maelstrom','Molting Plumage','Nectarous Deluge',
  76. 'Polar Roar','Rail Cannon','Rending Deluge','Retinal Glare','Sandspin','Scouring Spate',
  77. 'Searing Tempest','Silent Storm','Spectral Floe','Subduction','Thermal Pulse','Tearing Gust',
  78. 'Tem. Upheaval','Tenebral Crush','Water Bomb','Uproot'
  79. }
  80.  
  81. --Magical spells with AGI mod.
  82. blue_magic_maps.MagicalAgi = S{
  83. 'Palling Salvo'
  84. }
  85.  
  86. --Magical spells with MND mod.
  87. blue_magic_maps.MagicalMnd = S{
  88. 'Acrid Stream','Diffusion Ray','Magic Hammer','Mind Blast','Regurgitate'
  89. }
  90.  
  91. --Magical spells with CHR mod.
  92. blue_magic_maps.MagicalChr = S{
  93. 'Eyes On Me','Mysterious Light'
  94. }
  95.  
  96. --Magical spells whose primary function is to land their additional effect, prioritizing MAcc.
  97. blue_magic_maps.MagicalAcc = S{
  98. '1000 Needles','Absolute Terror','Actinic Burst','Auroral Drape','Awful Eye','Blank Gaze',
  99. 'Blistering Roar','Chaotic Eye','Cimicine Discharge','Cold Wave','Cruel Joke','Demoralizing Roar',
  100. 'Dream Flower','Enervation','Feather Tickle','Filamented Hold','Frightful Roar','Geist Wall',
  101. 'Hecatomb Wave','Infrasonics','Jettatura','Light of Penance','Lowing','Mortal Ray','Reaving Wind',
  102. 'Sandspray','Sheep Song','Soporific','Sound Blast','Stinking Gas','Venom Shell','Voracious Trunk',
  103. 'Yawn'
  104. }
  105.  
  106. --Breath based spells.
  107. blue_magic_maps.Breath = S{
  108. 'Bad Breath','Flying Hip Press','Frost Breath','Heat Breath','Hecatomb Wave','Magnetite Cloud',
  109. 'Poison Breath','Radiant Breath','Self-Destruct','Thunder Breath','Vapor Spray','Wind Breath'
  110. }
  111.  
  112. --Stun spells.
  113. blue_magic_maps.Stun = S{
  114. 'Blitzstrahl','Frypan','Head Butt','Sudden Lunge','Tail Slap','Temporal Shift','Thunderbolt',
  115. 'Whirl of Rage'
  116. }
  117.  
  118. --Healing spells.
  119. blue_magic_maps.Healing = S{
  120. 'Healing Breeze','Magic Fruit','Plenilune Embrace','Pollen','Restoral','Wild Carrot'
  121. }
  122.  
  123. --Healing spells that scale off of Max HP.
  124. blue_magic_maps.HealingHP = S{
  125. 'White Wind'
  126. }
  127.  
  128. --Buff spells that scale off of Blue Magic skill.
  129. blue_magic_maps.SkillBuff = S{
  130. 'Barrier Tusk','Diamondhide','Magic Barrier','Metallic Body','Plasma Charge','Pyric Bulwark',
  131. 'Reactor Cool','Nat. Meditation','Occultation'
  132. }
  133.  
  134. --Drain spells that scale off of Blue Magic skill and require MAcc.
  135. blue_magic_maps.SkillDrain = S{
  136. 'Atr. Libations','Blood Drain','Blood Saber','Digest','MP Drainkiss','Osmosis'
  137. }
  138.  
  139. --Buff spells with no ability to scale.
  140. blue_magic_maps.Buff = S{
  141. 'Amplification','Animating Wail','Battery Charge','Carcharian Verve','Cocoon','Erratic Flutter',
  142. 'Exuviation','Fantod','Feather Barrier','Harden Shell','Memento Mori','Mighty Guard','Nat. Meditation',
  143. 'Orcish Counterstance','Refueling','Regeneration','Saline Coat','Triumphant Roar','Warm-Up',
  144. 'Winds of Promyvion','Zephyr Mantle'
  145. }
  146. end
  147.  
  148.  
  149. --Set up gear sets.
  150. function init_gear_sets()
  151. --Defines gear with variable augments. (Remove "--" when using.)
  152. --Herculean gear.
  153. --HercHead = {}
  154. --HercBody = {}
  155. --HercHands = {}
  156. --HercLegs = {}
  157. --HercFeet = {}
  158.  
  159. --The following is an example.
  160. --HercHead.TP = { name="Herculean Helm", augments={'STR+15','Attack+15',}}
  161.  
  162. --Ambuscade Capes.
  163. --Rosmerta = {}
  164. --Rosmerta.TP = {name="Rosmerta's Cape", augments={'DEX+20','Accuracy+20 Attack+20','DEX+10','"Dbl.Atk."+10','Phys. dmg. taken-10%',}}
  165.  
  166. --Alluvion Skirmish gear.
  167. --Taeon, Telchine, etc.
  168.  
  169.  
  170. --Job Ability/buff active swap-ins.
  171. --sets.buff['Burst Affinity'] = {
  172. --legs="Assimilator's Shalwar +3",
  173. --feet="Hashishin Basmak +3"
  174. --}
  175. --sets.buff['Chain Affinity'] = {
  176. --head="Hashishin Kavuk +3",
  177. --body="Luhlaza Jubbah +3", --<do not unnote this unless Enchainment is merited (it shouldn't be)
  178. --feet="Assimilator's Charuqs +3"
  179. --}
  180. sets.buff.Convergence = {head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}}}
  181. sets.buff.Diffusion = {feet={ name="Luhlaza Charuqs +3", augments={'Enhances "Diffusion" effect',}}}
  182. --sets.buff.Efflux = {legs="Hashishin Tayt +3"}
  183.  
  184. sets.precast.JA['Azure Lore'] = {hands={ name="Luh. Bazubands +3", augments={'Enhances "Azure Lore" effect',}}}
  185.  
  186. --Precasts for spells.
  187. sets.precast.FC = {}
  188. --sets.precast.FC['Blue Magic'] = {}
  189.  
  190. --Weaponskill sets.
  191. sets.precast.WS = {}
  192. sets.precast.WS['Savage Blade'] = {}
  193. sets.precast.WS['Sanguine Blade'] = {}
  194. sets.precast.WS['Requiestcat'] = {}
  195. --sets.precast.WS['Chant du Cygne'] = {}
  196. --sets.precast.WS['Expiacion'] = {}
  197. --sets.precast.WS['Imperator'] = {}
  198.  
  199. --Blue Magic sets.
  200. --Physical spells.
  201. sets.midcast['Blue Magic'].PhysicalAcc = {}
  202. sets.midcast['Blue Magic'].PhysicalStr = { }
  203. sets.midcast['Blue Magic'].PhysicalDex = {}
  204. sets.midcast['Blue Magic'].PhysicalVit = {}
  205. sets.midcast['Blue Magic'].PhysicalAgi = {}
  206. sets.midcast['Blue Magic'].PhysicalInt = {}
  207. sets.midcast['Blue Magic'].PhysicalChr = {}
  208. sets.midcast['Blue Magic'].PhysicalHP = {}
  209.  
  210. --Magical spells.
  211. sets.midcast['Blue Magic'].MagicalInt = {}
  212. sets.midcast['Blue Magic'].MagicalAgi = {}
  213. sets.midcast['Blue Magic'].MagicalMnd = {}
  214. sets.midcast['Blue Magic'].MagicalChr = {}
  215. sets.midcast['Blue Magic'].MagicalAcc = {}
  216.  
  217. --Misc. spells.
  218. sets.midcast['Blue Magic'].Breath = set_combine(sets.midcast['Blue Magic'].MagicalInt, {
  219. head={ name="Luh. Keffiyeh +3", augments={'Enhances "Convergence" effect',}}
  220. })
  221. sets.midcast['Blue Magic'].Stun = {}
  222. sets.midcast['Blue Magic'].Healing = {}
  223. sets.midcast['Blue Magic'].HealingHP = {}
  224. sets.midcast['Blue Magic'].SkillBuff = {}
  225. sets.midcast['Blue Magic'].SkillDrain = {}
  226. sets.midcast['Blue Magic'].Buff = {}
  227.  
  228. --Combines for spell affinity.
  229. sets.midcast['Blue Magic']['Tenebral Crush'] = set_combine(sets.midcast['Blue Magic'].MagicalInt, {
  230. head="Pixie Hairpin +1",
  231. --ring1="Archon Ring"
  232. })
  233.  
  234. --Non Blue Magic sets.
  235. --WIP
  236.  
  237. --Combines for misc.
  238. sets.midcast.Refresh = set_combine(sets.midcast['Blue Magic'].Buff, {
  239. head='Amalric Coif +1'
  240. })
  241. sets.midcast['Blue Magic']['Battery Charge'] = set_combine(sets.midcast['Blue Magic'].Buff, {
  242. head='Amalric Coif +1'
  243. })
  244.  
  245. --Idling sets.
  246. sets.idle = {}
  247.  
  248. --Engaged sets.
  249. sets.engaged = {}
  250. end
  251.  
  252. -- Custom spell mapping.
  253. function job_get_spell_map(spell, default_spell_map)
  254. if spell.skill == 'Blue Magic' then
  255. for category,spell_list in pairs(blue_magic_maps) do
  256. if spell_list:contains(spell.english) then
  257. return category
  258. end
  259. end
  260. end
  261. end
  262.  
  263.  
  264.  
  265.  
  266.  
Advertisement
Add Comment
Please, Sign In to add comment