Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
pwiecek
Junior Member
 
Join Date: Dec 2018
Posts: 8

Old December 25th, 2018, 02:38 PM
I'm trying to create a new condition using the editor. I copied the "Fatigued " condition and clicked the "Eval Script" button. This is what I see:

~ If we're not enabled, get out now
doneif (field[pIsOn].value + hero.isidentity[Condition] = 0)

~ -2 STR
hero.child[aSTR].field[Penalty].value -= 2
~ -2 DEX
hero.child[aDEX].field[Penalty].value -= 2

All fine & good if all I want to modify are Str & Dex, but I want to change attack bonus, damage etc. Where do I find a list of all the children?
pwiecek is offline   #1 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 1,852

Old December 25th, 2018, 03:08 PM
The best approach is to think of a feat or ability which grants the same effect that you are trying to achieve, and then look at the scripts on that feat/ability to see how it does it.

e.g. "Prayer: ally" spell ability adjustment for bonus to attack, there's another which is for the enemy which grants a penalty. (These adjustments might be in the community pack.)

Farling

Author of the Realm Works Import (http://forums.wolflair.com/showthread.php?t=58156) and Output tools (http://forums.wolflair.com/showthread.php?t=59981)
Farling is offline   #2 Reply With Quote
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 127

Old December 27th, 2018, 09:37 AM
Quote:
Originally Posted by pwiecek View Post
I'm trying to create a new condition using the editor. I copied the "Fatigued " condition and clicked the "Eval Script" button. This is what I see:

~ If we're not enabled, get out now
doneif (field[pIsOn].value + hero.isidentity[Condition] = 0)

~ -2 STR
hero.child[aSTR].field[Penalty].value -= 2
~ -2 DEX
hero.child[aDEX].field[Penalty].value -= 2

All fine & good if all I want to modify are Str & Dex, but I want to change attack bonus, damage etc. Where do I find a list of all the children?
I don't know if there is a comprehensive list of all children in HL, but I know attack bonuses reside in the Attack pick, and damage in the Damage pick. There is also a very useful tutorial that helps you find most common picks, click on help and select "Help on using the editor."
Bob G is offline   #3 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,229

Old December 27th, 2018, 09:39 AM
Another excellent way to explore the values is to turn on Development tools in the product, and then to right-click the item you want to edit, and bring up its info. Alternately, you can use the Development menu to view all of the Fields, or Picks, on the Hero.
Duggan is offline   #4 Reply With Quote
pwiecek
Junior Member
 
Join Date: Dec 2018
Posts: 8

Old December 27th, 2018, 04:05 PM
Thanks, the combination should get me most of the stuff I need.

Farling, what is the community pack & where is it?
pwiecek is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old December 27th, 2018, 04:11 PM
Quote:
Originally Posted by pwiecek View Post
Thanks, the combination should get me most of the stuff I need.

Farling, what is the community pack & where is it?
HERE

In addition I would recommend reading the Glossary of Terms for the Editor. Then check out FAQ#2 for all the places to learn about the editor including YouTube videos. Welcome to the wonderful world of using the HL editor which will be the most frustrating and rewarding thing you can do with Hero Lab.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #6 Reply With Quote
pwiecek
Junior Member
 
Join Date: Dec 2018
Posts: 8

Old December 27th, 2018, 04:20 PM
Thanks. I'm trying to add something to the conditions like "Raging" or "Hasted". Do you know if someone has done something like that already?
pwiecek is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old December 27th, 2018, 04:27 PM
Quote:
Originally Posted by pwiecek View Post
Thanks. I'm trying to add something to the conditions like "Raging" or "Hasted". Do you know if someone has done something like that already?
You mean the spell effects? Have you checked the adjust tab under Spell Adjustments? That lists lots of the spells in the game and or provides a very useful list of examples to make your own.

If you mean Barbarian Rage then you can just turn on "Rage" on the In-Play tab already.

Otherwise need more info if those are not what you are looking for.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #8 Reply With Quote
pwiecek
Junior Member
 
Join Date: Dec 2018
Posts: 8

Old December 28th, 2018, 12:52 PM
No, that's exactly what I mean.

I found raging after posting but never saw a spell effects section

...

Beauty! That's exactly what I was looking for.

Last edited by pwiecek; December 28th, 2018 at 01:01 PM.
pwiecek is offline   #9 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:38 AM.


Powered by vBulletin® - Copyright ©2000 - 2019, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.