Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
EmptyEternity
Junior Member
 
Join Date: Jan 2012
Posts: 14

Old April 24th, 2019, 09:21 AM
Hello all, I've got a question.

Let's say I wanted to create an adjustment that allowed me to add a variable amount of energy resistance to a hero. Can anybody give me an idea of what that script might look like?
EmptyEternity is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old April 24th, 2019, 10:42 AM
Quote:
Originally Posted by EmptyEternity View Post
Hello all, I've got a question.

Let's say I wanted to create an adjustment that allowed me to add a variable amount of energy resistance to a hero. Can anybody give me an idea of what that script might look like?
Here's an example using Damage Resistance, Cold:

Code:
hero.childfound[xDamRsCold].field[Value].value += field[pAdjust].value

Last edited by Sendric; April 24th, 2019 at 05:22 PM.
Sendric is offline   #2 Reply With Quote
EmptyEternity
Junior Member
 
Join Date: Jan 2012
Posts: 14

Old April 24th, 2019, 12:28 PM
I tried entering the script in, but I got a syntax error that said: Invalid use of reserved word hero in script.
EmptyEternity is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old April 24th, 2019, 05:22 PM
Quote:
Originally Posted by EmptyEternity View Post
I tried entering the script in, but I got a syntax error that said: Invalid use of reserved word hero in script.
Sorry. Rushing too much. Fixed it.
Sendric is offline   #4 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 05:38 PM.


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