Template:Combat Ability name: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
m Updating shark AIP.
Desophos (talk | contribs)
Update for API v337
Line 1: Line 1:
{{ #if: {{{1|}}} |  
{{ #if: {{{1|}}} |  
{{ #replace:{{ #switch: {{{1|None}}}
{{ #replace:{{ #switch: {{{1|None}}}| AnimalBite=Crushing Damage
| AnimalBite=Crushing Damage
| AnimalClaw=Slashing Damage
| AnimalClaw=Slashing Damage
| AnimalOmegaBite=Heavy Crushing Damage
| AnimalOmegaBite=Heavy Crushing Damage
Line 98: Line 97:
| FireTrapAttack1=Burst Fire Damage
| FireTrapAttack1=Burst Fire Damage
| FireSnakeExplosion1=Burst Fire Damage
| FireSnakeExplosion1=Burst Fire Damage
| HealingAura1=Burst Heal
| HealingAura=Burst Heal
| HealingAura2=Burst Heal
| HealingAura3=Burst Heal
| HealingAura4=Burst Heal
| AcidAuraBall1=Ranged Acid Damage
| AcidAuraBall1=Ranged Acid Damage
| AcidAuraBall2=Ranged Acid Damage
| AcidAuraBall2=Ranged Acid Damage
Line 157: Line 153:
| BrainDrain=Crushing Power Debuff
| BrainDrain=Crushing Power Debuff
| BrainDrain2=Crushing Power Debuff
| BrainDrain2=Crushing Power Debuff
| SharkBite = Crushing Damage
| SharkMegaBite = Crushing Damage and Bleed
| SharkOpener = Crushing Damage and Slow
| SheepBomb1=Burst Fire Self-Destruct
| SheepBomb1=Burst Fire Self-Destruct
| SlugPoisonBite=Poison Damage
| SlugPoisonBite=Poison Damage
Line 175: Line 168:
| IcyCocoon=Cold Immobilize
| IcyCocoon=Cold Immobilize
| IcyCocoon2=Cold Immobilize
| IcyCocoon2=Cold Immobilize
| AcidOpener=Heavy Armor Damage-over-Time (opener)
| IcyStun=Cold Damage and Stun
| NightmareHoof=Darkness Damage
| NightmareHoof=Darkness Damage
| NightmareDarknessBomb=Heavy Burst Darkness Damage
| NightmareDarknessBomb=Heavy Burst Darkness Damage
Line 333: Line 328:
| TurretCrystalZapLongRange=Ranged Electricity Damage
| TurretCrystalZapLongRange=Ranged Electricity Damage
| TurretCrystalZapLongRange2=Heavy Ranged Electricity Damage
| TurretCrystalZapLongRange2=Heavy Ranged Electricity Damage
| TurretCrystalZapMediumRangeSlow=Ranged Electricity Damage
| TurretCrystalZapMediumRange2=Heavy Ranged Electricity Damage
| BitingVineBite=Crushing Damage
| BitingVineBite=Crushing Damage
| BitingVineSpit=Ranged Poison Damage
| BitingVineSpit=Ranged Poison Damage
Line 339: Line 336:
| TrollClubA=Crushing Damage
| TrollClubA=Crushing Damage
| TrollKnockdown=Crushing Damage and Knockdown
| TrollKnockdown=Crushing Damage and Knockdown
| TrollHeal=Area Dispel Fire and Heal
| TrollSwordA=Slashing Damage
| FaeSwordA=Slashing Damage
| FaeSwordA=Slashing Damage
| FaeSwordKill=Heavy Slashing Damage, Armor Bypass
| FaeSwordKill=Heavy Slashing Damage, Armor Bypass
Line 344: Line 343:
| FaeIceSpearA=Ranged Cold Damage
| FaeIceSpearA=Ranged Cold Damage
| FaeColdSphere=Summon Microclimate
| FaeColdSphere=Summon Microclimate
| FaeTornadoOpener=Summon Microclimate
| FaeTornadoRage=Summon Microclimate
| NecroSpark=Ranged Electricity Damage
| NecroSpark=Ranged Electricity Damage
| NecroDarknessWave=Burst Darkness Damage
| NecroDarknessWave=Burst Darkness Damage
Line 471: Line 472:
| RanalonDoctrineKeeperBlind=Burst Psychic Damage and Debuff
| RanalonDoctrineKeeperBlind=Burst Psychic Damage and Debuff
| RanalonDoctrineKeeperStab=Piercing Damage and Curse
| RanalonDoctrineKeeperStab=Piercing Damage and Curse
| RanalonGuardianPull=Ranged Psychic Pull
| EnemyMinigolemPunch=Crushing Damage
| EnemyMinigolemPunch=Crushing Damage
| EnemyMinigolemExplode=Burst Fire Self-Destruct
| EnemyMinigolemExplode=Burst Fire Self-Destruct
Line 481: Line 483:
| HippogriffSlashes=Slashing Damage and Multi-Trauma Bleed
| HippogriffSlashes=Slashing Damage and Multi-Trauma Bleed
| HippogriffBossSlashes=Slashing and Multiple Huge Trauma Bleeds
| HippogriffBossSlashes=Slashing and Multiple Huge Trauma Bleeds
| HippogriffFrostPeck=Cold Damage and Power Loss
| HippogriffFrostClaws=Cold Damage and Power Loss Over Time
| HippogriffBossFrostClaws=Cold Damage, Power Loss Over Time, and Curse
| GargoyleSlamA=Crushing Damage
| GargoyleSlamA=Crushing Damage
| GargoyleStun=Crushing Damage and Stun
| GargoyleStun=Crushing Damage and Stun
Line 493: Line 498:
| ScrayStab1=Piercing Damage, Delayed Acid Damage
| ScrayStab1=Piercing Damage, Delayed Acid Damage
| ScrayStab2=Piercing Damage, Delayed Acid Damage
| ScrayStab2=Piercing Damage, Delayed Acid Damage
| ScrayStab3=Piercing Damage, Delayed Acid Damage
| HippoBite=Crushing Damage
| HippoBite=Crushing Damage
| HippoBiteAndHeal=Crushing Damage and Self-Heal
| HippoBiteAndHeal=Crushing Damage and Self-Heal
Line 518: Line 524:
| TreantDoT1=Ranged Nature Damage
| TreantDoT1=Ranged Nature Damage
| RootTrap=Immobilize and Self-Destruct
| RootTrap=Immobilize and Self-Destruct
| PhoenixPeck=Crushing Damage and Stun
| PhoenixClaw=Crushing Damage and Stun
| PhoenixFireball=Ranged Fire Damage
| PhoenixFireball=Ranged Fire Damage
| PhoenixBlast=Huge Heavy Burst Fire Damage
| PhoenixBlast=Huge Heavy Burst Fire Damage
Line 536: Line 542:
| PixieSlash=Slashing Damage
| PixieSlash=Slashing Damage
| PixieRageSlash=Slashing Damage and Self-Buff
| PixieRageSlash=Slashing Damage and Self-Buff
| FaeConduitHeal=Burst Power Heal
| GoatBite=Crushing Damage
| GoatKick=Crushing Damage
| GoatSmite=Heavy Ranged Nature Damage
| SharkBite=Crushing Damage
| SharkMegaBite=Crushing Damage and Bleed
| SharkOpener=Crushing Damage and Slow
| IllusoryFoxBite1=Darkness Damage
| IllusoryFoxBite2=Darkness Damage
| IllusoryFoxBite3=Darkness Damage
| IllusoryFoxBite4=Darkness Damage
| IllusoryFoxBite5=Darkness Damage
| IllusoryFoxRage1=Heavy Darkness Damage
| IllusoryFoxRage2=Heavy Darkness Damage
| IllusoryFoxRage3=Heavy Darkness Damage
| IllusoryFoxRage4=Heavy Darkness Damage
| IllusoryFoxRage5=Heavy Darkness Damage
| FaeDarkcasterA=Ranged Darkness Damage
| FaeDarkcasterStun=Ranged Darkness Damage and Stun
| DalvosPainBubble=Ranged Psychic Debuff
| DalvosDarknessBolt=Ranged Darkness Damage and Curse
| DalvosElectricBolt=Ranged Electricity Damage and Curse
| DalvosBlastWall=Heavy Burst Electricity Damage
| #default = {{ #if: {{ #pos: {{{1|}}} | : }} |  4003 | <span style="color:red">Error: Combat Ability not found</span> }}
| #default = {{ #if: {{ #pos: {{{1|}}} | : }} |  4003 | <span style="color:red">Error: Combat Ability not found</span> }}
}}|  
}}|  

Revision as of 19:42, 14 September 2020

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}}

{{ #replace:Heavy Crushing Damage| Error: Combat Ability not found | Error: Combat Ability not found }}, {{ #replace:Cold Damage| Error: Combat Ability not found | Error: Combat Ability not found }}