• 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

Making a New Trait, Some Quick Code Help

Pooptickler

Well-known member
This is what's used to replace Charisma with Wisdom with the Empathic Diplomat Trait:

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

perform hero.child[skDiplo].assign[SkillOver.aWIS]

I want to make a Trait that replaces Wisdom with Charisma when using Perception, does anyone happen to know what the [sk] for Perception is?
I'm not sure where to find it otherwise.
 
Last edited:
There's multiple ways of getting that sort of data...
1. Quick way but not as specific... Develop > 'Enable Data File Debugging'. Then select 'Floating Info windows' on the same menu list, and pick one that sounds relevant like Selection Tags or Fields
2. More detailed... In the Editor, select the tab with the type of thing you are looking for, eg: General > Skill, select "New (Copy)" and you get a list of EVERY Skill with its ID.
 
Last edited:
There's multiple ways of getting that sort of data...
1. Quick way but not as specific... Develop > 'Enable Data File Debugging'. Then select 'Floating Info windows' on the same menu list, and pick one that sounds relevant like Selection Tags or Fields
2. More detailed... In the Editor, select the tab with the type of thing you are looking for, eg: General > Skill, select "New (Copy)" and you get a list of EVERY Skill with its ID.

There's also a "Find Thing" button in the Eval Script window (among others) that let's you look for all things that exist which can be narrowed down by type (skills, abilties, etc).
 
Back
Top