Animal Companion statblock shows master and companion stats when unsaved

Description

(using Autobuild 24/10/12)
Created a human wizard, 4th level, added an owl familiar, exported to PDF (condensed)
Animal Stat block appears to duplicate entries:

HP: 178 AC: 1119 INIT: +1+3
FORT: +2+2 REF: +2+5 WILL: +6+6

Character sheet tab showed HP:8, AC:19, Init:3, Fort +2, Ref +5, Will +6

Environment

None

Activity

Show:
Dave Griffin
October 27, 2012, 3:42 AM

concur, reloading the character seems fine, it's just on initial creation.
Still a bug therefore, but not so serious...

Andrew Maitland
October 27, 2012, 3:46 AM

Not an OS Bug. Not Saving the Master and Companion will cause bad output. If anything, it's a Code FREQ to enforce saving before you can export. There is nothing I can do with the OS to affect this behavior.

Dave Griffin
October 27, 2012, 3:51 AM

Sorry, yes, not an OS bug, can you move this over to code please?
Not sure that forcing a save is appropriate necessarily (may want a one-off NPC), but code should be passing correct info down to OS.

James Dempsey
October 27, 2012, 3:06 PM

Was showing both master and companion details in the stat block as the match for the follower was only done on file name. Now fixed to use name also.

James Dempsey
October 28, 2012, 12:18 AM

Two closely related issues were found and fixed.
1. The COUNT[FOLLOWERTYPE.x.y] command was not checking the follower name. For multiple unsaved companions this resulted in the count for the first follower with a matching file name getting returned. This could cause out of bounds errors or no output.
2. Characters were not being removed from global lists when closed resulting in duplicate values being output if they were closed and loaded again (an extra one for each reload).

Fixed

Assignee

James Dempsey

Reporter

Dave Griffin

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure