Template:Attacks: Difference between revisions
From Official Barotrauma Wiki
(doc) |
(cargo for Template:AfflictionDisplayTest) |
||
Line 16: | Line 16: | ||
tables = Creatures | tables = Creatures | ||
| fields = name, attack1, attack2, attack3, attack4, attack5, | | fields = name, attack1, attack2, attack3, attack4, attack5, | ||
attack1target, attack1structuredamage, attack1explosionstructuredamage, attack1explosionrange, attack1explosionrange2, attack1cooldown, attack1force, attack1bitewounds, attack1bitewoundschance, attack1bleeding, attack1bleedingchance, attack1lacerations, attack1lacerationschance, attack1stun, attack1stuninside, attack1stunchance, attack1huskinfection, attack1huskinfectionchance, attack1burn, attack1burnchance, attack1watchersgaze, attack1emp, attack1penetration, attack1bluntforcetrauma, attack1note, attack1slowparalysis, attack1slowparalysischance, attack1bloodloss, attack1bloodlosschance, attack1context, attack1duration, attack1itemdamage, attack1gunshotwound, attack1deeptissueinjury, attack1explosiondeeptissueinjury, attack1explosionstun, attack1explosionitemdamage, attack1projectiles, | attack1target, attack1structuredamage, attack1explosionstructuredamage, attack1explosionrange, attack1explosionrange2, attack1cooldown, attack1force, attack1bitewounds, attack1bitewoundschance, attack1bleeding, attack1bleedingchance, attack1lacerations, attack1lacerationschance, attack1stun, attack1stuninside, attack1stunchance, attack1huskinfection, attack1huskinfectionchance, attack1burn, attack1burnchance, attack1watchersgaze, attack1emp, attack1penetration, attack1bluntforcetrauma, attack1note, attack1slowparalysis, attack1slowparalysischance, attack1bloodloss, attack1bloodlosschance, attack1context, attack1duration, attack1itemdamage, attack1gunshotwound, attack1deeptissueinjury, attack1explosiondeeptissueinjury, attack1explosionstun, attack1explosionitemdamage, attack1projectiles, attack1afflictions, | ||
attack2target, attack2structuredamage, attack2explosionstructuredamage, attack2explosionrange, attack2explosionrange2, attack2cooldown, attack2force, attack2bitewounds, attack2bitewoundschance, attack2bleeding, attack2bleedingchance, attack2lacerations, attack2lacerationschance, attack2stun, attack2stuninside, attack2stunchance, attack2huskinfection, attack2huskinfectionchance, attack2burn, attack2burnchance, attack2watchersgaze, attack2emp, attack2penetration, attack2bluntforcetrauma, attack2note, attack2slowparalysis, attack2slowparalysischance, attack2slowparalysis2, attack2slowparalysis2chance, attack2context, attack2duration, attack2itemdamage, attack2gunshotwound, attack2deeptissueinjury, attack2explosiondeeptissueinjury, attack2explosionstun, attack2explosionitemdamage, attack2projectiles, | attack2target, attack2structuredamage, attack2explosionstructuredamage, attack2explosionrange, attack2explosionrange2, attack2cooldown, attack2force, attack2bitewounds, attack2bitewoundschance, attack2bleeding, attack2bleedingchance, attack2lacerations, attack2lacerationschance, attack2stun, attack2stuninside, attack2stunchance, attack2huskinfection, attack2huskinfectionchance, attack2burn, attack2burnchance, attack2watchersgaze, attack2emp, attack2penetration, attack2bluntforcetrauma, attack2note, attack2slowparalysis, attack2slowparalysischance, attack2slowparalysis2, attack2slowparalysis2chance, attack2context, attack2duration, attack2itemdamage, attack2gunshotwound, attack2deeptissueinjury, attack2explosiondeeptissueinjury, attack2explosionstun, attack2explosionitemdamage, attack2projectiles, attack2afflictions, | ||
attack3target, attack3structuredamage, attack3explosionstructuredamage, attack3explosionrange, attack3explosionrange2, attack3cooldown, attack3force, attack3bitewounds, attack3bitewoundschance, attack3bleeding, attack3bleedingchance, attack3lacerations, attack3lacerationschance, attack3stun, attack3stuninside, attack3stunchance, attack3huskinfection, attack3huskinfectionchance, attack3burn, attack3burnchance, attack3watchersgaze, attack3emp, attack3penetration, attack3bluntforcetrauma, attack3note, attack3slowparalysis, attack3slowparalysischance, attack3context, attack3duration, attack3itemdamage, attack3gunshotwound, attack3deeptissueinjury, attack3explosiondeeptissueinjury, attack3explosionstun, attack3explosionitemdamage, attack3projectiles, | attack3target, attack3structuredamage, attack3explosionstructuredamage, attack3explosionrange, attack3explosionrange2, attack3cooldown, attack3force, attack3bitewounds, attack3bitewoundschance, attack3bleeding, attack3bleedingchance, attack3lacerations, attack3lacerationschance, attack3stun, attack3stuninside, attack3stunchance, attack3huskinfection, attack3huskinfectionchance, attack3burn, attack3burnchance, attack3watchersgaze, attack3emp, attack3penetration, attack3bluntforcetrauma, attack3note, attack3slowparalysis, attack3slowparalysischance, attack3context, attack3duration, attack3itemdamage, attack3gunshotwound, attack3deeptissueinjury, attack3explosiondeeptissueinjury, attack3explosionstun, attack3explosionitemdamage, attack3projectiles, attack3afflictions, | ||
attack4target, attack4structuredamage, attack4explosionstructuredamage, attack4explosionrange, attack4explosionrange2, attack4cooldown, attack4force, attack4bitewounds, attack4bitewoundschance, attack4bleeding, attack4bleedingchance, attack4lacerations, attack4lacerationschance, attack4stun, attack4stuninside, attack4stunchance, attack4huskinfection, attack4huskinfectionchance, attack4burn, attack4burnchance, attack4watchersgaze, attack4emp, attack4penetration, attack4bluntforcetrauma, attack4note, attack4slowparalysis, attack4slowparalysischance, attack4context, attack4duration, attack4itemdamage, attack4gunshotwound, attack4deeptissueinjury, attack4explosiondeeptissueinjury, attack4explosionstun, attack4explosionitemdamage, attack4projectiles, | attack4target, attack4structuredamage, attack4explosionstructuredamage, attack4explosionrange, attack4explosionrange2, attack4cooldown, attack4force, attack4bitewounds, attack4bitewoundschance, attack4bleeding, attack4bleedingchance, attack4lacerations, attack4lacerationschance, attack4stun, attack4stuninside, attack4stunchance, attack4huskinfection, attack4huskinfectionchance, attack4burn, attack4burnchance, attack4watchersgaze, attack4emp, attack4penetration, attack4bluntforcetrauma, attack4note, attack4slowparalysis, attack4slowparalysischance, attack4context, attack4duration, attack4itemdamage, attack4gunshotwound, attack4deeptissueinjury, attack4explosiondeeptissueinjury, attack4explosionstun, attack4explosionitemdamage, attack4projectiles, attack4afflictions, | ||
attack5target, attack5structuredamage, attack5explosionstructuredamage, attack5explosionrange, attack5explosionrange2, attack5cooldown, attack5force, attack5bitewounds, attack5bitewoundschance, attack5bleeding, attack5bleedingchance, attack5lacerations, attack5lacerationschance, attack5stun, attack5stuninside, attack5stunchance, attack5huskinfection, attack5huskinfectionchance, attack5burn, attack5burnchance, attack5watchersgaze, attack5emp, attack5penetration, attack5bluntforcetrauma, attack5note, attack5slowparalysis, attack5slowparalysischance, attack5context, attack5duration, attack5itemdamage, attack5gunshotwound, attack5deeptissueinjury, attack5explosiondeeptissueinjury, attack5explosionstun, attack5explosionitemdamage, attack5projectiles, | attack5target, attack5structuredamage, attack5explosionstructuredamage, attack5explosionrange, attack5explosionrange2, attack5cooldown, attack5force, attack5bitewounds, attack5bitewoundschance, attack5bleeding, attack5bleedingchance, attack5lacerations, attack5lacerationschance, attack5stun, attack5stuninside, attack5stunchance, attack5huskinfection, attack5huskinfectionchance, attack5burn, attack5burnchance, attack5watchersgaze, attack5emp, attack5penetration, attack5bluntforcetrauma, attack5note, attack5slowparalysis, attack5slowparalysischance, attack5context, attack5duration, attack5itemdamage, attack5gunshotwound, attack5deeptissueinjury, attack5explosiondeeptissueinjury, attack5explosionstun, attack5explosionitemdamage, attack5projectiles, attack5afflictions, | ||
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | | where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | ||
| format = template | | format = template |
Revision as of 19:58, 9 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 | Deep Tissue Injury (250)* Stun (15)* |
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 | Deep Tissue Injury (250)* Stun (15)* |
Any | 0.25m | 200 (Direct hit) 100 (AoE) |
100 | 3 | 0 | Bolt lasts for 5 seconds before exploding. |
Front Turret | Any | Deep Tissue Injury (250)* Stun (15)* |
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)