Template:Item-To-Hit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
where '##' is the CL of the item (you have to include it in the call, or it won't know). | where '##' is the CL of the item (you have to include it in the call, or it won't know). | ||
Example: | '''Example:''' | ||
<pre> | <pre> | ||
{{Item-To-Hit|14}} | {{Item-To-Hit|14}} | ||
</pre> | </pre> | ||
'''Outputs:''' | |||
'' | |||
{{Item-To-Hit|14}} | |||
</noinclude><includeonly> | </noinclude><includeonly>To make an attack with this power, you do not use your own to-hit numbers. Instead, roll {{Hi|1d20 + {{#expr:{{MonsterAC|transcludesection={{{1}}}}} - 7}} vs. the target's AC}}. This to-hit number is never modified by any of your own abilities, effects, or items (unless you have an ability or effect that specifically modifies a magic item's to-hit number).</includeonly> | ||
| | |||
Revision as of 16:34, 1 August 2019
Outputs the item's to-hit information string as a highlighted block of text.
{{Item-To-Hit|##}}
where '##' is the CL of the item (you have to include it in the call, or it won't know).
Example:
{{Item-To-Hit|14}}
Outputs:
To make an attack with this power, you do not use your own to-hit numbers. Instead, roll 1d20 + 29 vs. the target's AC. This to-hit number is never modified by any of your own abilities, effects, or items (unless you have an ability or effect that specifically modifies a magic item's to-hit number).