Template:Attacks: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
(removing old affliction stuff) |
||
(17 intermediate revisions by 3 users not shown) | |||
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 | ||
| fields = name, | | fields = name, | ||
attack1penetration, attack1stuninside, attack1structuredamage, attack1explosionrange, attack1cooldown, attack1force, attack1stuninside, attack1note, | attack1penetration, attack1stuninside, attack1structuredamage, attack1explosionrange, attack1cooldown, attack1force, attack1stuninside, attack1note, attack1context, attack1duration, attack1itemdamage, | ||
attack2penetration, attack2stuninside, attack2structuredamage, attack2explosionrange, attack2cooldown, attack2force, attack2stuninside, attack2note, | attack2penetration, attack2stuninside, attack2structuredamage, attack2explosionrange, attack2cooldown, attack2force, attack2stuninside, attack2note, attack2context, attack2duration, attack2itemdamage, | ||
attack3penetration, attack3stuninside, attack3structuredamage, attack3explosionrange, attack3cooldown, attack3force, attack3stuninside, attack3note, | attack3penetration, attack3stuninside, attack3structuredamage, attack3explosionrange, attack3cooldown, attack3force, attack3stuninside, attack3note, attack3context, attack3duration, attack3itemdamage, | ||
attack4penetration, attack4stuninside, attack4structuredamage, attack4explosionrange, attack4cooldown, attack4force, attack4stuninside, attack4note, | attack4penetration, attack4stuninside, attack4structuredamage, attack4explosionrange, attack4cooldown, attack4force, attack4stuninside, attack4note, attack4context, attack4duration, attack4itemdamage, | ||
attack5penetration, attack5stuninside, attack5structuredamage, attack5explosionrange, attack5cooldown, attack5force, attack5stuninside, attack5note | attack5penetration, attack5stuninside, attack5structuredamage, attack5explosionrange, attack5cooldown, attack5force, attack5stuninside, attack5note, attack5context, attack5duration, attack5itemdamage | ||
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | | where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | ||
| format = template | | format = template | ||
Line 15: | Line 15: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables = Creatures | tables = Creatures | ||
| fields = name, attack1, | | fields = name, | ||
attack1target, attack1structuredamage, | attack1, | ||
attack1target, attack1structuredamage, attack1explosionstructuredamage, attack1explosionrange, attack1explosionrange2, attack1cooldown, attack1force, attack1stuninside, attack1emp, attack1penetration, attack1note, attack1context, attack1duration, attack1itemdamage, attack1explosionitemdamage, attack1projectiles, attack1afflictions, attack1explosionafflictions, | |||
attack2target, attack2structuredamage, | attack2, | ||
attack2target, attack2structuredamage, attack2explosionstructuredamage, attack2explosionrange, attack2explosionrange2, attack2cooldown, attack2force, attack2stuninside, attack2emp, attack2penetration, attack2note, attack2context, attack2duration, attack2itemdamage, attack2explosionitemdamage, attack2projectiles, attack2afflictions, attack2explosionafflictions, | |||
attack3target, attack3structuredamage, | attack3, | ||
attack3target, attack3structuredamage, attack3explosionstructuredamage, attack3explosionrange, attack3explosionrange2, attack3cooldown, attack3force, attack3stuninside, attack3emp, attack3penetration, attack3note, attack3context, attack3duration, attack3itemdamage, attack3explosionitemdamage, attack3projectiles, attack3afflictions, attack3explosionafflictions, | |||
attack4target, attack4structuredamage, | attack4, | ||
attack4target, attack4structuredamage, attack4explosionstructuredamage, attack4explosionrange, attack4explosionrange2, attack4cooldown, attack4force, attack4stuninside, attack4emp, attack4penetration, attack4note, attack4context, attack4duration, attack4itemdamage, attack4explosionitemdamage, attack4projectiles, attack4afflictions, attack4explosionafflictions, | |||
attack5target, attack5structuredamage, | attack5, | ||
attack5target, attack5structuredamage, attack5explosionstructuredamage, attack5explosionrange, attack5explosionrange2, attack5cooldown, attack5force, attack5stuninside, attack5emp, attack5penetration, attack5note, attack5context, attack5duration, attack5itemdamage, attack5explosionitemdamage, attack5projectiles, attack5afflictions, attack5explosionafflictions, | |||
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | | where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | ||
| format = template | | format = template | ||
Line 31: | Line 36: | ||
}} | }} | ||
|} | |} | ||
</includeonly | </includeonly> | ||
Latest revision as of 23:49, 24 May 2023
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 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/doc. (edit | history)