Senior Member
Join Date: Jan 2017
Posts: 139
|
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. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
So this is a HERO field and it has a special transition to get to it.
Code:
herofield[tAttunMax].value += 2 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. |
#2 |
Senior Member
Join Date: Jan 2017
Posts: 139
|
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. |
#3 |
|
|