Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_sets()
- --[[
- mage-gear.lua
- This file should be in the same directory where you keep your job.lua file.
- This file will contain the default gear for the three mage types blm, sch, geo
- After the init function, you can override gear based on your job.
- This must be called first or it might override other gear you might declare.
- Additionally, after you have overridden gear, you must call the build_default_sets function to build the casting sets.
- --]]
- include('mage-gear.lua')
- init_mage_gear()
- -- Gear Overrides
- --[[
- There are 3 ways to override gear
- 1. change equipment one piece at a time
- sets.MND.head = "Gende. Caubeen"
- 2. use the set_combine function to one or more pieces of gear
- sets.MND = set_combine(sets.MND, { head = "Gende. Caubeen" }
- 3. completely override the set with a new one
- sets.MND = { head = "Gende. Caubeen", neck = "MND Neck", etc.... }
- --]]
- sets.Macc.ear2 = "Goetia Earring"
- sets.Skill.DarkMagic = set_combine(sets.Skill.DarkMagic, { legs = "Wizard's Tonban", feet = "Goetia Sabots +2" })
- -- Additional Sets
- sets.JA['Mana Wall'] = { feet = "Goetia Sabots +2" }
- sets.JA['Enmity Douse'] = { hands = "Goetia Gloves +2" }
- -- Build Sets
- build_default_sets()
- -- Include Spell Maps and Mage Functions
- include('spell-map.lua')
- include('mage-function.lua')
- alias_element_match()
- end
- function job_buff_change(buff, gain)
- if buff == 'Mana Wall' then
- if gain then
- sets.Idle.Current = set_combine(sets.Idle, sets.JA[buff])
- else
- sets.Idle.Current = sets.Idle
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement