Add these to your list of midcast sets.
Code
sets.midcast.AlacStun = {stuff}
sets.midcast.DarkArtsStun = {stuff}
remove the set called, sets.midcast.Stun
hit CTRL+F, copy/paste the next line of code in the search box and click find.
Code
if spell.action_type == 'Magic' then
Paste the following after the above mentioned line.
Code
if spell.english == 'Stun' then
if buffactive.alacrity then
return 'AlacStun'
else
return 'DarkArtsStun'
end
end
It should then look something like this.
Code
function job_get_spell_map(spell, default_spell_map)
if spell.action_type == 'Magic' then
if spell.english == 'Stun' then
if buffactive.alacrity then
return 'AlacStun'
else
return 'DarkArtsStun'
end
end
if default_spell_map == 'Cure' or default_spell_map == 'Curaga' then
if world.weather_element == 'Light' then
return 'CureWithLightWeather'
end
elseif spell.skill == 'Enfeebling Magic' then
if spell.type == 'WhiteMagic' then
return 'MndEnfeebles'
else
return 'IntEnfeebles'
end
elseif spell.skill == 'Elemental Magic' then
if info.low_nukes:contains(spell.english) then
return 'LowTierNuke'
elseif info.mid_nukes:contains(spell.english) then
return 'MidTierNuke'
elseif info.high_nukes:contains(spell.english) then
return 'HighTierNuke'
end
end
end
end
I had to use spaces instead of tabs, for the sake of looks, I hope 5 spaces = 1 tab.