Lone Wolf Development Forums Template that removes racial hit dice
 Register FAQ Members List Search Today's Posts Mark Forums Read

 Notices Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528. If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com. - The Lone Wolf Development Team

Senior Member

Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

February 15th, 2013, 11:02 AM
I have a template that reduces the number of racial hit dice of the base creature.

I am trying to achieve this by deleting Hero.HitDice and Classes.Race tags.

Is the right way to go about it?
Also what is the timing of assigning of hit dice from the base race to the hero (so I can get the timing right)?
#1
Senior Member

Join Date: Oct 2011
Posts: 6,793

February 15th, 2013, 11:11 AM
I'd findchild the race, and then subtract from the rHitDice field. Do it early enough and you should be able to get there before the race applies the Hero.HitDice and Classes.Race tags.
#2
Senior Member

Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

February 15th, 2013, 11:18 AM
Works like a charm!

I did the following at First 100
Code:
~ reduce racial hit dice by half

perform hero.findchild[BaseRace].setfocus
doneif (state.isfocus = 0)

var racialHD as number
racialHD = focus.field[rHitDice].value

var newRHD as number
newRHD = round(racialHD/2,0,-1)
newRHD = maximum(1,newRHD)

~ new hit dice
focus.field[rHitDice].value = newRHD

var ftCnt as number
ftCnt = 0
foreach pick in hero from BaseRace where "SpecSource.Feat"
ftCnt += 1
nexteach

~ +1 is for Toughness bonus feat from template
focus.field[rFeat].value = -(ftCnt + 1)

Last edited by frumple; February 15th, 2013 at 11:58 AM.
#3

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Lone Wolf Development Web Site Announcements Realm Works Forums     Realm Works Discussion         Realm Works in Action         Realm Works Feature Requests     Realm Works in Action     Realm Works Feature Requests Hero Lab Online Forums     Hero Lab Online Discussion     HLO - Pathfinder 1st Edition     HLO - Pathfinder 2nd Edition     HLO - Starfinder     HLO - Shadowrun Hero Lab Forums     HL - Pathfinder Roleplaying Game     HL - D&D 5th Edition SRD     HL - Shadowrun     HL - Mutants & Masterminds     HL - d20 System     HL - World of Darkness     HL - Call of Cthulhu     HL - 4th Edition     HL - Savage Worlds     HL - Cortex System     HL - Authoring Kit     HL - User Projects     HL - Alternity (user-created)     Hero Lab Discussion Army Builder Forums     Army Builder Army Builder Data Files     Babylon 5: A Call to Arms     Battlefleet Gothic     Blood Bowl     Black Powder, Bolt Action, Hail Caesar, Judge Dredd, and Pike & Shotte     Confrontation - English     Kings of War (2nd Edition)     Lord of the Rings (Tabletop)     Mordheim     Necromunda     Starship Troopers     Star Wars: X-Wing and Armada Miniatures Game     The 9th Age     Warhammer Ancient Battles     Warhammer 40,000     Warhammer Fantasy 8th Ed.     Warhammer Historical: The Great War     Warhammer Fantasy 3rd Ed.     Warlord     Warmachine & Hordes     Warmaster Card Vault Forums     Card Vault Card Vault Data Files     MLB Showdown     Lord of the Rings CCG     .hack//ENEMY     Vs. System     Yu-Gi-Oh!     D&D Miniatures

All times are GMT -8. The time now is 07:26 PM.

 -- Default Style -- Majestic Contact Us - Lone Wolf Development Forums - Archive - Top