• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Skill mod on weapon

jkthomsen9

Well-known member
I am making a clawed weapon that gives a +2 bonus on climb checks. I am trying to disable the bonus if the weapon is not equiped. I beleve I need to use the glsEquip field but not sure how. This is as far as I got.

~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

if (field.glsEquip.value <>0) Then
#skillbonus[skClimb] += 2
endif
 
I have also looked at several equipment items to see how this was done in the past. I was not able to find an item that added the skill mod. Is this on the to do list? I am talking about the climbers kit, healers kit, masterwork thieves tools ect.
 
Code:
if (field[glsEquip].value + field[wIs2nd].value <> 0) Then
  #skillbonus[skClimb] += 2
  endif

The FtDisable tags are only used on feats and feat-like things (like traits), so the FtDisable part isn't needed.

I've also added a check for equipped in the off-hand.

The masterwork bonuses have not been implemented yet.
 
I tried the scrpt and got the follwing error.

Non-existent field 'glsEquip' used by script.

I checked your spelling and case as I copyed and pasted. not sure what is wrong...I put this in eval scripts Frist 100
 
Back
Top