Thanks, this is working almost perfectly!
However,
1) How could I code a validif for characters having the (house-ruled) skill trick granting a Martial Weapon proficiency? "#hasskilltrick" doesn't work
2) For the second part of your script, it considers you're proficient in the weapon only if you have one in your weapon list. For example, an elven rogue would be considered as proficient in the longsword only if he actually carries one (not necessary to actually equip it), otherwise the racial proficiency does not register.
Thanks!
|