Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Cynder
Junior Member
 
Join Date: Jan 2017
Posts: 15

Old January 11th, 2017, 02:22 AM
hi

first post and i know nothing about Eval...

i want to do something VERY, INCREDIBLY simple but cant figure our HTFF to make it work...

ok, here it is,



10 + ProfBonus + aCHA = (number here)

take (number here) and display it next to the item name in the specials tab...



so instead of being DC 13 like on the link below, its DC (number here), and will change with charisma and proficiency bonus changes... thats it!

https://www.dropbox.com/s/fgc1wgnaby...%20DC.PNG?dl=0

Last edited by Cynder; January 11th, 2017 at 03:54 PM.
Cynder is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 11th, 2017, 06:42 AM
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   #2 Reply With Quote
Cynder
Junior Member
 
Join Date: Jan 2017
Posts: 15

Old January 11th, 2017, 12:26 PM
Quote:
Originally Posted by ShadowChemosh View Post
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.

hi

i have already done everything else i needed to build about the race, this is the final thing and then its complete.

i wasn't after a "here go read this and go away" as i was looking for more if a "heres how you do it" i have already tried to work it out for more then two days and haven't managed it, i don't have time energy or patience to try learning more for one thing that i will do once, i don't have time or energy...

looking for more of an answer, then a heres a link "go figure it out"

know how to do this?

P.S: i had a look, niter links are helpful to me >.<
Cynder is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 11th, 2017, 12:57 PM
Sorry I try and teach people to "fish" I don't provide the FISH. It is usually pointless because then they come back every 10 minutes looking for another Fish.

In addition your question does not have enough information to provide you with an answer. Even more confusing you asked this in Pathfinder and 5e which are different games systems.

So first which game system are you building in? What "Thing" (Custom Ability, Ability, Racial Ability, Class, Archetype) will this eval script going to run on? Most racial abilities have DC logic built directly into the editor and don't even need a script. Its a few button presses.

Find another Thing to look at in the editor and "COPY" its logic. That is best way to learn to do things in the editor. Finding another Thing that does similar logic and copy it.

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   #4 Reply With Quote
Cynder
Junior Member
 
Join Date: Jan 2017
Posts: 15

Old January 11th, 2017, 02:03 PM
Quote:
Originally Posted by ShadowChemosh View Post
Sorry I try and teach people to "fish" I don't provide the FISH. It is usually pointless because then they come back every 10 minutes looking for another Fish.

In addition your question does not have enough information to provide you with an answer. Even more confusing you asked this in Pathfinder and 5e which are different games systems.

So first which game system are you building in? What "Thing" (Custom Ability, Ability, Racial Ability, Class, Archetype) will this eval script going to run on? Most racial abilities have DC logic built directly into the editor and don't even need a script. Its a few button presses.

Find another Thing to look at in the editor and "COPY" its logic. That is best way to learn to do things in the editor. Finding another Thing that does similar logic and copy it.


i can understand that and that's cool and all but this is the only "fish" i need. i have figured everything else out already and my time is short (need this weekend), i don't ask questions at all normally so this is a desperation measure for me, not laziness.

i asked this in the 5E side originally but saw the pathfinder side was more populated, so i asked it here as well since i figured i am asking for a "count and display" value, witch would work on any system the same really.
(in my mind, forgive me if that's not so)

more details needed:

system: 5E side.
what is this running: custom race ability on a custom race WITH custom arcatypes.
what race then?: kitsune race,
whats this for?: the effect is a saving throw, DC 10 + prof bonus + charisma = saveing value. i already worked out how to link the prof and charisma, don't know how to make it add ten, and give me a number, and then display it like it would a normal DC value. (see Dropbox link for what i mean)

why not use normal DC?: simple, i found that button in a heartbeat, but normal for 5E is 8 +prof+char... not 10+prof+char and that +2 in 5E makes a MASSIVE difference.

why not copy paste?: tryed that, cant find a script that does this. because as you said normally its one button click in the editor, DC + PROF + CHAR.. i need to add 2 to that somehow... and the editor itself wont let me add 2 to that automatic button thing.
Cynder is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 11th, 2017, 02:26 PM
Quote:
Originally Posted by Cynder View Post
i can understand that and that's cool and all but this is the only "fish" i need. i have figured everything else out already and my time is short (need this weekend), i don't ask questions at all normally so this is a desperation measure for me, not laziness.

i asked this in the 5E side originally but saw the pathfinder side was more populated, so i asked it here as well since i figured i am asking for a "count and display" value, witch would work on any system the same really.
(in my mind, forgive me if that's not so)

more details needed:

system: 5E side.
what is this running: custom race ability on a custom race WITH custom arcatypes.
what race then?: kitsune race,
whats this for?: the effect is a saving throw, DC 10 + prof bonus + charisma = saveing value. i already worked out how to link the prof and charisma, don't know how to make it add ten, and give me a number, and then display it like it would a normal DC value. (see Dropbox link for what i mean)

why not use normal DC?: simple, i found that button in a heartbeat, but normal for 5E is 8 +prof+char... not 10+prof+char and that +2 in 5E makes a MASSIVE difference.

why not copy paste?: tryed that, cant find a script that does this. because as you said normally its one button click in the editor, DC + PROF + CHAR.. i need to add 2 to that somehow... and the editor itself wont let me add 2 to that automatic button thing.
Thanks that helps allot. The logic in 5e and Pathfinder can be very different not always but it can be. Its best to get a better answer in the game system specific to your question. In this case I actually code in both systems so I can help and why I saw your post in both places.

Also the +prof bonus I read as "Profane Bonus" for Pathfinder but Proficiency bonus makes more sense for 5e.

FYI The dropbox link for me goes to a 404 not found.

I can't do 5e scripting off the top of my head. Once I get home from work tonight I will look and post up a script answer.

Just keep in mind you ever ask for a fish again I will point you right back at the FAQ section.

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
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old January 14th, 2017, 09:12 AM
Saves in 5E are usually 8 + Proficiency bonus + the appropriate abilty score modifier (Charisma in the case).

Since you are setting the DC not modifying, ShadowChemosh's script should be:

Quote:
field[abDC].value = 8 + hero.child[ProfBonus].field[tProfBonus].value + #attrmod[aCHA]
or

Quote:
field[abDC].value = 8 + #profbonus[] + #attrmod[aCHA]

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #7 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 14th, 2017, 09:45 AM
Quote:
Originally Posted by Mergon View Post
Saves in 5E are usually 8 + Proficiency bonus + the appropriate abilty score modifier (Charisma in the case).
Except he specifically asked for 10 plus not 8 plus. Which also added confusion when he was posting this in Pathfinder. As I didn't know he was talking 5e.

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
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old January 14th, 2017, 09:47 AM
Ah, I missed that part.

Sorry for correcting the Wizard.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon 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 07:56 AM.


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