User:Vergir/AbilityInteraction: Difference between revisions

Vergir (talk | contribs)
Add new interaction types, drop "Interactions:" prefix from header label (with help from vergir-bot LLM)
Vergir (talk | contribs)
Drop all interaction types not in the canonical user-specified list (with help from vergir-bot LLM)
Line 8: Line 8:
<div class="ability-interaction" style="margin-bottom:4px; border-radius:4px; overflow:hidden; font-family:'Open Sans','PT Serif',serif;">
<div class="ability-interaction" style="margin-bottom:4px; border-radius:4px; overflow:hidden; font-family:'Open Sans','PT Serif',serif;">
   <div style="background:{{#switch:{{{type|}}}
   <div style="background:{{#switch:{{{type|}}}
    | debuff_immunity    = #4a7fa5
     | unstoppable        = #a07830
     | unstoppable        = #a07830
    | silence            = #7a5a9a
    | stun              = #7a5a9a
    | disjoint          = #4a6a5a
    | invincibility      = #4a7fa5
    | sleep              = #5a6a8a
    | purge              = #4a7a6a
    | lifestealing      = #3a7a4a
    | barrier            = #3a7a4a
    | illusions          = #5a5a7a
    | phase              = #5a5a7a
     | counterspell      = #4a5a7a
     | counterspell      = #4a5a7a
     | debuff_reduction  = #4a6a7a
     | debuff_reduction  = #4a6a7a
Line 29: Line 18:
     | #default          = #555555
     | #default          = #555555
   }}; padding:4px 8px; font-weight:bold; font-size:0.85rem; display:flex; align-items:center; gap:6px; color:#FFEFD7;">[[File:{{#switch:{{{type|}}}
   }}; padding:4px 8px; font-weight:bold; font-size:0.85rem; display:flex; align-items:center; gap:6px; color:#FFEFD7;">[[File:{{#switch:{{{type|}}}
    | debuff_immunity    = Status_Debuff_Immune.png
     | unstoppable        = Unstoppable Symbol.png
     | unstoppable        = Unstoppable Symbol.png
    | silence            = Silence.png
    | stun              = Status_Stun.png
    | disjoint          = Status_Displacement.png
    | invincibility      = Metal Skin Old.png
    | sleep              = Status_Sleep.png
    | purge              = Debuff_Remover.png
    | lifestealing      = Healing.png
    | barrier            = Barrier.png
    | illusions          = Invisible.png
    | phase              = Status_Unstoppable.png
     | counterspell      = Counterspell.png
     | counterspell      = Counterspell.png
     | debuff_reduction  = Debuff_Reducer.png
     | debuff_reduction  = Debuff_Reducer.png
Line 50: Line 28:
     | #default          = GenericProperty.png
     | #default          = GenericProperty.png
   }}|20px|link=]] {{#switch:{{{type|}}}
   }}|20px|link=]] {{#switch:{{{type|}}}
    | debuff_immunity    = [[Debuff Resist|Debuff Immunity]]
     | unstoppable        = [[Status Effects#Unstoppable|Unstoppable]]
     | unstoppable        = [[Status Effects#Unstoppable|Unstoppable]]
    | silence            = [[Silence]]
    | stun              = [[Stun]]
    | disjoint          = Disjoint
    | invincibility      = [[Status Effects#Invincibility|Invincibility]]
    | sleep              = [[Status Effects#Sleep|Sleep]]
    | purge              = Purge
    | lifestealing      = Lifestealing
    | barrier            = [[Barrier]]
    | illusions          = Illusions
    | phase              = Phased Units
     | counterspell      = {{ItemIcon|Counterspell}}
     | counterspell      = {{ItemIcon|Counterspell}}
     | debuff_reduction  = [[Debuff Resist|Debuff Reduction]]
     | debuff_reduction  = [[Debuff Resist|Debuff Reduction]]
Line 69: Line 36:
     | ability_duration  = [[Ability Duration|Ability Duration]] ({{ItemIcon|Duration Extender}})
     | ability_duration  = [[Ability Duration|Ability Duration]] ({{ItemIcon|Duration Extender}})
     | charges            = Charges ({{ItemIcon|Rapid Recharge}})
     | charges            = Charges ({{ItemIcon|Rapid Recharge}})
     | #default          = {{#if:{{{type|}}}|<span style="color:red;">Unknown type: <code>{{{type}}}</code></span>|''(no type provided)''}}
     | #default          = <span style="color:red;">Unknown type: <code>{{{type}}}</code></span>
   }}</div>
   }}</div>
   <div style="background:#1e1a22; padding:6px 10px; font-size:0.85rem; color:#FFEFD7;">{{{text|}}}</div>
   <div style="background:#1e1a22; padding:6px 10px; font-size:0.85rem; color:#FFEFD7;">{{{text|}}}</div>
Line 89: Line 56:
The canonical list of types is also documented in [[User:Vergir/Module:InteractionTypes]]. Adding a new type requires updating both this template's <code>#switch</code> blocks and that module.
The canonical list of types is also documented in [[User:Vergir/Module:InteractionTypes]]. Adding a new type requires updating both this template's <code>#switch</code> blocks and that module.


; Status effects
* <code>debuff_immunity</code> — [[Debuff Resist|Debuff Immunity]]
* <code>unstoppable</code> — [[Status Effects#Unstoppable|Unstoppable]]
* <code>unstoppable</code> — [[Status Effects#Unstoppable|Unstoppable]]
* <code>silence</code> — [[Silence]]
* <code>stun</code> — [[Stun]]
* <code>disjoint</code> — Disjoint
* <code>invincibility</code> — [[Status Effects#Invincibility|Invincibility]]
* <code>sleep</code> — [[Status Effects#Sleep|Sleep]]
* <code>purge</code> — Purge
* <code>lifestealing</code> — Lifestealing
* <code>barrier</code> — [[Barrier]]
* <code>illusions</code> — Illusions
* <code>phase</code> — Phased Units
; Items
* <code>counterspell</code> — [[Counterspell]]
* <code>counterspell</code> — [[Counterspell]]
* <code>debuff_reduction</code> — [[Debuff Resist|Debuff Reduction]] (icon: [[Debuff Reducer]])
* <code>debuff_reduction</code> — [[Debuff Resist|Debuff Reduction]] (icon: [[Debuff Reducer]])
Line 114: Line 68:
<pre>
<pre>
{{User:Vergir/AbilityInteraction
{{User:Vergir/AbilityInteraction
| type = disjoint
| type = dispel_magic
| text =
| text =
The projectile can be disjointed before impact.
{{ItemIcon|Dispel Magic}} used by an ally on the channeled target will immediately return them.
Disjointing prevents both the impact damage and the explosion.
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>