User:Vergir/AbilityInteraction

From The Deadlock Wiki
Revision as of 10:33, 30 April 2026 by Vergir (talk | contribs) (Rewrite as thin wrapper calling Module:Vergir/InteractionTypes — single config source of truth (with help from vergir-bot LLM))
Jump to navigation Jump to search

Overview

Renders a single styled interaction row for use inside the interactions= parameter of User:Vergir/AbilitySection.

All type definitions (label, icon, color, default text) live in Module:Vergir/InteractionTypes. Adding a new interaction type only requires editing that module.

Parameters

Parameter Description Required
type Interaction type key. Must match an entry in Module:Vergir/InteractionTypes. Yes
text Custom description. If omitted, a default description is shown in grey italics. No

Valid type values

See Module:Vergir/InteractionTypes for the full list. Current types:

Vitality (dark green)
  • unstoppable, counterspell, debuff_resist, dispel_magic, bullet_effect
Spirit (dark purple)
  • movement_restriction, ability_range, ability_duration, charges

Example

{{User:Vergir/AbilityInteraction
| type = counterspell
| text = Counterspell blocks the slow and accuracy debuff, but not the damage.
}}

{{User:Vergir/AbilityInteraction
| type = charges
}}