Cancel Status Blocked Actions - shastaxc/silver-libs GitHub Wiki
When you use a spell, item, ability, etc this will check to see if you have a status effect that blocks this action (for example, Silence status will block magic casting). If you have a blocking status effect, this function will cancel your attempted action and prevent gear swapping.
Implementation
Ensure you have the silibs precast hook in your job lua. See the Installation page for more details.
If Using Mote Libs
If the specified functions already exist, just put the silibs part inside of it in the appropriate spot. Please add the following:
function job_setup()
silibs.enable_cancel_on_blocking_status()
end
If Using Selindrile Libs
If the specified functions already exist, just put the silibs part inside of it in the appropriate spot. Please add the following in your char_job_gear.lua file:
function user_job_setup()
silibs.enable_cancel_on_blocking_status()
end