here I am with another question:
I would like to implement a function in which, as first, come activated JB are checked. If so, equip a certain gear, and lock in, even if, in further true condition of the function, that gear would be changed.
what I thought:
Code
function midcast(spell) if buffactive['light arts' then "here I declare a command in which I can lock a pieace of gear, I.E. body, so that it will remain that in all other functions." if spell.skill == 'Healing Magic' then equip_heal() elseif spell.skill == 'Enfeebling Magic' then equip_enfeebling() elseif spell.skill == 'Enhancing Magic' then equip_enhancing() if spell.name == 'Stoneskin' then equip_enhancingstoneskin() end elseif spell.skill == 'Elemental Magic' then equip_elemental() elseif spell.skill == 'Dark Magic' then if spell.name == 'Aspir' or 'Drain' then equip_darkaspirdrain() else equip_dark() end end end
Hope it's clear.
Thanks guys ^^