• 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

Adding a Feat, Macro creation etc

wlessard

Member
Okay I have searched for a few hours trying to figure out the basics of how to macro in HL. I know I am probably missing something. I even scoured the Wiki.

What I am trying to find examples of is replacing a save bonus with another ability than the normal one.

hero.child[svWill].field[svResist].value = hero.child[aCHA].field[aModBonus].value

From searching around this seems like it should work. I am going to test it and will return here to see. I think I might be close but it is not conferring the Charisma bonus on will saves.

I am going to read further and see what I can find but I have spent a couple hours already searching the forums and the PRD stuff.
 
Quick question, is the save bonus, something like using Wis instead of fort con for fort saves?

Depending on what you are doing, you might not need the authoring kit at all, what you need might be able to be done in the editor for the game system you are playing with.
 
Timing is critical when you want to overwrite information. What phase & priority is your script running at?

Also, check the other fields on svWill - is svResist the one that's holding the attribute bonus, or is it the one holding the resistance bonuses from a cloak of resistance? Which one do you think is holding the attribute bonuses?

(In the editor, Help menu...Help on using the editor...Reference Information...Saving Throws)
 
I am actually just using the editor. This was moved so I guess I hit the wrong forum. :)

I am trying to substitute charisma bonus for wisdom bonus on Will Saves.

DND Feat - Force of Personality.
 
Just wanted to check that you found in your searching the FAQ which question #2 is all about how to learn the Editor. This includes a 4 part YouTube video that is very useful to get started in using the editor. :)
 
Were you able to get this to work? I'm trying to recreate keen intellect which allows you to swap your intelligence modifier for will saves and wisdom based skill checks?
 
Were you able to get this to work? I'm trying to recreate keen intellect which allows you to swap your intelligence modifier for will saves and wisdom based skill checks?

Not yet but I am thinking about it.

Just need to find the right variables and how they are in the base code. Been busy with real life but will be going back to it today.
 
Okay I think I am on the right track, just haven't figured out which variables I actually need.

Code:
hero.child[svWill].value = -field[svAttr]
hero.child[svWill].value += #attrmod[aCHA]

Gives me "Non-existent field 'svWill' used by script.

Code:
field[svWill].value = -field[svAttr]
field[svWill].value += #attrmod[aCHA]

Gives me "Invalid use of a reserved word in script"

I think I am on the right track but have the wrong variables. SOrry but the Wiki and the PRD are not as clear to duffers.

Anyways I am still digging.
 
Okay I have made some progress. Still not sure what I am doing wrong.

Code:
hero.child[svWill].field[svAttr].value = -#attrmod[aWIS]
hero.child[svWill].field[svAttr].value += #attrmod[aCHA]

This compiles/tests properly but does not add the Charisma bonus to Will Saves.
 
Timing is critical when you want to overwrite information. What phase & priority is your script running at?
 
Timing is critical when you want to overwrite information. What phase & priority is your script running at?

There is where I am not understanding something.


Feat - Force of Personality
Mechanics - Substitute Charisma Bonus for Wisdom Bonus

Timing? Permanent once the feat is applied?
 
While you're editing the Eval Script, look along the top of that box - you'll see a drop-down labeled "Phase" and a text box labeled "Priority"
 
While you're editing the Eval Script, look along the top of that box - you'll see a drop-down labeled "Phase" and a text box labeled "Priority"

Seems to be working perfectly.

hero.child[svWill].field[svAttr].value = #attrmod[aCHA]

Phase - Final Phase Users (Unless someone suggested a better phase)
Priority - 100
Index - 1

SpartanX you should be able to do the same thing for your issue as well.

Thanks folks
 
Back
Top