Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old April 14th, 2019, 11:05 AM
I wish things had stuck with Value fields instead of Value tags. They're easier to alter.

So I want to provide a value to xFastHeal based on variables. It will be
Code:
perform hero.assign[User.Ability]
var bonus as number
bonus = adjust
(Ability count * 20) + (Ability count * adjustment)
perform hero.childfound[xFastHeal].assign[Value.bonus]
It doesn't recognize "bonus" so how do I assign this?
Illyahr is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old April 15th, 2019, 04:14 AM
Quote:
Originally Posted by Illyahr View Post
I wish things had stuck with Value fields instead of Value tags. They're easier to alter.

So I want to provide a value to xFastHeal based on variables. It will be
Code:
perform hero.assign[User.Ability]
var bonus as number
bonus = adjust
(Ability count * 20) + (Ability count * adjustment)
perform hero.childfound[xFastHeal].assign[Value.bonus]
It doesn't recognize "bonus" so how do I assign this?
You'll want to use assignstr instead. Off the top of my head, that would look like this:

Code:
perform hero.assign[User.Ability]
var bonus as string
bonus = "Value." & adjust
(Ability count * 20) + (Ability count * adjustment)
perform hero.childfound[xFastHeal].assignstr[bonus]
Sendric is offline   #2 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old April 15th, 2019, 03:23 PM
For some inexplicable reason, having the ability assign User.DivFastHeal is assigning User.DivineGrc, according to the tags I'm looking at

Edit: ok, after reloading the system it assigns the appropriate tag. I dont know why it does that but little errors like this keep happening

Last edited by Illyahr; April 15th, 2019 at 03:41 PM.
Illyahr is offline   #3 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 02:09 PM.


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