So my DM provided me with an item that gives me two additional uses of the Impromptu Sneak Attack ability (arcane trickster). I am working on creating this item and am trying to use pre-existing items as a template (e.g., Monk Robes).
I am not having much luck and was wondering, for the Eval Script what would work. Currently I have:
-- if (field[gIsEquip].value <> 0) then
~ Get 2 additional Impromptu Sneak Attack uses
if (#hasability[cATrImpSnk] <> 0) then
#trkmax[cATrImpSnk] += 2
endif
Probably, the If statement (if has ability) is not needed because the item is going to an Arcane Trickster, and it will never be used for an different class. Though having the proper code (for the if portion) would be helpful for future development.
Regards
I am not having much luck and was wondering, for the Eval Script what would work. Currently I have:
-- if (field[gIsEquip].value <> 0) then
~ Get 2 additional Impromptu Sneak Attack uses
if (#hasability[cATrImpSnk] <> 0) then
#trkmax[cATrImpSnk] += 2
endif
Probably, the If statement (if has ability) is not needed because the item is going to an Arcane Trickster, and it will never be used for an different class. Though having the proper code (for the if portion) would be helpful for future development.
Regards