Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
burkoJames
Junior Member
 
Join Date: Feb 2011
Posts: 17

Old April 25th, 2012, 11:50 PM
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?
burkoJames is offline   #1 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old April 26th, 2012, 08:30 AM
This depends on how you are doing the "enlarge person". In what way are you doing that?
Kendall-DM is offline   #2 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old April 26th, 2012, 09:25 AM
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.
Sendric is offline   #3 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old April 26th, 2012, 12:50 PM
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
Kendall-DM is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old April 26th, 2012, 01:17 PM
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.
Aaron is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 26th, 2012, 04:53 PM
Quote:
Originally Posted by Aaron View Post
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.
Don't feel bad as I got Mathias with this one also but "wDamage" is the dice size field. Your thinking of "wDamBonus" which is different. Kendall's script will work by increasing/decreasing dice size.

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.
ShadowChemosh is offline   #6 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old April 26th, 2012, 05:16 PM
What ShadowChemosh said.
Kendall-DM is offline   #7 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old April 26th, 2012, 05:55 PM
Awesome.
Sendric is offline   #8 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old April 26th, 2012, 07:20 PM
Outfoxed! I am undone.....
Aaron is offline   #9 Reply With Quote
Nigel Fogg The Wayfarer
Senior Member
Volunteer Data File Contributor
 
Join Date: Feb 2009
Location: Virginia
Posts: 364

Old April 27th, 2012, 04:37 AM
Quote:
Originally Posted by Aaron View Post
Outfoxed! I am undone.....
So you guys will be including Kendall-DM's code in the next update to d20 so everyone, including those who don't read the Forum, may benefit,....right?

Nigel Fogg, aka The Wayfarer
Nigel Fogg The Wayfarer is offline   #10 Reply With Quote
Reply


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 Jump


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


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.