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
jjashley
Senior Member
 
Join Date: Jan 2017
Posts: 139

Old March 8th, 2019, 10:06 AM
Hi as the subject says trying to add a feat that increases the attuned items from 3 to 5. I found the field tAttunMax.value but not sure exactly how to change it from 3 to 5. The feat currently is something that is on Jarlaxle in Dragon Heist. Reads as follows:

Master Attuner. Jarlaxle can attune to up to five magic items, and he can attune to magic items that normally require attunement by a sorcerer, warlock, or wizard.

I'd like to have it as feat that can be taken at higher levels. Any ideas on the best way to change the 3 to a 5?

I assume the script would be like this:
Post-levels 10000

doneif (field[abilActive].value = 0)

hero.child[xxxxxx].field[tAttunMax].value += 5

I just can't figure out what goes in xxxxxx area.

Last edited by jjashley; March 8th, 2019 at 10:30 AM.
jjashley 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 March 8th, 2019, 10:50 AM
So this is a HERO field and it has a special transition to get to it.

Code:
herofield[tAttunMax].value += 2
Also note the community pack already has an adjustment to increase/decrease attunement in 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   #2 Reply With Quote
jjashley
Senior Member
 
Join Date: Jan 2017
Posts: 139

Old March 8th, 2019, 11:31 AM
Thought I had checked the community pack, but then I do think I'm going a bit senile, I tend to think I have done a lot of things that I haven't.

Thanks Shadow.

Last edited by jjashley; March 8th, 2019 at 11:35 AM.
jjashley is offline   #3 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:16 PM.


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