Bonuses from stack of Equipment only applied once

Description

When dealing with multiples of the same item that are supposed to grant stackable bonuses (Such as ABILITYPOOL), PCGen only applies the bonus once.

Example detailed in PCGenListFileHelp:
http://tech.groups.yahoo.com/group/PCGenListFileHelp/message/23852

On Aug 4, 2013, at 11:29 AM, jimwschuler wrote:

I'm trying to code in a mechanic for spell research. The basic idea is the character buys an item that represents a unit of spell research, which gives them 1 point in an ability pool, which they can then use to select a new spell. Buy another, get another point.

Problem is, I can get the item to give the first point, but no more.

Environment

Windows XP

Activity

Show:
James Dempsey
November 30, 2013, 6:02 PM

I think this will be best tackled by completing the implementation of the count(equipment ) function to allow the LST author to decide if multiple instances of the equipment should stack. From other discussions, it is quite possible that authors have assumed the current behaviour and changing it would break things.

As noted in the linked email discussion count("equipment" is already partially implemented but there is still some work to be done. In particular, we need to add a filter for gear that is equipped and to allow multiples to be counted (i.e. the number equipped or owned).

Assignee

Unassigned

Reporter

Jim Schuler

Labels

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Affects versions

Priority

Minor
Configure