Difference between revisions of "Template:Combat Ability name"

From Project: Gorgon Wiki
Jump to: navigation, search
(Update for API v337)
(v340 update)
Line 1: Line 1:
 
{{ #if: {{{1|}}} |  
 
{{ #if: {{{1|}}} |  
{{ #replace:{{ #switch: {{{1|None}}}| AnimalBite=Crushing Damage
+
{{ #replace:{{ #switch: {{{1|None}}}
 +
| AnimalBite=Crushing Damage
 
| AnimalClaw=Slashing Damage
 
| AnimalClaw=Slashing Damage
 
| AnimalOmegaBite=Heavy Crushing Damage
 
| AnimalOmegaBite=Heavy Crushing Damage
Line 449: Line 450:
 
| WorldBossClaudiaIceSpear=Ranged Cold Damage
 
| WorldBossClaudiaIceSpear=Ranged Cold Damage
 
| WorldBossClaudiaBlizzard=Huge Area Cold Damage and Slow and Curse
 
| WorldBossClaudiaBlizzard=Huge Area Cold Damage and Slow and Curse
 +
| EventBossClaudiaSummon=Summon Pets
 
| KrakenBeak=Crushing Damage and Unmitigatable Stun
 
| KrakenBeak=Crushing Damage and Unmitigatable Stun
 
| KrakenSlam=Burst Nature Damage and Knockback
 
| KrakenSlam=Burst Nature Damage and Knockback

Revision as of 16:17, 15 November 2020

Item-icon-none.png

Description

This accepts a combat ability internal name as input and returns the in-game description (what players see in mob combat information).

Syntax

{{Combat Ability name|<name>}}

Parameters

<name>
The name of the ability. It must match exactly what is displayed in the json (e.g. "TreantStomp", not "Treant Stomp" or "treantstomp")

Examples

Basic Use

{{Combat Ability name|TreantStomp}} {{Combat Ability name|IceSlimeKick}}

Heavy Crushing Damage, Cold Damage