[ http://jira.pcgen.org/browse/CODE-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Radermacher resolved CODE-1094.
Fix Version/s: 5.17.9
As of SVN revision 15326, PCGen data code can now retrieve the number of a character's legs or hands with var("LEGS") or var("HANDS"). This made it possible to remove the hard-coded bonus values for trip CMD values in Pathfinder and replace it by a formula that works for creatures wirh any number of legs. I have made this change to the Pathfinder Core Rulebook dataset and added documentation for the new vars.
> Create variable to read number of legs
> Key: CODE-1094
> URL: http://jira.pcgen.org/browse/CODE-1094
> Project: Code
> Issue Type: New Feature
> Affects Versions: 5.17.8
> Reporter: David R. Bender
> Assignee: Stefan Radermacher
> Fix For: 5.17.9
> Ah that's the relevant code. Unfortunately PCGen provides no way to
> query the number of legs to make a formula. The bonus is actually +2 per
> "extra" leg beyond two legs. So you would need to add
> BONUS:VAR|CMD_Trip|16|PRELEGSEQ:10 for your creature to work.
> We should really get a variable to read the number of legs. Can someone
> create a Code FREQ and assign it to me?
> On 24.08.2011 16:32, Eric C Smith wrote:
> > HI FOLKS!
> > distant_scholar wrote:
> >> I have a critter that has ten legs. I first thought it had 8 legs (and used LEGS:8), but then re-counted and noticed it had ten (LEGS:10).
> >> The statblock 5 output sheet showed a +12 bonus to CMD vs. trip when I used LEGS:8, but showed no bonus to CMD vs. trip at all when I used LEGS:10. I couldn't find how this number is calculated on a quick search of the data and output sheets.
> >> 1.) How, and where, is the bonus to CMD_Trip from LEGS calculated?
> > Check out the pfcr_abilities_class_common.lst file. You'll need to scroll down to the bottom:
> > CATEGORY=FEAT|CMB Output.MOD
> > DEFINE:CMB_Trip|0
> > DEFINE:CMD_Trip|0
> > BONUS:VAR|CMB_Trip|CMB BONUS:VAR|CMD_Trip|CMD BONUS:VAR|CMD_Trip|2|PRELEGSEQ:3
> > BONUS:VAR|CMD_Trip|4|PRELEGSEQ:4
> > BONUS:VAR|CMD_Trip|8|PRELEGSEQ:6
> > BONUS:VAR|CMD_Trip|12|PRELEGSEQ:8
> >> 2.) How can I help modify it so that it works for 10 (or more?) legs?
> > What does the Pathfinder Rules say about 10 legs?
> > If there is a specific bonus for 10 legs you would add the appropriate bonus to the line above.
> > Maredudd
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira