[Pathfinder] Ultimate Magic - Shaping Focus - DruidWildShape Bonus Miscalculation

Description

The bonus for the Shaping Focus feat (pfum_feats.lst) is currently:
BONUS:VAR|DruidWildShape|MIN(4,classlevel("PC") - classlevel("Druid"))

Though the classlevel documentation suggests otherwise, this will always in fact evaluate to a negative bonus because classlevel("PC") will always return 0. This is because PC is a type of class, not a specific class in itself; in order to obtain all the levels in PC classes, the TYPE= syntax is required. There's a bug filed against the documentation for the classlevel operator for this (https://pcgenorg.atlassian.net/browse/DOCS-264).

The feat also should not be restricted to levels in PC classes, NPC class levels should count as well, so the formula should instead be:
BONUS:VAR|DruidWildShape|MIN(4,classlevel("TYPE=PC") + classlevel("TYPE=NPC") - classlevel("Druid"))

This should work correctly so long as PC and NPC are mutually exclusive types for all classes. TL could be used instead, but it also includes TYPE=Monster class levels and it doesn't seem like those should count for this feat.

Environment

None

Activity

Show:
Andrew Maitland
March 31, 2013, 9:50 PM

Completed: At revision: 19800-1

Fixed

Assignee

Andrew Maitland

Reporter

Rich Baumann

Source Books

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure