Template:Infobox creature/doc: Difference between revisions

Jump to navigation Jump to search
(Update example code.)
mNo edit summary
Line 125: Line 125:
* If a creature's initiative bonus is just their Dex modifier, then you mustn't use any initiative-related parameters. It will automatically use the Dex modifier.
* If a creature's initiative bonus is just their Dex modifier, then you mustn't use any initiative-related parameters. It will automatically use the Dex modifier.
* If a creature has ''extra'' initiative bonus through sources other than Dex, use the <code>extra init</code> parameter to specify the extra value (without Dex modifier).
* If a creature has ''extra'' initiative bonus through sources other than Dex, use the <code>extra init</code> parameter to specify the extra value (without Dex modifier).
* For example, if a creature has [[Alert]] (+5), [[Feral Instincts]] (+3), and [[Ambusher (+1)]], then you would specify <code>extra init = 9</code>, and the Dex modifier will be automatically added on top.
* For example, if a creature has [[Alert]] (+5), [[Feral Instinct]] (+3), and [[Ambusher (+1)]], then you would specify <code>extra init = 9</code>, and the Dex modifier will be automatically added on top.
* This way, if the creature's Dex changes between difficulties, the correct initiative bonus will be calculated. If necessary, the <code>extra init</code> parameter can also be changed per difficulty; for example, if the creature's Dex stays the same between difficulties, but they have an additional passive feature in a higher difficulty that grants them extra initiative.
* This way, if the creature's Dex changes between difficulties, the correct initiative bonus will be calculated. If necessary, the <code>extra init</code> parameter can also be changed per difficulty; for example, if the creature's Dex stays the same between difficulties, but they have an additional passive feature in a higher difficulty that grants them extra initiative.