Template:Attacks: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
(doc)
Line 1: Line 1:
<includeonly>{| class="responsive-table" style="min-width:31%;max-width:69%;"
<noinclude>{{doc}}</noinclude><includeonly>{| class="responsive-table" style="min-width:31%;max-width:69%;"
!Attack!!Target type!!width="21%"|Afflictions on hit{{#cargo_query:
!Attack!!Target type!!width="21%"|Afflictions on hit{{#cargo_query:
tables = Creatures
tables = Creatures
Line 31: Line 31:
}}
}}
|}
|}
</includeonly><noinclude>This template is used on creatures pages in the Attacks section, to display a table listing their attacks. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See [[Template:Creatures infobox]] for details.
</includeonly>
 
By default, it uses the PAGENAME as the creature's name. If it is ever required, you can specify a different name in the first parameter, if using it on a different page: <code><nowiki>{{Attacks|Watcher}}</nowiki></code>.[[Category:Cargo Querying Templates]][[Category:Templates]]</noinclude>

Revision as of 17:41, 31 March 2023

Documentation

This template is used on Creatures pages in the Attacks section, to display a table listing their attacks. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See Template:Creatures infobox for details.


By default, it uses the PAGENAME as the creature's name. If it is ever required, you can specify a different name in the first parameter, if using it on a different page: {{Attacks|Watcher}}.

Sub Templates

Template in use

Cyborg Worm

Main article: Cyborg Worm


Attack Target type Afflictions on hitContextArea of EffectStructure DamageItem DamageCooldownKinetic ForceNotes
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 hitContextArmor PenetrationAfflictions InsideArea of EffectStructure DamageItem DamageDurationCooldownKinetic ForceNotes
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 Water 10 1s 6 0


Husked Crawler

Main article: Husked Crawler


Attack Target type Afflictions on hitContextStructure DamageItem DamageDurationCooldownKinetic ForceNotes
Jaw Character 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 Any 35 10 0.5s 20