Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
I have a monster that can use witch hexes (as a witch of level equal to its HD). Ideas on how to implement, or am I going to have to make Racial Specials of each hex?
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Does it select the hex or does it just use them all?
|
#2 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Selects the hex as a witch of its HD. So at 4HD it would select 3 hexes.
I am trying to figure out a way to use tag assignment on Custom Abilities (where the hexes are) to add the tag SpecSource.RACE_ID to each hex. However I don't know if Custom Abilities have their own container or component context which I can use in a foreach statement. |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,215
|
Re-make the ones you need as racial abilities. Things made for classes cannot be used for races.
|
#4 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Ah I was afraid of that. Oh well, back to coding. *cracking knuckles*
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
On the good side RAW XML is very handy. You could make the Copies of the Hex's and save to the .user file. Then you just have to change the RAW XML Code:
compset="CustomSpec" Code:
compset="RaceCustom" Other than that I don't remember changing anything actually. a Custom Ability and a Racial Custom are pretty much the same otherwise. 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. |
|
#6 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Well some slight differences. Need to change calls to cTotLevel and xLevel, as well as trying to figure out how a race granted hex would count as a class granted one and visa versa.
Last edited by frumple; February 24th, 2013 at 09:56 AM. |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Does the race one count as taking the same Class Hex? If so you could just assign the same "HasAbility" tag to the hero when the Race one was taken. Then on the the Race one look for the HasAbility tag of the Class version to not be present or show an error about "similar ability already taken". 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. |
|
#8 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Yeah it counts the same. I tried giving each of the race hexes the HasAbility tag with the appropiate class hex ID, but it doesn't seem to work.
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Code:
perform forward[HasAbility.?] 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 |
|
|