Template:Item-To-Hit: Difference between revisions

From Epic Path
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


* If the CL of the item is <13, the output is:
* If the CL of the item is <13, the output is:
''When attacking, roll {{Hi|1d20 + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''
''When attacking, roll {{Hi|1d20 + character level + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''


* If the CL of the item is 13 - 22, the output is:
* If the CL of the item is 13 - 22, the output is:
''When attacking, roll {{Hi|1d20 + 5 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''
''When attacking, roll {{Hi|1d20 + character level + 5 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''


* If the CL of the item is >22, the output is:
* If the CL of the item is >22, the output is:
''When attacking, roll {{Hi|1d20 + 8 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''
''When attacking, roll {{Hi|1d20 + character level + 8 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.''


</noinclude><includeonly>{{#switch:{{{1}}}
</noinclude><includeonly>{{#switch:{{{1}}}
Line 34: Line 34:
| 10
| 10
| 11
| 11
| 12 = When attacking, roll {{Hi|1d20 + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| 12 = When attacking, roll {{Hi|1d20 + character level + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| 13
| 13
| 14
| 14
Line 44: Line 44:
| 20
| 20
| 21
| 21
| 22 = When attacking, roll {{Hi|1d20 + 5 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| 22 = When attacking, roll {{Hi|1d20 + character level + 5 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| 23
| 23
| 24
| 24
Line 57: Line 57:
| 33
| 33
| 34
| 34
| 35 = When attacking, roll {{Hi|1d20 + 8 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| 35 = When attacking, roll {{Hi|1d20 + character level + 8 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| #default = When attacking, roll {{Hi|1d20 + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
| #default = When attacking, roll {{Hi|1d20 + character level + 2 vs. the target's Touch AC}}.  This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.
}}</includeonly>
}}</includeonly>

Revision as of 23:45, 5 May 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}}
  • If the CL of the item is <13, the output is:

When attacking, roll 1d20 + character level + 2 vs. the target's Touch AC. This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.

  • If the CL of the item is 13 - 22, the output is:

When attacking, roll 1d20 + character level + 5 vs. the target's Touch AC. This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.

  • If the CL of the item is >22, the output is:

When attacking, roll 1d20 + character level + 8 vs. the target's Touch AC. This to-hit number is not modified in anyway from your character's ability scores, class features, feats, other magic items, etc.