Eh, won't be casting Raise on myself anytime soon, and /Whm is pretty much dead to me atm, but I made the changes anyways. So with the above functions, my dumbass didn't realize you can't have multiple, they all have to be within the same function job_midcast. After messing with it for a few hours, I got it all working, except for one very annoying hickup. I have:
Code:
function job_post_midcast(spell, action, spellMap, eventArgs)
if spell.skill == 'Elemental Magic' then
if spell.element == world.day_element or spell.element == world.weather_element then
equip(sets.midcast['Elemental Magic'], {waist="Hachirin-no-Obi"})
end
elseif spell.skill == 'Healing Magic' then
if spell.english:startswith('Cure') and world.day_element == 'Light' or world.weather_element == 'Light' then
equip(sets.midcast.Cure, {waist="Hachirin-no-Obi"})
end
elseif spell.english:startswith('Cure') then
if spell.target and spell.target.type == 'SELF' then
equip(sets.midcast.Cure.Self)
end
elseif spell.english:startswith('Indi') then
if buffactive['Entrust'] then
equip(sets.buff['Entrust'])
end
end
end
Works nearly flawlessly for what I was wanting, while still having my obi work. Problem being, light day/weather takes precedence over the self function. Is there an easy way for it to check for both, or do I just need to include another function that is essentially
Code:
elseif spell.skill == 'Healing Magic' then
if spell.english:startswith('Cure') and spell.target and spell.target.type == 'SELF' and world.day_element == 'Light' or world.weather_element == 'Light' then
equip(sets.midcast.Cure.Self, {waist="Hachirin-no-Obi"})
end
I say essentially because that bit doesn't seem to work as I was hoping. Want to say thanks for the help again, helps a ton with motivation and confidence with GS knowing you guys are ready to give direction.