Senior Member
Join Date: Jan 2017
Posts: 139
|
Quote:
Post Attributes 15000 if (#levelcount[Warlock] >= 10) then herofield[tTempHP].value += #attrmod[aCHA] + #levelcount[Warlock] endif |
|
#31 |
Senior Member
Join Date: May 2016
Posts: 608
|
It's good code, but I think we'll wind up going with adding an independant temporary hp pool with the min/max hp granted set statically to level count plus CHA mod.
Since all class special abilities are added with a field: xTotalLev, it's slightly better to use it just in case you wanted to just let another class have the same ability (like Channel Divinity) rather than #levelcount[]. So, I'll probably build a temp hp pool called thp5CCelRa or call a copy of the existing Dark One's Blessing pool and overwrite the livename and then in a script post-attribute (15000) do the following: Code:
doneif (tagis[Helper.Disable] <> 0) doneif (field[xTotalLev].value <= 10) var BonusHP as number BonusHP = #attrmod[aCHA] + field[xTotalLev].value hero.childfound[thp5CCelRa].field[thpMinAllw].value = BonusHP hero.childfound[thp5CCelRa].field[thpMaxAllw].value = BonusHP I can throw the same code into an adjustment if people want to add it to another character and have something less generic than a generic temporary hit points pool. |
#32 |
Senior Member
Join Date: Jan 2017
Posts: 139
|
Quote:
I read thru your snippet of code to fast, and see you set BonusHP as a variable. Wouldn't multi-classing then affect the xTotalLev when the calculation should only be looking at the Warlock levels? Just want to make sure I understand the difference between xTotalLev and #Levelcount. J Last edited by jjashley; March 11th, 2018 at 04:16 PM. |
|
#33 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
If you are Warlock 5/Fighter 10 and this ability is bootstrapped to the Warlock xTotalLev is 5. If bootstrapped to Fighter xTotalLev is 10. 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. |
|
#34 |
Senior Member
Join Date: Jan 2017
Posts: 139
|
Quote:
J |
|
#35 |
Junior Member
Join Date: Jun 2018
Location: Maryland, USA
Posts: 1
|
|
#36 |
Senior Member
Join Date: May 2016
Posts: 608
|
Quote:
The fix discussed is in the pending changes to be pushed, but I'm not sure when the community is going to get the next patch finalized as I've not been able to help out much this time. I know that right now the base information for all the monsters in Mordenkainen's has been entered but we're still looking for anyone willing to help put the special abilities and some of the attacks in. I don't know how much scripting is required but most of these will be mechanics only text entry. Anyone interested in helping, please speak up. Daplunk hosts the github but I check in to help with scripts on occasion. |
|
#37 |
Senior Member
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294
|
Yup looking for as many volunteers as possible. I'm throwing as much time as I can at it but I have a lot going on and most things have deadlines where this does not.
Realm Works - Community Links Realm Work and Hero Lab Videos Ream Works Facebook User Group CC3+ Facebook User Group D&D 5e Community Pack - Contributor General Hero Lab Support & Community Resources D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base Obsidian Obsidian TTRPG Tutorials |
#38 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
- Subraces are all in
- new & modified deities are in - Yet to do, Demonic Boons - my stuff needs to be tested. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#39 |
Junior Member
Join Date: Jul 2018
Posts: 1
|
Just wondering, is Xanathar's guide not included in the demo?
|
#40 |
|
|