I turned the dial to 11...
I also added various bits of debug and discovered that Shieldbutt and similar skills were being reported as "not ok" despite the fact I had a shield equipped.
In the WHAM.ash ok() function (line 284), the offhand shield check is:
Which makes sense.. but if you have a shield equipped, that does not return - and it drops through into the next block of the switch statement which is the "Ask Richard" skills... which has "return false;" first.
This suggests that shieldbutt will never show as OK.
Replacing the shield check with the following makes it all ok again:
Although that's not the whole story since shieldbutt doesn't work with a ranged weapon equipped, so it really needs to be:
How's that?
I also added various bits of debug and discovered that Shieldbutt and similar skills were being reported as "not ok" despite the fact I had a shield equipped.
In the WHAM.ash ok() function (line 284), the offhand shield check is:
Code:
if (item_type(equipped_item($slot[off-hand]))!='shield') return false;
Which makes sense.. but if you have a shield equipped, that does not return - and it drops through into the next block of the switch statement which is the "Ask Richard" skills... which has "return false;" first.
This suggests that shieldbutt will never show as OK.
Replacing the shield check with the following makes it all ok again:
Code:
return (item_type(equipped_item($slot[off-hand]))=='shield');
Although that's not the whole story since shieldbutt doesn't work with a ranged weapon equipped, so it really needs to be:
Code:
if(weapon_type(equipped_item($slot[weapon])) == $stat[Moxie]) return false;
return (item_type(equipped_item($slot[off-hand]))=='shield');
How's that?