Ad placeholder

Template:Weapon action page: Difference between revisions

Jump to navigation Jump to search
Fixed name generation
mNo edit summary
(Fixed name generation)
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{
<includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}{{#switch: {{{this is an example|}}}
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{
#lvardef: image | {{{image | {{#replace:{{#replace:{{#replace:{{#replace:{{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }}|:|}}|/|}}|(|}}|)|}}.webp }}}
}}{{
#lvardef: icon | {{{icon | {{#replace:{{#replace:{{#replace:{{#replace:{{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }}|:|}}|/|}}|(|}}|)|}} Icon.webp }}}
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#lvar:image}}
   | image = {{#lvar:controllericon}}
   | description = {{{seo description|{{{description|}}}}}}
   | description = {{{seo description|{{{description|}}}}}}
   }}
   }}
}}
}}
__NOTOC__
__NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{#lvar:image}} | [[File:{{#lvar:image}}|300px|right]] }}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
{{{summary|'''{{#lvar:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
{{{summary|'''{{{name|{{#titleparts: {{PAGENAME}} }} }}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | textLastDelim = <nowiki>, or </nowiki> }} in their main hand.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | textLastDelim = <nowiki>, or </nowiki> }} in their main hand.
Line 21: Line 15:
<h2>Description</h2>
<h2>Description</h2>


{{{description}}} {{#if: {{{warning|}}} |
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
<p>{{Colour|white|{{{warning}}}}}</p> }}
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
<p>{{Colour|white|{{{warning}}}}}</p>  
 
}}


<h2>Properties</h2>
<h2>Properties</h2>
Line 63: Line 64:


</div>  
</div>  
{{#if: {{{condition|}}} |
{{#if: {{{variants|}}} |
== Variants ==
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
 
}}{{#if: {{{condition|}}} |


== Condition: {{{condition}}} ==
== Condition: {{{condition}}} ==
Line 105: Line 113:


Granted by feats:
Granted by feats:
{{#invoke: ParseList | main | {{{granted by feats}}} | type = htmlList| useTemplate = SAI/fixedSmall }}
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
   }}{{#cargo_query:
   }}{{#cargo_query:
tables=weapons
tables=weapons
Line 112: Line 120:
|order by=weapons._pageName
|order by=weapons._pageName
|more results text=
|more results text=
|intro=Granted by the weapons:<br>
|intro=Granted by the weapons:<ul style="list-style: none;">
|outre=</ul>
|default=
|default=
|format=template
|format=template
Line 121: Line 130:
Used by creatures:
Used by creatures:
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
  }}{{#if: {{{variant of|}}} | {{blank}}
 
This action is a variation of:<br>
{{SAI|{{{variant of}}}|w=40}}
   }}{{#if:{{{other ways to learn|}}} | {{blank}}
   }}{{#if:{{{other ways to learn|}}} | {{blank}}
Other ways to learn:
Other ways to learn:
Line 136: Line 149:
</div>
</div>


}} {{#switch: {{{this is an example|}}}
}} {{#if: {{{bugs|}}} |
| yes =
 
| #default = {{#if: {{{cost|}}} | | [[Category:Free actions]]}}
<h2> Bugs </h2>
[[Category:Weapon actions]] {{#cargo_store: _table = weapon_actions
 
| name = {{#lvar:name}}
<div class="bg3wiki-tooltip-box">
| image = {{#lvar:image}}
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
}} {{Main namespace only|{{#if: {{{cost|}}} | | [[Category:Free actions]]}}
[[Category:Weapon actions]] {{#cargo_store:  
_table = spells
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| icon = {{#lvar:icon}}
| action_type = {{{cost|}}}
| is_spell = no
| attack_roll = {{{attack roll|no}}}
| is_weapon_action = yes
| duration = {{{duration|0}}}
| aoe = {{{aoe|}}}
| range_ft = {{{range ft|0}}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| range_m = {{{range m|0}}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| condition_name = {{{condition|}}}
| description = {{{description|}}}
| condition_duration = {{{condition duration|0}}}
| extra_description = {{{extra description|}}}
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
| save = {{{save|}}}
| damage = {{{damage|}}}
| damage_type = {{{damage type|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Examples follow.
{{documentation}}{{#cargo_attach:
 
_table = spells
= Piercing Strike =
 
{{WeaponActionPage
| name = Piercing Strike
| cost = action
| weapon types = Daggers, Pikes, Rapiers, Shortswords, Tridents
| description = Stab an enemy and possibly inflict [[Gaping Wounds (Condition)|Gaping Wounds]]. [[List_of_Creature_Types#Undead|Undead]] and [[List_of_Creature_Types#Construct|Constructs]] can't suffer '''Gaping Wounds'''.
| damage = weapon
| range = weapon
| attack roll = melee weapon
| recharge = Short Rest
| condition = Gaping Wounds
| condition save = CON
| condition duration = 2
| this is an example = yes
}}
 
{{clear}}
 
= Gargantuan Cleave =
 
{{WeaponActionPage
| name = Gargantuan Cleave
| weapons = Very Heavy Greataxe
| cost = action
| description = Swing your weapon with all your might. You can attack multiple targets, but become Off Balanced.
| damage = weapon
| extra damage = 1d6
| extra damage type = Slashing
| aoe = cone
| aoe m = 1.5
| aoe ft = 5
| attack roll = yes
| recharge = Short Rest
| this is an example = yes
}}
 
{{clear}}
 
= Pommel Strike =
 
{{WeaponActionPage
| name = Pommel Strike
| cost = bonus
| weapon types = Greatswords, Longswords
| description = Make a non-lethal attack against an enemy and possibly [[Dazed (Condition)|daze]] them.
| damage = 1d4
| damage type = Bludgeoning
| damage modifier = Strength
| attack roll = yes
| range = melee
| condition = Dazed
| condition save = CON
| condition duration = 2
| recharge = Short Rest
| this is an example = yes
}}
 
{{clear}}
 
= Brace (Melee) =
 
{{WeaponActionPage
| name = Brace (Melee)
| cost = movement:20
| weapon types = Glaives, Pikes
| description = Spend {{distance|ft=20}} of your [[Movement Speed|movement]]. For the rest of your turn, roll melee damage twice and use the highest result.
| duration = 1
| recharge = Short Rest
| this is an example = yes
}}
 
{{clear}}
 
= Tenacity =
 
{{WeaponActionPage
| name = Tenacity
| cost = reaction
| weapon types = Greatclubs, Maces, Mauls, Morningstars
| description = When you miss an attack, deal {{DamageType|Bludgeoning}} damage equal to your [[Ability Score Modifier|Strength Modifier]] (or a minimum of 1).
| this is an example = yes
}}
 
{{clear}}
 
= Zephyr Flash =
{{WeaponActionPage
|name=Zephyr Flash
|cost=action
|hit cost=bonus
|description=Rush forward, creating an air vortex that blasts foes and possibly inflicts {{Cond|Bleeding}}.
|damage=6d8
|save effect = half
|on save=Targets still take half damage.
|warning=Doesn't provoke Opportunity Attacks.
|weapons=Nyrulna
|damage type=Thunder
|recharge=Short Rest
|condition=Bleeding
|condition save=DEX
|condition duration=3
|range m=12
|range ft=40
|save = Dexterity
|save dc = 15
|this is an example = yes
}}
 
{{clear}}
 
= Profane Scourge =
 
{{WeaponActionPage
| name = Profane Scourge
| cost = action, bonus
| weapons = The Undead Bane
| description = Strike with subjugating fury, adding your [[proficiency bonus]] to the damage roll. If you hit a [[Fiend]] or [[Undead]] creature, deal an additional {{DamageText|2d6|Slashing|drs=t}} damage and possibly {{cond|Bane}} it.
| damage = weapon
| damage type = Slashing
| damage modifier =
| extra damage = prof
| extra damage type = Slashing
| extra damage 2 = 2d6
| extra damage type 2 = Slashing
| extra damage con 2 = yes
| attack roll = yes
| range = weapon
| recharge = Short Rest
| condition = Bane
| condition save = STR
| condition duration = 3
|this is an example = yes
}}
 
{{clear}}
 
{{WeaponActionPage
| summary = '''Menacing Attack (Melee)''' is a {{Class|Battle Master}} Action. This combat manoeuvre allows the Fighter to deal damage to enemies with Melee Weapons and possibly Frighten them.
| description = Spend a superiority die to deal {{C|Weapon Damage + 1d8 Physical damage}} and possibly {{Cond|Frightened|Frighten}} the target.
| image = Menacing Attack Melee.webp
| icon = Menacing Attack Melee Icon.webp
| cost = action
| hit cost = supdie
| concentration =
| damage = weapon
| extra damage = superiority die
| attack roll = yes
| on miss = Does not spend {{R|supdie}}.
| condition = Frightened
| condition duration = 1
| condition save = WIS
| class learns at level 3 = Battle Master
}}
 
{{clear}}
----
 
[[Category:Page generating templates]]
 
{{#cargo_declare: _table = weapon_actions
| name = String (unique, mandatory)
| image = File
| icon = File
| action_type = String
| weapon_types = List (,) of String
| weapons = List (,) of Page
| description = Wikitext
| damage = String
| damage_type = String
| damage_modifier = String
| attack_roll = Boolean
| duration = Integer
<!-- "range" is an SQL keyword, so we use "range_type" -->
| range_type = String
| range_ft = Float
| range_m = Float
<!-- "condition" is an SQL keyword, so we use "condition_name" -->
| condition_name = String
| condition_save = String
| condition_duration = Integer
| recharge = String
}}
}}
</noinclude>
</noinclude>

Navigation menu