Difference between revisions of "Template:Deception"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = Deception
To insert Improved Deception, use Deception|improved
|description = This template is used on equipment for the Deception enchantment.  Deception is an enchantment than makes an enemy more susceptible to sneak attacks for a short time.
<br>{{Deception|improved}}<br>
|example1 = <nowiki>{{Deception|Improved}}</nowiki>
 
|example1output = {{Deception|Improved}}
To insert Classical Deception, use Deception|classic|#
|example2 = <nowiki>{{Deception|Classic|10}}</nowiki>
<br>{{Deception|classic|10}}<br>
|example2output = {{Deception|Classic|10}}
 
|example3 = <nowiki>{{Deception|Basic|10}}</nowiki>
To insert Deception, use Deception|#
|example3output = {{Deception|Basic|10}}
<br>{{Deception|10}}<br>
|example4 = <nowiki>{{Deception|Insightful|10}}</nowiki>
 
|example4output = {{Deception|Insightful|10}}
To insert Insightful Deception, use Deception|insightful|#
|example5 = <nowiki>{{Deception|Quality|10}}</nowiki>
<br>{{Deception|insightful|10}}<br>
|example5output = {{Deception|Quality|10}}
 
|parameter1name = Bonus Type
To insert Quality Deception, use Deception|quality|#
|parameter1description = This is the type of deception. 
<br>{{Deception|quality|10}}<br>
|parameter1values =
 
* Improved
* Classic
* Insightful
* Quality
* Basic or anything else is the basic type
|parameter2name = Enhancement Amount
|parameter2description = This is the amount that deception is increased. 
|parameter2values =
}}
</noinclude>
</noinclude>
 
<onlyinclude>[[Category:Items with Deception]]{{#switch: {{lc:{{{1}}}}}
 
 
== The Template ==
Please note that due to the default options set, this will contain an Expression Error. Don't worry, it's working!
<onlyinclude>
{{#switch: {{{1}}}  
| improved = [[Category:Items with Improved Deception]][[Deception#Improved Deception|'''Improved Deception''':]] This weapon/item is hard to focus upon and thus provides a +5 enhancement bonus to Bluff checks. In addition, Improved Deception weapons has a 10% chance to envelop the target in darkness, making them vulnerable to sneak attacks for a short time.  
| improved = [[Category:Items with Improved Deception]][[Deception#Improved Deception|'''Improved Deception''':]] This weapon/item is hard to focus upon and thus provides a +5 enhancement bonus to Bluff checks. In addition, Improved Deception weapons has a 10% chance to envelop the target in darkness, making them vulnerable to sneak attacks for a short time.  
| classic = [[Category:Items with Deception]][[Deception|'''Deception''':]] 5% chance on hit: Your target becomes [[Bluff|bluffed]] for 4 seconds. Bluffed enemies can be targeted by Sneak Attacks even while targeting you. Passive: +{{{2}}} to hit and +{{#expr: {{{2}}} * 2}} to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| classic = [[Category:Items with Deception]][[Deception|'''Deception''':]] 5% chance on hit: Your target becomes [[Bluff|bluffed]] for 4 seconds. Bluffed enemies can be targeted by Sneak Attacks even while targeting you. Passive: +{{{2}}} to hit and +{{#expr: {{{2}}} * 2}} to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| insightful = [[Category:Items with Insightful Deception]][[Deception|'''Insightful Deception {{{2}}}''':]] +{{{2}}} Insightful bonus to hit and +{{#expr: {{{2}}} * 2}} Insightful bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| insightful = [[Category:Items with Insightful Deception]][[Deception|'''Insightful Deception {{{2}}}''':]] +{{{2}}} Insightful bonus to hit and +{{#expr: {{{2}}} * 2}} Insightful bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| quality = [[Category:Items with Quality Deception]][[Deception|'''Quality Deception {{{2}}}''':]] +{{{2}}} Quality bonus to hit and +{{#expr: {{{2}}} * 2}} Quality bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| quality = [[Category:Items with Quality Deception]][[Deception|'''Quality Deception {{{2}}}''':]] +{{{2}}} Quality bonus to hit and +{{#expr: {{{2}}} * 2}} Quality bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]  
| #default = [[Category:Items with Deception]][[Deception|'''Deception {{{1}}}''':]] +{{{1}}} to hit and +{{#expr: {{{1}}} * 2}} to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]}}
| #default = [[Category:Items with Deception]][[Deception|'''Deception {{{2}}}''':]] +{{{2}}} to hit and +{{#expr: {{{2}}} * 2}} to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]}}
 
[[Category:Items with Deception]]
</onlyinclude>
</onlyinclude>
<noinclude>[[Category:Template]]</noinclude>

Revision as of 02:44, 5 May 2018

Deception[edit]

This template is used on equipment for the Deception enchantment. Deception is an enchantment than makes an enemy more susceptible to sneak attacks for a short time.

Example Usage
{{Deception|Improved}}Improved Deception: This weapon/item is hard to focus upon and thus provides a +5 enhancement bonus to Bluff checks. In addition, Improved Deception weapons has a 10% chance to envelop the target in darkness, making them vulnerable to sneak attacks for a short time.
{{Deception|Classic|10}}Deception: 5% chance on hit: Your target becomes bluffed for 4 seconds. Bluffed enemies can be targeted by Sneak Attacks even while targeting you. Passive: +10 to hit and +20 to damage to attacks that qualify as Sneak Attacks
{{Deception|Basic|10}}Deception 10: +10 to hit and +20 to damage to attacks that qualify as Sneak Attacks
{{Deception|Insightful|10}}Insightful Deception 10: +10 Insightful bonus to hit and +20 Insightful bonus to damage to attacks that qualify as Sneak Attacks

Usage[edit]

{{Deception|(Bonus Type)|(Enhancement Amount)}}

Parameter Documentation
Bonus TypeThis is the type of deception.
Possible Values:
  • Improved
  • Classic
  • Insightful
  • Quality
  • Basic or anything else is the basic type
Enhancement AmountThis is the amount that deception is increased.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Deception {{{2}}}: +{{{2}}} to hit and +Expression error: Unrecognized punctuation character "{". to damage to attacks that qualify as Sneak Attacks