Difference between revisions of "Template:SneakAttack"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{SneakAttack|3}}</nowiki> | |example1 = <nowiki>{{SneakAttack|3}}</nowiki> | ||
|example1output = {{SneakAttack|3}} | |example1output = {{SneakAttack|3}} | ||
|example2 = <nowiki>{{SneakAttack|6|Insight}}</nowiki> | |||
|example2output = {{SneakAttack|6|Insight}} | |||
|parameter1name = Enhancement Amount | |parameter1name = Enhancement Amount | ||
|parameter1description = This is the amount that the | |parameter1description = This is the amount that the Sneak Attack bonus is increased. | ||
| | |parameter2name = Bonus Type | ||
|parameter2description = This is the bonus type, enhancement is the default. | |||
|parameter3name = Damage Amount | |||
|parameter3description = This is the amount of damage, if not the default calculation | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{EnchTitle|Sneak Attack (Enchantment)|{{BonusTypeNameConversion|{{{2|}}}|True}} Sneak Attack +{{{1}}}}}{{EnchBody|Provides a +{{{1}}} {{BonusTypeNameConversion|{{{2|}}}}} to attack bonus and a +{{#if: {{{3|}}}|{{{3}}}|{{#switch: {{{1}}} | ||
|1=2 | |1=2 | ||
|2=3 | |2=3 | ||
Line 16: | Line 21: | ||
|4=6 | |4=6 | ||
|5=8 | |5=8 | ||
}} bonus to damage for any attack that would qualify as a Sneak Attack, even if the wielder is not a Rogue.</onlyinclude> | |6=9 | ||
}}}} {{BonusTypeNameConversion|{{{2|}}}}} bonus to damage for any attack that would qualify as a Sneak Attack, even if the wielder is not a Rogue.}}{{EnchCat|SneakAttack|Items with a Bonus to Sneak Attack}}</onlyinclude> |
Latest revision as of 14:55, 11 September 2021
SneakAttack[edit]
This template is used on equipment for the Sneak Attack enchantment.
Example Usage | |
{{SneakAttack|3}} | Sneak Attack +3: Provides a +3 to attack bonus and a +5 bonus to damage for any attack that would qualify as a Sneak Attack, even if the wielder is not a Rogue. |
{{SneakAttack|6|Insight}} | Insightful Sneak Attack +6: Provides a +6 Insight to attack bonus and a +9 Insight bonus to damage for any attack that would qualify as a Sneak Attack, even if the wielder is not a Rogue. |
Usage[edit]
{{SneakAttack|(Enhancement Amount)|(Bonus Type)|(Damage Amount)}}
Parameter Documentation | |
Enhancement Amount | This is the amount that the Sneak Attack bonus is increased. |
Bonus Type | This is the bonus type, enhancement is the default. |
Damage Amount | This is the amount of damage, if not the default calculation |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Sneak Attack +{{{1}}}: Provides a +{{{1}}} to attack bonus and a + bonus to damage for any attack that would qualify as a Sneak Attack, even if the wielder is not a Rogue.