Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sets.reive = {neck="Arciela's Grace +1"}
- function user_post_precast(spell, action, spellMap, eventArgs)
- -- reive mark
- if spell.type:lower() == 'weaponskill' then
- if buffactive['Reive Mark'] then
- equip(sets.reive)
- end
- end
- end
- function user_customize_melee_set(meleeSet)
- if buffactive['Reive Mark'] then
- meleeSet = set_combine(meleeSet, sets.reive)
- end
- return meleeSet
- end
- function user_customize_idle_set(idleSet)
- if buffactive['Reive Mark'] then
- idleSet = set_combine(idleSet, sets.reive)
- end
- return idleSet
- end
- function is_sc_element_today(spell)
- if spell.type ~= 'WeaponSkill' then
- return
- end
- local weaponskill_elements = S{}:
- union(skillchain_elements[spell.skillchain_a]):
- union(skillchain_elements[spell.skillchain_b]):
- union(skillchain_elements[spell.skillchain_c])
- if weaponskill_elements:contains(world.day_element) then
- return true
- else
- return false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement