Template:Attacks/row: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
mNo edit summary |
||
(44 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}</noinclude><includeonly>{{#if:{{{attack1|}}}|{{!}}-<!-- | |||
{{#if:{{{ | |||
--> | -->{{#if:{{{attack1context|}}}{{{attack2context|}}}{{{attack3context|}}}{{{attack4context|}}}{{{attack5context|}}}|{{#vardefine:context|1}}|{{#vardefine:context|0}}}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{attack1penetration|}}}{{{attack2penetration|}}}{{{attack3penetration|}}}{{{attack4penetration|}}}{{{attack5penetration|}}}|{{#vardefine:penetration|1}}|{{#vardefine:penetration|0}}}}<!-- | ||
{{# | -->{{#if:{{{attack1stuninside|}}}{{{attack2stuninside|}}}{{{attack3stuninside|}}}{{{attack4stuninside|}}}{{{attack5stuninside|}}}|{{#vardefine:inside|1}}|{{#vardefine:inside|0}}}}<!-- | ||
{{#if:{{{attack1explosionrange|}}} | -->{{#if:{{{attack1explosionrange|}}}{{{attack2explosionrange|}}}{{{attack3explosionrange|}}}{{{attack4explosionrange|}}}{{{attack5explosionrange|}}}|{{#vardefine:explosionrange|1}}|{{#vardefine:explosionrange|0}}}}<!-- | ||
{{#if:{{{attack1structuredamage|}}} | -->{{#if:{{{attack1structuredamage|}}}{{{attack1explosionstructuredamage|}}}{{{attack2structuredamage|}}}{{{attack2explosionstructuredamage|}}}{{{attack3structuredamage|}}}{{{attack3explosionstructuredamage|}}}{{{attack4structuredamage|}}}{{{attack4explosionstructuredamage|}}}{{{attack5structuredamage|}}}{{{attack5explosionstructuredamage|}}}|{{#vardefine:structuredamage|1}}|{{#vardefine:structuredamage|0}}}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{attack1itemdamage|}}}{{{attack1explosionitemdamage|}}}{{{attack2itemdamage|}}}{{{attack2explosionitemdamage|}}}{{{attack3itemdamage|}}}{{{attack3explosionitemdamage|}}}{{{attack4itemdamage|}}}{{{attack4explosionitemdamage|}}}{{{attack5itemdamage|}}}{{{attack5explosionitemdamage|}}}|{{#vardefine:itemdamage|1}}|{{#vardefine:itemdamage|0}}}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{attack1duration|}}}{{{attack2duration|}}}{{{attack3duration|}}}{{{attack4duration|}}}{{{attack5duration|}}}|{{#vardefine:duration|1}}|{{#vardefine:duration|0}}}}<!-- | ||
{{# | -->{{#if:{{{attack1cooldown|}}}{{{attack2cooldown|}}}{{{attack3cooldown|}}}{{{attack4cooldown|}}}{{{attack5cooldown|}}}|{{#vardefine:cooldown|1}}|{{#vardefine:cooldown|0}}}}<!-- | ||
{{#if:{{{attack1note|}}} | -->{{#if:{{{attack1force|}}}{{{attack2force|}}}{{{attack3force|}}}{{{attack4force|}}}{{{attack5force|}}}|{{#vardefine:force|1}}|{{#vardefine:force|0}}}}<!-- | ||
-->{{#if:{{{attack1note|}}}{{{attack2note|}}}{{{attack3note|}}}{{{attack4note|}}}{{{attack5note|}}}|{{#vardefine:note|1}}|{{#vardefine:note|0}}}}<!-- | |||
--> | --------------------------------------------------------------------------------------------------------------------> | ||
{{ | {{!}}'''{{{attack1|Attack 1}}}''' | ||
{{!}}{{ucfirst:{{{attack1target|Any}}}}} | |||
{{ | {{!}}{{#if:{{{attack1afflictions|}}}{{{attack1explosionafflictions|}}}|{{AfflictionParser|afflictions={{{attack1afflictions|}}}|explosionafflictions={{{attack1explosionafflictions|}}}|explosionrange={{{attack1explosionrange|}}}|projectiles={{{attack1projectiles|}}}|nomargin=yes}}}}<!-- | ||
--> | -->{{#ifeq:{{#var:context}}|1| | ||
{{#if:{{{ | {{!}}{{!}} {{ucfirst:{{{attack1context|}}}}} | ||
{{!}}- | |}}<!-- | ||
-->{{#ifeq:{{#var:penetration}}|1| | |||
{{!}}{{!}} {{{attack1penetration|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:inside}}|1| | |||
{{!}}{{!}} {{#if:{{{attack1stuninside|}}}|<span style="white-space:nowrap;">{{hl|Stun}} {{{attack1stuninside|}}}s</span>|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:explosionrange}}|1| | |||
{{!}}{{!}} {{#if:{{{attack1explosionrange|}}}|{{{attack1explosionrange|}}}m|}}{{#if:{{{attack1explosionrange2|}}}|<br>{{{attack1explosionrange2}}}m|}}<!--this is for when there are 2 diff explo ranges, eg black moloch--> | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:structuredamage}}|1| | |||
{{!}}{{!}} {{{attack1structuredamage|}}}{{#if:{{{attack1explosionstructuredamage|}}}| (Direct hit)<br>{{{attack1explosionstructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:itemdamage}}|1| | |||
{{!}}{{!}} {{{attack1itemdamage|}}}{{#if:{{{attack1explosionitemdamage|}}}| (Direct hit)<br>{{{attack1explosionitemdamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:duration}}|1| | |||
{{!}}{{!}} {{{attack1duration|}}}s | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:cooldown}}|1| | |||
{{!}}{{!}} {{{attack1cooldown|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:force}}|1| | |||
{{!}}{{!}} {{{attack1force|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:note}}|1| | |||
{{!}}{{!}} {{{attack1note|}}} | |||
|}}<!-- | |||
-->}}<!-- | |||
-------------------------------------------------------------------------------------------------------------------- | |||
-->{{#if:{{{attack2|}}}| | |||
<tr/> | |||
{{!}}'''{{{attack2|Attack 2}}}''' | {{!}}'''{{{attack2|Attack 2}}}''' | ||
{{!}}{{ | {{!}}{{ucfirst:{{{attack2target|Any}}}}} | ||
{{!}}{{#if:{{{attack2afflictions|}}}{{{attack2explosionafflictions|}}}|{{AfflictionParser|afflictions={{{attack2afflictions|}}}|explosionafflictions={{{attack2explosionafflictions|}}}|explosionrange={{{attack2explosionrange|}}}|projectiles={{{attack2projectiles|}}}|nomargin=yes}}}}<!-- | |||
{{ | |||
-->{{#ifeq:{{#var:context}}|1| | |||
{{!}}{{!}} {{ucfirst:{{{attack2context|}}}}} | |||
|}}<!-- | |||
{{# | |||
{{ | -->{{#ifeq:{{#var:penetration}}|1| | ||
{{ | {{!}}{{!}} {{{attack2penetration|}}} | ||
|}}<!-- | |||
{{# | |||
}}<!-- | |||
--> | -->{{#ifeq:{{#var:inside}}|1| | ||
{{#if:{{{ | {{!}}{{!}} {{#if:{{{attack2stuninside|}}}|<span style="white-space:nowrap;">{{hl|Stun}} {{{attack2stuninside|}}}s</span>|}} | ||
{{!}}- | |}}<!-- | ||
-->{{#ifeq:{{#var:explosionrange}}|1| | |||
{{!}}{{!}} {{#if:{{{attack2explosionrange|}}}|{{{attack2explosionrange|}}}m|}}{{#if:{{{attack2explosionrange2|}}}|<br>{{{attack2explosionrange2}}}m|}}<!--this is for when there are 2 diff explo ranges, eg black moloch--> | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:structuredamage}}|1| | |||
{{!}}{{!}} {{{attack2structuredamage|}}}{{#if:{{{attack2explosionstructuredamage|}}}| (Direct hit)<br>{{{attack2explosionstructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:itemdamage}}|1| | |||
{{!}}{{!}} {{{attack2itemdamage|}}}{{#if:{{{attack2explosionitemdamage|}}}| (Direct hit)<br>{{{attack2explosionitemdamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:duration}}|1| | |||
{{!}}{{!}} {{{attack2duration|}}}s | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:cooldown}}|1| | |||
{{!}}{{!}} {{{attack2cooldown|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:force}}|1| | |||
{{!}}{{!}} {{{attack2force|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:note}}|1| | |||
{{!}}{{!}} {{{attack2note|}}} | |||
|}}<!-- | |||
-->}}<!-- | |||
-------------------------------------------------------------------------------------------------------------------- | |||
-->{{#if:{{{attack3|}}}| | |||
<tr/> | |||
{{!}}'''{{{attack3|Attack 3}}}''' | {{!}}'''{{{attack3|Attack 3}}}''' | ||
{{!}}{{ | {{!}}{{ucfirst:{{{attack3target|Any}}}}} | ||
{{!}}{{#if:{{{attack3afflictions|}}}{{{attack3explosionafflictions|}}}|{{AfflictionParser|afflictions={{{attack3afflictions|}}}|explosionafflictions={{{attack3explosionafflictions|}}}|explosionrange={{{attack3explosionrange|}}}|projectiles={{{attack3projectiles|}}}|nomargin=yes}}}}<!-- | |||
{{ | |||
-->{{#ifeq:{{#var:context}}|1| | |||
{{!}}{{!}} {{ucfirst:{{{attack3context|}}}}} | |||
|}}<!-- | |||
{{# | -->{{#ifeq:{{#var:penetration}}|1| | ||
{{ | {{!}}{{!}} {{{attack3penetration|}}} | ||
|}}<!-- | |||
{{# | |||
}}<!-- | |||
--> | -->{{#ifeq:{{#var:inside}}|1| | ||
{{#if:{{{ | {{!}}{{!}} {{#if:{{{attack3stuninside|}}}|<span style="white-space:nowrap;">{{hl|Stun}} {{{attack3stuninside|}}}s</span>|}} | ||
{{!}}- | |}}<!-- | ||
-->{{#ifeq:{{#var:explosionrange}}|1| | |||
{{!}}{{!}} {{#if:{{{attack3explosionrange|}}}|{{{attack3explosionrange|}}}m|}}{{#if:{{{attack3explosionrange2|}}}|<br>{{{attack3explosionrange2}}}m|}}<!--this is for when there are 2 diff explo ranges, eg black moloch--> | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:structuredamage}}|1| | |||
{{!}}{{!}} {{{attack3structuredamage|}}}{{#if:{{{attack3explosionstructuredamage|}}}| (Direct hit)<br>{{{attack3explosionstructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:itemdamage}}|1| | |||
{{!}}{{!}} {{{attack3itemdamage|}}}{{#if:{{{attack3explosionitemdamage|}}}| (Direct hit)<br>{{{attack3explosionitemdamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:duration}}|1| | |||
{{!}}{{!}} {{{attack3duration|}}}s | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:cooldown}}|1| | |||
{{!}}{{!}} {{{attack3cooldown|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:force}}|1| | |||
{{!}}{{!}} {{{attack3force|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:note}}|1| | |||
{{!}}{{!}} {{{attack3note|}}} | |||
|}}<!-- | |||
-->}}<!-- | |||
-------------------------------------------------------------------------------------------------------------------- | |||
-->{{#if:{{{attack4|}}}| | |||
<tr/> | |||
{{!}}'''{{{attack4|Attack 4}}}''' | {{!}}'''{{{attack4|Attack 4}}}''' | ||
{{!}}{{{attack4target|Any}}} | {{!}}{{ucfirst:{{{attack4target|Any}}}}} | ||
{{!}}{{#if:{{{ | {{!}}{{#if:{{{attack4afflictions|}}}{{{attack4explosionafflictions|}}}|{{AfflictionParser|afflictions={{{attack4afflictions|}}}|explosionafflictions={{{attack4explosionafflictions|}}}|explosionrange={{{attack4explosionrange|}}}|projectiles={{{attack4projectiles|}}}|nomargin=yes}}}}<!-- | ||
{{#if:{{{ | |||
{{# | -->{{#ifeq:{{#var:context}}|1| | ||
{{# | {{!}}{{!}} {{ucfirst:{{{attack4context|}}}}} | ||
{{# | |}}<!-- | ||
{{# | |||
{{#if:{{{ | -->{{#ifeq:{{#var:penetration}}|1| | ||
{{# | {{!}}{{!}} {{{attack4penetration|}}} | ||
{{# | |}}<!-- | ||
{{# | |||
{{# | -->{{#ifeq:{{#var:inside}}|1| | ||
{{# | {{!}}{{!}} {{#if:{{{attack4stuninside|}}}|<span style="white-space:nowrap;">{{hl|Stun}} {{{attack4stuninside|}}}s</span>|}} | ||
{{# | |}}<!-- | ||
{{# | |||
{{# | -->{{#ifeq:{{#var:explosionrange}}|1| | ||
}} | {{!}}{{!}} {{#if:{{{attack4explosionrange|}}}|{{{attack4explosionrange|}}}m|}}{{#if:{{{attack4explosionrange2|}}}|<br>{{{attack4explosionrange2}}}m|}}<!--this is for when there are 2 diff explo ranges, eg black moloch--> | ||
|}}<!-- | |||
-->{{#ifeq:{{#var:structuredamage}}|1| | |||
{{!}}{{!}} {{{attack4structuredamage|}}}{{#if:{{{attack4explosionstructuredamage|}}}| (Direct hit)<br>{{{attack4explosionstructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:itemdamage}}|1| | |||
{{!}}{{!}} {{{attack4itemdamage|}}}{{#if:{{{attack4explosionitemdamage|}}}| (Direct hit)<br>{{{attack4explosionitemdamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:duration}}|1| | |||
{{!}}{{!}} {{{attack4duration|}}}s | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:cooldown}}|1| | |||
{{!}}{{!}} {{{attack4cooldown|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:force}}|1| | |||
{{!}}{{!}} {{{attack4force|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:note}}|1| | |||
{{!}}{{!}} {{{attack4note|}}} | |||
|}}<!-- | |||
-->}}<!-- | |||
-------------------------------------------------------------------------------------------------------------------- | |||
-->{{#if:{{{attack5|}}}| | |||
<tr/> | |||
{{!}}'''{{{attack5|Attack 5}}}''' | |||
{{!}}{{ucfirst:{{{attack5target|Any}}}}} | |||
{{!}}{{#if:{{{attack5afflictions|}}}{{{attack5explosionafflictions|}}}|{{AfflictionParser|afflictions={{{attack5afflictions|}}}|explosionafflictions={{{attack5explosionafflictions|}}}|explosionrange={{{attack5explosionrange|}}}|projectiles={{{attack5projectiles|}}}|nomargin=yes}}}}<!-- | |||
-->{{#ifeq:{{#var:context}}|1| | |||
{{!}}{{!}} {{ucfirst:{{{attack5context|}}}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:penetration}}|1| | |||
{{!}}{{!}} {{{attack5penetration|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:inside}}|1| | |||
{{!}}{{!}} {{#if:{{{attack5stuninside|}}}|<span style="white-space:nowrap;">{{hl|Stun}} {{{attack5stuninside|}}}s</span>|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:explosionrange}}|1| | |||
{{!}}{{!}} {{#if:{{{attack5explosionrange|}}}|{{{attack5explosionrange|}}}m|}}{{#if:{{{attack5explosionrange2|}}}|<br>{{{attack5explosionrange2}}}m|}}<!--this is for when there are 2 diff explo ranges, eg black moloch--> | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:structuredamage}}|1| | |||
{{!}}{{!}} {{{attack5structuredamage|}}}{{#if:{{{attack5explosionstructuredamage|}}}| (Direct hit)<br>{{{attack5explosionstructuredamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:itemdamage}}|1| | |||
{{!}}{{!}} {{{attack5itemdamage|}}}{{#if:{{{attack5explosionitemdamage|}}}| (Direct hit)<br>{{{attack5explosionitemdamage|}}} (<abbr title="Area of Effect">AoE</abbr>)|}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:duration}}|1| | |||
{{!}}{{!}} {{{attack5duration|}}}s | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:cooldown}}|1| | |||
{{!}}{{!}} {{{attack5cooldown|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:force}}|1| | |||
{{!}}{{!}} {{{attack5force|}}} | |||
|}}<!-- | |||
-->{{#ifeq:{{#var:note}}|1| | |||
{{!}}{{!}} {{{attack5note|}}} | |||
|}}<!-- | |||
-->}}</includeonly> |
Latest revision as of 15:25, 19 December 2023
This is a sub-template of Template:Attacks and is not meant for direct usage.
Template in use
Husked Crawler
Main article: Spineling
Attack | Target type | Afflictions on hit | Context | Armor Penetration | Structure Damage | Duration | Cooldown | Kinetic Force |
---|---|---|---|---|---|---|---|---|
Spike | Any | Any | 20 | 10 | 0.1s | 1 | 0 |
Cyborg Worm
Main article: Cyborg Worm
Attack | Target type | Afflictions on hit | Context | Area of Effect | Structure Damage | Item Damage | Cooldown | Kinetic Force | Notes |
---|---|---|---|---|---|---|---|---|---|
Bite | Character | Any | 0 | 5 | 0 | ||||
Eye | Any | Any | 0.5m | 25 | 25 | 5 | 1 | Spawns 6 projectiles in a 5° cone. | |
Left Turret | Any | Any | 0.25m | 200 (Direct hit) 100 (AoE) |
100 (Direct hit) 200 (AoE) |
3 | 0 | Bolt lasts for 5 seconds before exploding. | |
Right Turret | Any | Any | 0.25m | 200 (Direct hit) 100 (AoE) |
100 | 3 | 0 | Bolt lasts for 5 seconds before exploding. | |
Front Turret | Any | Any | 0.25m | 200 (Direct hit) 100 (AoE) |
100 (Direct hit) 200 (AoE) |
3 | 0 | Bolt lasts for 5 seconds before exploding. |
Latcher
Main article: Latcher
Attack | Target type | Afflictions on hit | Context | Armor Penetration | Afflictions Inside | Area of Effect | Structure Damage | Item Damage | Duration | Cooldown | Kinetic Force | Notes |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Spike Attack | Structure | Any | 30 | 1s | 60 | 0 | Will only happen if the Latcher is below 75% HP | |||||
Tongue | Structure | Water | 10 | 1s | 15 | 0 | The tongue will snap after 14 seconds if left completely alone. | |||||
Structure Bite | Structure | Any | 30 | Stun 4.5s | 5m 5.5m |
100 (Direct hit) 350 (AoE) |
100 | 0.25s | 30 | 300 | Will only happen if the Latcher is below 90% HP | |
Character Bite | Character | Any | 0 | 1s | 1 | 0 | ||||||
Character Tongue Attack | Character | Blunt Force Trauma (20)* Stun (5)* |
Water | 10 | 1s | 6 | 0 |
Husked Crawler
Main article: Husked Crawler
Attack | Target type | Afflictions on hit | Context | Structure Damage | Item Damage | Duration | Cooldown | Kinetic Force | Notes |
---|---|---|---|---|---|---|---|---|---|
Jaw | Character | Bite Wounds (3)* Husk Infection (2)* (50% chance) Bleeding (10)* (50% chance) Stun (0.1)* (50% chance) |
Ground | 0 | 0 | 0.25s | 1 | 50 | Heals the Husked Crawler of any Damage (all) by 2 per hit. |
Jump Attack | Character | Ground | 0 | 0 | 0.5s | 5 | 20 | ||
Water Attack | Character | Water | 0 | 0 | 0.5s | 3 | 20 | Heals the Husked Crawler of any Damage (all) by 5 per hit. | |
Structure Attack | Structure | Stun (0.3)* |
Any | 35 | 10 | 0.5s | 20 |
The above documentation is transcluded from Template:Attacks/row/doc. (edit | history)