Titan Quest Wiki
Advertisement


All items in the Shield weapon class have a unique property X% Chance to block Y Damage. In order to have consistent description of this property across the wiki this template has been created.

The template accepts two numeric values, chance and damage, and returns a string of text based on these values.

Usage

{{Template:TextChanceToBlock|chance=|damage=}}

Parameters

Parameter Description
chance=
[number], chance to block damage
damage=
[number], maximum amount of damage that can be blocked

Examples

Input Output
{{Template:TextChanceToBlock
|chance=11
|damage=94
}}

11% Chance to block 94 Damage


{{Template:TextChanceToBlock
|11
|94
}}

11% Chance to block 94 Damage


Notice: In the second example parameter names have been omitted. In this case the template considers the first unnamed parameter passed to be the chance value, and the second one to be the damage value.

Advertisement