Template:Effect/doc

From Archaelund Wiki
< Template:Effect
Revision as of 21:02, 24 November 2020 by MikeB (talk | contribs) (Created page with "== Description == This template contains a list of all combat effects ({{ListFormat|{{Effect|TagList}}|Bullets}}) and converts raw effect input into a standardized output form...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template contains a list of all combat effects (Stun • Paralysis • Poison • Gut Boil) and converts raw effect input into a standardized output format.

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