Titan Quest Wiki
Line 64: Line 64:
   
 
--><includeonly><!--
 
--><includeonly><!--
  +
-->{{ Offensive Damage
-->{{ #if: {{{ offensivePercentCurrentLifeMin | }}} |<!--
 
-->{{ #if: {{{ offensivePercentCurrentLifeChance | }}} | {{ #expr: {{{ offensivePercentCurrentLifeChance }}} }}% Chance of {{ sp }} }}<!--
+
| chance = {{{ offensivePercentCurrentLifeChance | }}}
-->{{ #expr: {{{ offensivePercentCurrentLifeMin }}} }}<!--
+
| min = {{{ offensivePercentCurrentLifeMin | }}}
-->{{ #if: {{{ offensivePercentCurrentLifeMax | }}} | {{ sp }} ~ {{ #expr: {{{ offensivePercentCurrentLifeMax }}} }} }}<!--
+
| max = {{{ offensivePercentCurrentLifeMax | }}}
-->% Reduction to Enemy's Health<!--
+
| text = % Reduction to Enemy's Health
 
}}<!--
-->{{ #ifexpr: {{ #expr: {{{ offensivePercentCurrentLifeMin }}} != {{{ offensivePercentCurrentLifeMin }}} round 0 }} or {{ #expr: {{{ offensivePercentCurrentLifeMax | 0 }}} != {{{ offensivePercentCurrentLifeMax | 0 }}} round 0 }} | {{ tooltip | rounded in game UI }} }}<!--
 
-->}}<!--
 
 
--></includeonly>
 
--></includeonly>

Revision as of 14:52, 5 December 2017

This template expands to in-game description of Reduction to Enemy's Health.

Parameters

Parameter Description
offensivePercentCurrentLifeChance chance of applying Reduction to Enemy's Health
offensivePercentCurrentLifeMin Reduction to Enemy's Health percentage range
offensivePercentCurrentLifeMax

Examples

Code Result
  {{ Offensive Percent Current Life
   | offensivePercentCurrentLifeMin = 0.5
  }}
Template:Offensive Damage
  {{ Offensive Percent Current Life
   | offensivePercentCurrentLifeMin = 1
  }}
Template:Offensive Damage
  {{ Offensive Percent Current Life
   | offensivePercentCurrentLifeChance = 1
   | offensivePercentCurrentLifeMin = 2
   | offensivePercentCurrentLifeMax = 3
  }}
Template:Offensive Damage

Position in Database Record

  • All Groups
    • Offensive Parameters
      • Offensive Absolute
        • Offensive Percent Current Life