View Single Post
03/07/18, 01:39 PM   #4
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 167
Originally Posted by Dolgubon View Post
This is to some extent possible. You must block both bars at the same time though. If you try to block ability 5 you can't block it on one bar only, since keybinda cannot be changed in combat.

It shouldn't be an issue for zos bc it's possible to do manually anyway. I've done it manually a few times before actually. The more complicated features would be an issue, but simply blanket blocking one skill is simple
You can just ZO_PreHook ActionButtonDown to block an ability from being cast. That way you can change the block state even infight without changing keybinds.

ZO_PreHook("ActionButtonDown", function(slot) return slot == blockedSlot end)

edit: apparently abilities are cast on button release, not press. So hook ActionButtonUp instead.

Last edited by Shinni : 03/07/18 at 01:43 PM.
  Reply With Quote