Skip to content

ByCharLevelBreakpointsCalculationPart

Class Documentation

Edit documentation

A character-level part that returns a level-1 value plus a bonus per level, where breakpoints change the bonus and add flat amounts.

The value starts at mLevel1Value and grows by mInitialBonusPerLevel for each level above 1. At each breakpoint whose mLevel is at or below the caster's level L, the client adds mAdditionalBonusAtThisLevel once, and the bonus per level becomes mBonusPerLevelAtAndAfter from the breakpoint level itself.

For example, mLevel1Value 70, mInitialBonusPerLevel 0 and one breakpoint at level 9 with mBonusPerLevelAtAndAfter 6 give 70 up to level 8, 76 at level 9 and 130 at level 18.

Properties

mInitialBonusPerLevel

F32 = 0
Edit documentation

The amount added per level until the first breakpoint.