Template:Effect/doc

From Archaelund Wiki
< Template:Effect
Revision as of 21:06, 24 November 2020 by MikeB (talk | contribs)

Description

This template contains a list of all combat effects (Stun • Paralysis • Poison • Gut Boil) and converts raw effect input (e.g. "Stun,5,10") into a standardized output format: Stun (Power: 5, Resist: ).

Usage

{{Effect|<effect input>}}

where <effect input> represents a vector of 3 comma-separated entries (e.g. "Stun,5,10") detailed below.

For generating a semicolon-separated list of all available effects (intended for documentation purposes) use

{{Effect|TagList}}

Effect input vector

IndexDescriptionValue
1The name of the effect.one of the following tags: Stun • Paralysis • Poison • Gut Boil
2The chance of the effect to be triggered upon a hit.positive number
3The level of the effect, typically determining its duration.positive number