Template:Weapon action page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added condition dc for fixed DC support)
(Updated for image/icon support)
Line 2: Line 2:
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{
}}{{
#lvardef: icon | {{{icon | {{#lvar:name}} Icon.png }}}
#lvardef: image | {{{image | {{#lvar:name}}.webp }}}
}}{{
#lvardef: icon | {{{icon | {{#lvar:name}} Icon.webp }}}
}}{{#switch: {{{this is an example|}}}
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#lvar:icon}}
   | image = {{#lvar:image}}
   | description = {{{seo description|{{{description|}}}}}}
   | description = {{{seo description|{{{description|}}}}}}
   }}
   }}
}}
}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{#lvar:icon}} | [[File:{{#lvar:icon}}|300px|right]] }}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{#lvar:image}} | [[File:{{#lvar:image}}|300px|right]] }}
{{{summary|'''{{#lvar:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
{{{summary|'''{{#lvar:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
Line 181: Line 183:
{{#cargo_declare: _table = weapon_actions
{{#cargo_declare: _table = weapon_actions
| name = String (unique, mandatory)
| name = String (unique, mandatory)
| image = File
| icon = File
| icon = File
| action_type = String
| action_type = String
Line 205: Line 208:
| #default = {{#cargo_store: _table = weapon_actions
| #default = {{#cargo_store: _table = weapon_actions
| name = {{#lvar:name}}
| name = {{#lvar:name}}
| image = {{#lvar:image}}
| icon = {{#lvar:icon}}
| icon = {{#lvar:icon}}
| action_type = {{{action type|action}}}
| action_type = {{{action type|action}}}

Revision as of 08:59, 5 November 2023

Examples follow.

Piercing Strike

Piercing Strike.webp

Piercing Strike is a weapon action available to characters proficient in and wielding a dagger, pike, rapier, shortsword, and trident in their main hand.

Description

Stab an enemy and possibly inflict Gaping Wounds. Undead and Constructs can't suffer Gaping Wounds.

Properties

Cost:
Action
Damage:
Normal weapon damage
Details:
Attack roll
 Range: Normal weapon range
Recharge: Short rest

Conditions

Gaping Wounds Gaping Wounds

Duration: 2 turns

Constitution saving throw

  • Attacks against this creature deal an additional 2Damage TypesPiercing damage.
  • Removed by healing.

Gargantuan Cleave

Gargantuan Cleave.webp

Gargantuan Cleave is a weapon action granted by Very Heavy Greataxe.

Description

Swing your weapon with all your might. You can attack multiple targets, but become Off Balanced.

Properties

Cost:
Action
Damage:
Normal weapon damage
Extra damage:
D6 Slashing.png 1d6 (1~6) Damage TypesSlashing
Details:
Attack roll
AoE: 1.5 m / 5 ft (Cone)
Recharge: Short rest

Pommel Strike

Pommel Strike.webp

Pommel Strike is a weapon action available to characters proficient in and wielding a greatsword, and longsword in their main hand.

Description

Make a non-lethal attack against an enemy and possibly daze them.

Properties

Cost:
Bonus action
Damage:
Details:
Attack roll
 Melee: 1.5 m / 5  ft
Recharge: Short rest

Conditions

Dazed Dazed

Duration: 2 turns

Constitution saving throw

Brace (Melee)

Brace (Melee) is a weapon action available to characters proficient in and wielding a glaive, and pike in their main hand.

Description

Spend 6 m / 20 ft (ERROR: Distance not in metric!) of your movement. For the rest of your turn, roll melee damage twice and use the highest result.

Properties

Cost:
 6 m / 20 ft movement
Details:
Duration: 1 turn
Recharge: Short rest

Tenacity

Tenacity.webp

Tenacity is a weapon action available to characters proficient in and wielding a greatclub, mace, maul, and morningstar in their main hand.

Description

When you miss an attack, deal Damage TypesBludgeoning damage equal to your Strength Modifier (or a minimum of 1).

Properties

Cost:
Reaction

This template defines the table "weapon_actions". This table has not been created yet.