|
Senior Member
Join Date: Jan 2015
Posts: 160
|
Okay, so I've been making/fixing things left and right, but I've run into a couple issues that have ground me to a halt. Hopefully someone can help me out here.
1. Been working on the Multi-Headed template, and it adds 2 additional racial hit dice per additional head. This is the line handling that so far: field[tmHitDice].value += heads*2 It adds 2 hit dice, but I haven't figured out how to pull the hit die type from the creature's type (both for size of the hit die, and I suspect additional BAB, saves, and skills). This is the theoretical line of code I was using, but "Type" isn't a child of hero I suspect, nor will it provide the BAB, etc, information for the HD either: field[tmHDSides].value = hero.child[Type].field[tpHDSides].value 2. Also on Multi-headed, it increases CR based on number of heads, and while I have the variable working properly using this: herofield[tCR].value += cr It isn't calculating it as a CR modifier from the template, or altering the CR estimation panel accordingly. Since I don't think I can use a script to alter the fields for "CR by HD", I tried to alter the "Minimum CR" it X plus the previous CR, but it didn't actually work. Figured I'd ask if there was an easier way before delving into that further. 3. And finally, making the mythic abilities Mortal Herald and Divine Source display spell-like abilities, is there a Bootstrap Container Requirement Expression that I can use to check if a particular domain has been selected from the list? So, say, only if the "Air" domain has been chosen does it add the particular custom ability to provide those spell-like abilities. Thanks! Hopefully I included enough info, but happy to provide more if needed. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
Quote:
Quote:
|
|||
#2 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
Quote:
Quote:
Quote:
|
|||
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
An example: Code:
foreach pick in hero from Type where "thing.activated & !Helper.Augmenting" DO SOME STUFF TO THE CURRENT PICK nexteach Quote:
field[FIELDNAME].arrayvalue[ROWNUMBER] Keep in mind that the first row of the array is Row 0, and the second Row 1, and so on. Quote:
|
|||
#4 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
Quote:
Quote:
EDIT: Okay, in debug mode I discovered that there's field[tmCRAdjust].value that doesn't have a field in the GUI of the editor, but it works like editing the 0th row of the array with slightly less text than editing the array. I apparently just wasn't doing the right thing to find it the first time, but just a random thing of note. Moral: this now works. Quote:
Basically "add Mortal Herald > select a diety from droplist > select domain from droplist > check each bootstrapped ability to see if it is enabled based on domain name selection" is my current thought. Quote:
EDIT: This now adds the proper HD type, but does not increase BAB, saves, feats, and skill points. I hope there's some way to enable this. Thanks for all the help on this! Last edited by FluffyDingo; February 6th, 2015 at 07:31 AM. |
||||
#5 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
Still hoping for an assist so I can get this wrapped up. Thanks!
|
#6 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
|
|
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
There's an easier way to look up the number of sides the HD on the race is using, rather than figuring out what type is currently in use, since your goal here is to have the template in effect add more HD to the race, right?
Timing: After First/590 Code:
field[tmHDSides].value = hero.findchild[BaseRace].field[rHDSides].value |
#8 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
What's the latest point I can add Hit Dice and still have them process that info? I'm thinking First 498 is when that is processed, but since maximum number of heads that can be added is based on size, I can't process how many heads are added (and therefor how many hit dice) until First 680.
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Hit Dice are like "Levels" so it needs them set before Post-Levels. This is why class scripts run mostly at Post-Levels/10000 as all the Level calculations are done.
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. |
#10 |
|
|