• 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

Editor Question: applying a penalty to specific ability based skill checks

Tordek

Member
I am working on entering the traits from the Shackled City AP and updating them to PFRPG rules.

The Touched in the Head trait has a -1 penalty for all Wisdom-based skill checks. Is there a cleaner way of applying this than to simply type in each wisdom based skill and apply the penalty individually?

Thanks in advance for the help.
 
The Wondrous Item circlet of persuasion applies a bonus to all Charisma-based skills. I'd suggest taking at how that's implemented.
 
Thanks for the help. I am still struggling with finding the right statement to apply a penalty instead of bonus.

What is the penalty equivalent of the statement below.
Code:
#competencebonus[each, 3]

This code is embedded in a foreach pick block.

I am trying to apply a -1 penalty to all wisdom based skill checks. I think this penalty does stack.
 
this is what I used:


foreach pick in hero from BaseSkill
if (eachpick.islinkage[skillattr] = 0) then
~ do nothing
elseif (eachpick.linkage[skillattr].tagis[thingid.aWIS] <> 0) then
eachpick.field[Penalty].value -= 1
endif
nexteach
 
Back
Top