Junior Member
Join Date: Feb 2011
Posts: 17
|
I am working on getting the Strength Devotion feat from Complete Champion fully working. im starting on getting the natural attack to work properly
I can bootstrap wSlam in. Apply the Tag 'NatPrimary' in group 'Helper' to get full strength bonus. For damage i pulled up the code i get when generating a weapon and find that '1d10_304' in wMain is the correct tag. It all works. Except when the character then uses enlarge person. the attack doesn't then scale to the next step. Any ideas? |
#1 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
This depends on how you are doing the "enlarge person". In what way are you doing that?
|
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
The Size Category adjustment doesn't change the damage dice on natural attacks (among other things). I haven't figured out a way to do it yet. A look inside the "Helper.DamageUp" might help if we had that ability, but otherwise I'm not sure how to do it that way.
That said, you could take a look at how the various dragon races assign their damage. They use an eval script to assign damage dice based on the size of the creature. That way, when the size increases (or decreases) the damage dice change appropriately. You could to the same thing with your feat. |
#3 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
I have coded my Size Category adjustment to take into account the natural attacks, and it works fine. Just add this code at the timing indicated.
Post-Levels (Users)/11000 Code:
~ If we're not enabled, get out now. doneif (field[pIsOn].value = 0) foreach pick in hero from BaseNatWep eachpick.field[wDamage].value += field[pAdjust].value nexteach |
#4 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Kendall, that code looks like it will add a user set amount to the damage, I think the original poster is asking about increasing the Die Size when the hero's size increases. I.E. a medium wolf's bite is 1d6, but if Enlarge Animal is cast on it the bite should become 1d8.
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
I did the same thing for some of the Spell Adjustments for Pathfinder. 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 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
What ShadowChemosh said.
|
#7 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Awesome.
|
#8 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Outfoxed! I am undone.....
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Feb 2009
Location: Virginia
Posts: 364
|
|
#10 |
|
|