Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Energy resistance Adjustment (http://forums.wolflair.com/showthread.php?t=62488)

EmptyEternity April 24th, 2019 09:21 AM

Energy resistance Adjustment
 
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?

Sendric April 24th, 2019 10:42 AM

Quote:

Originally Posted by EmptyEternity (Post 278393)
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

EmptyEternity 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.

Sendric April 24th, 2019 05:22 PM

Quote:

Originally Posted by EmptyEternity (Post 278401)
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.


All times are GMT -8. The time now is 06:02 PM.

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