ConstReturns the effective PM cap for a class ability or power.
When a power's PM cost scales with a specific class level (e.g. Arcanista's Magia Aprimorada), the cap is the character's level in that class. Otherwise it falls back to the total character level.
Total character level (sum of all class levels)
OptionalclassLevel?: number | nullCharacter's level in the class that provides the ability, or null
OptionalsourceClass?: string | nullID of the class that provides the ability, or null
The PM cap as an integer
Rules utilities for PM (Mana Points) cap calculations.