Ant Haul Calculation Errors on non-medium character

Description

While doing some book keeping for the campaign I play in, and updating character sheets, I discovered a bug. We have a Gnome Mage who has put a permanent Ant Haul affect on his bonded amulet. First, adding a continual spell affect to a custom amulet isn't applying the spell affect, but that's easily bypassed thanks to the Temporary Bonuses tab. However, the spell Ant Haul (pfapg_spells) miscalculates carrying weight when applied to races of small size. I'm not sure if it's a sequencing issue, or if it's due to the way BONUS:LOADMULT works. Example: Human with 18 STR has a light load of 100. With Ant Haul that becomes 300, which is correct. However, a Gnome with an 18 STR has a light load of 75, due to the small size = 3/4 load limit. When Ant Haul is applied, this goes to 275. As written in the .lst file, Ant Haul has BONUS:LOADMULT|TYPE=SIZE|2|PREAPPLY:ANYPC. When trying to determine the cause, I changed this entry, and putting it to BONUS:LOADMULT|TYPE=SIZE|1.5|PREAPPLY:ANYPC resolves the calculation for small characters, but this of course breaks it for any other size.

Environment

None

Activity

Show:
Andrew Maitland
November 8, 2013, 4:29 PM

Completed: At revision: 22084

Here is my solution for now. I'm not sure if we need to address any "other" sizes. If so, let me know and I'll tackle those.

Ant Haul.MOD BONUS:LOADMULT|TYPE=SIZE|2|PRESIZEGTEQ:M|PREAPPLY:ANYPC BONUS:LOADMULT|TYPE=SIZE|1.5|PRESIZELTEQ:S|PREAPPLY:ANYPC

Fixed

Assignee

Andrew Maitland

Reporter

Jon Catron

Source Books

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor