• 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

HE item to add feat

donmarco

New member
Is there a way to have a custom wondrous item add a bonus feat?

i've got this so far:

Code:
doneif (field[gIsEquip].value = 0)

if (#hasfeat[fSkillFoc] <> 0) then
    if (hero.child[fSkillFoc].field[fShortName].text <> "Skill Focus (Knowledge[arcana])") then
        ~ add feat here
    endif
endif

also how do you test strings? the line where it checks the skill focus name fails with erro unable to test relation, is there a special function for this?

pretty much i want it to add the feat Skill Focus to the feat list if the item is equipped, also how could i also set the skill chosen for the focus at the same time?

thanks
 
Press the "Bootstrap" button, and choose the thing you want to add.

In the "Condition" section, enter the following:
Phase: First
Priority: 500
Condition Expression: fieldval:gIsEquip <> 0

In the Tags section, add a new tag and enter the following:

Group Id: Target
Tag Id: skKnowArca
 
Back
Top