Animal Lord ability bonuses not calculated correctly (Endless null loop)

Description

Pathfinder Bestiary 3
Animal lords use the higher ability score between the base creature and the base animal as their base ability scores, then increase all of these ability scores by +4.

The formula currently used is (for example)
BONUS:STAT|STR|4+max(0,STRSCORE-AnimalSTRScore)|TYPE=Racial
when it should be
BONUS:STAT|STR|4+max(0,AnimalSTRScore-STRSCORE)|TYPE=Racial

Instead of using the modified ability scores, the ability scores without the template are used as temporary scores.

Environment

None

Activity

Show:
David Bender
October 10, 2014, 10:22 AM

I can neither confirm nor deny this bug.

Created a human fighter, 10 in all stats, added 10 levels (upped charisma twice). Added Animal Lord template which gives -6 racial and +6 miscellaneous to all stats (except charisma, -8 +8). Added Grizzly Bear choice and stats bonus are now (same - +) 15, 7, 13, 4, 6, 4 for the racial & miscellaneous, and the final scores are 10 (except charisma 12).

This is at PCGen 6.4.0, and Java(TM) SE Runtime Environment (build 1.7.0_67-b01).

I am at a loss to know where to go from here. Unassigning so someone else can take a look.

– david

Andrew Maitland
November 3, 2014, 12:39 AM

I'm not certain if order makes a difference, but if that is what will fix the issue...

Andrew Maitland
November 3, 2014, 1:10 AM

Completed: At revision: 25351

For those following along at home, the solution was to set the AnimalScore values as a DEFINESTAT:MINVALUE to avoid the loop. You get the +4 on top of the Stats, which takes the best of either the Animal, or what the user had. Here is the correction code:

Assignee

Andrew Maitland

Reporter

name

Labels

Source Books

Pathfinder (Specify)

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure