Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
dropbear8mybaby
Member
 
Join Date: Sep 2016
Location: Ballarat
Posts: 59

Old September 29th, 2016, 06:42 PM
I'm still new to all this and scripting isn't something I'm very good at since I have trouble wrapping my head around it, to be honest. So I've tried a bunch of ways to figure this out but can't get it to work. I've managed to get the +1 to initiative to work by copying some of the scripting from Alert, but can't seem to get the scripting from anything else that adds an ability bonus to work and I'm not sure even why it's not working.
dropbear8mybaby is offline   #1 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 30th, 2016, 07:37 PM
In my opinion, the scripting on the Stone of Good Luck was badly design. But that just my opinion.

The skill bonuses from a Luck Stone can be found as Situational bonuses by moving your cursor over the ability score itself.

Personally I'd have applied the bonus to the actual skills.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #2 Reply With Quote
dropbear8mybaby
Member
 
Join Date: Sep 2016
Location: Ballarat
Posts: 59

Old September 30th, 2016, 07:53 PM
Quote:
Originally Posted by Mergon View Post
In my opinion, the scripting on the Stone of Good Luck was badly design. But that just my opinion.

The skill bonuses from a Luck Stone can be found as Situational bonuses by moving your cursor over the ability score itself.

Personally I'd have applied the bonus to the actual skills.
It lists it under each ability score on the sheet as well but doesn't add it to the actual skills. Is there any way to switch this so that it adds to all the skills? I just can't figure out how to do it myself otherwise I'd just go ahead with it. I'm not very good at scripting unfortunately and still trying to figure out a lot of HL's functionality, and just sort-of stumbling along blindly with it.

Last edited by dropbear8mybaby; September 30th, 2016 at 08:01 PM.
dropbear8mybaby is offline   #3 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old October 1st, 2016, 06:12 AM
Do you know how to use the editor to create copies of things?

If so, create a copy of the Stone of Good Luck in either an existing personal .user file or a new one if you prefer.

Replace the existing Eval Script with the following one:

Quote:
doneif (field[gIsAttuned].value = 0)

hero.child[svAll].field[Bonus].value += 1
foreach pick in hero from BaseSkill
eachpick.field[Bonus].value += 1
nexteach

hero.child[Initiative].field[Bonus].value += 1
This gets rid of the Situation bonus and adds the bonus directly to the skills themselves. In addition, since Initiative counts as a skill (see Bard, Jack of all Trades) I added that bonus also since HL forgot it.

Also, I added the tagid of the original Stone of Good Luck to the field labeled 'Replaces Thing Id' over on the right. I did this so I wouldn't have 2 copies. The updated version replaces the original.

Let me know if this helps.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #4 Reply With Quote
dropbear8mybaby
Member
 
Join Date: Sep 2016
Location: Ballarat
Posts: 59

Old October 1st, 2016, 06:50 AM
Quote:
Originally Posted by Mergon View Post
Do you know how to use the editor to create copies of things?
It's the only way I know how to customise things, lol.

Quote:
Originally Posted by Mergon View Post
Let me know if this helps.
Sweet Christmas!

I'll try and understand what you did to make that work so that I don't have to keep asking questions for other things, lol.

Thanks.
dropbear8mybaby is offline   #5 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old October 1st, 2016, 07:44 AM
If you have questions, just ask.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #6 Reply With Quote
Reply


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 02:57 AM.


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