MaximizeOrEmpower

From NWN Lexicon


Contents

[edit] MaximizeOrEmpower(int, int, int, int)

Checks the appropriate metamagic to see how the damage should be scaled.

int MaximizeOrEmpower(
    int nDice,
    int nNumberOfDice,
    int nMeta,
    int nBonus = 0
);

[edit] Parameters

nDice

Number of sides on the dice.

nNumberOfDice

Number of dice to roll.

nMeta

Can be either METAMAGIC_MAXIMIZE .

nBonus

Bonus damage (Default: 0)


[edit] Description

Checks the appropriate metamagic (empower and maximize) to see how the damage should be scaled.

After all the damage calculations have been done, nBonus (default: 0) is added onto the total.



[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

constants: 

METAMAGIC_*



author: Mistress, editor: Kolyana

Personal tools
Categories