Difference between revisions of "Template:Deception"

From DDO Compendium
Line 27: Line 27:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category:Items with Deception]]{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[Category:Items with Deception]]}}{{#switch: {{lc:{{{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 = {{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[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 = {{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[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]]  
| historic = [[Category:Items with Deception]][[Deception#Historic|'''Deception:''']] This weapon is hard to focus upon and this provides a +3 enhancement bonus to Bluff checks. In addition, Deception weapons have a small chance to envelop the target in darkness, making them vulnerable to sneak attacks for a short time.
| historic = {{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[Category:Items with Deception]]}}[[Deception#Historic|'''Deception:''']] This weapon is hard to focus upon and this provides a +3 enhancement bonus to Bluff checks. In addition, Deception weapons have a small chance to envelop the target in darkness, making them vulnerable to sneak attacks for a short time.
| custom = [[Category:Items with Deception]][[Deception|''' {{BonusTypeNameConversion|{{{3|}}}|True}} Deception +{{{2}}}''':]] +{{{2}}} {{BonusTypeNameConversion|{{#if: {{{3|}}}|{{{3}}}|Enhancement}}}} bonus to hit and +{{{4}}} {{BonusTypeNameConversion|{{#if: {{{3|}}}|{{{3}}}|Enhancement}}}} bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]
| custom = {{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[Category:Items with Deception]]}}[[Deception|''' {{BonusTypeNameConversion|{{{3|}}}|True}} Deception +{{{2}}}''':]] +{{{2}}} {{BonusTypeNameConversion|{{#if: {{{3|}}}|{{{3}}}|Enhancement}}}} bonus to hit and +{{{4}}} {{BonusTypeNameConversion|{{#if: {{{3|}}}|{{{3}}}|Enhancement}}}} bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]
| #default = [[Category:Items with Deception]][[Deception|''' {{BonusTypeNameConversion|{{{3|}}}|True}} Deception +{{{2}}}''':]] +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to hit and +{{#expr: {{{2}}} * 2}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]}}</onlyinclude>
| #default = {{#ifeq: {{FULLPAGENAME}} |Template:Deception||[[Category:Items with Deception]]}}[[Deception|''' {{BonusTypeNameConversion|{{{3|}}}|True}} Deception +{{{2}}}''':]] +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to hit and +{{#expr: {{{2}}} * 2}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to damage to attacks that qualify as [[Sneak Attack|Sneak Attacks]]}}</onlyinclude>

Revision as of 18:01, 7 February 2019

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||10}} Deception +10: +10 Enhancement bonus to hit and +20 Enhancement bonus to damage to attacks that qualify as Sneak Attacks
{{Deception|Custom|2||3}} Deception +2: +2 Enhancement bonus to hit and +3 Enhancement bonus to damage to attacks that qualify as Sneak Attacks

Usage[edit]

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

Parameter Documentation
TypeThis is the type of deception.
Possible Values:
  • Improved
  • Classic
  • Historic
  • Custom - Bonus Type is used for this one
  • Leave bank for untyped deception (ex above), Bonus Type is used for this one
Enhancement AmountThis is the amount that deception is increased.
Bonus TypeThis is the type bonus, Quality, insight, etc.
DamageThe damage amount only used for custom

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}}} Enhancement bonus to hit and +Expression error: Unrecognized punctuation character "{". Enhancement bonus to damage to attacks that qualify as Sneak Attacks