Difference between revisions of "Template:CreatureAction"
From Legends of Hyrule
Jump to navigationJump to search (updates) |
m ({{{2|}}}) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">'''''{{{1|Action Name}}}{{#if:{{{cost|}}}{{{costs|}}}| (Costs {{{cost|2}}} Reactions)}}{{#if:{{{day|}}}| ({{{day|3}}}/Day)|}}{{#if:{{{recharge|}}}| ({{#ifeq:{{{recharge}}}|yes|Recharge 5-6|{{{recharge|}}}}})}}{{#if:{{{rest|}}}| ({{#ifeq:{{{rest}}}|yes|Recharges after a {{BL|Rest}}|{{{recharge|}}}}})}}.''''' {{#if:{{{attack|}}}|''{{{attack|}}} Attack:''}} {{#if:{{{hit|}}}|{{{hit|}}} to hit,}} {{#if:{{{reach|}}}|reach {{{reach|}}} ft.{{#if:{{{range|}}}| or|,}}}} {{#if:{{{range|}}}|range {{{range|}}} ft.,}} {{#if:{{{attack|}}}|{{{target|one target}}}.<br>''Hit:'' }} {{#if:{{{dmg|}}}|{{{dmg|}}}}} {{#if:{{{dmgt|}}}|[[{{{dmgt|}}} damage]]}}{{#if:{{{altdmg|}}}| or {{{altdmg|}}} {{{altdmgt|}}} damage {{{alt|if used with two hands to make a melee attack}}}}}{{#if:{{{attack|}}}|}}{{#if:{{{2dmg|}}}|, plus {{{2dmg|}}} [[{{{2dmgt|}}} damage]]}}{{#if:{{{dmg|}}}|.}} {{#switch: {{{1|}}} | + | <includeonly><span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">'''''{{{1|Action Name}}}{{#if:{{{cost|}}}{{{costs|}}}| (Costs {{{cost|2}}} Reactions)}}{{#if:{{{day|}}}| ({{{day|3}}}/Day)|}}{{#if:{{{recharge|}}}| ({{#ifeq:{{{recharge}}}|yes|Recharge 5-6|{{{recharge|}}}}})}}{{#if:{{{rest|}}}| ({{#ifeq:{{{rest}}}|yes|Recharges after a {{BL|Rest}}|{{{recharge|}}}}})}}.''''' {{#if:{{{attack|}}}|''{{{attack|}}} Attack:''}} {{#if:{{{hit|}}}|{{{hit|}}} to hit,}} {{#if:{{{reach|}}}|reach {{{reach|}}} ft.{{#if:{{{range|}}}| or|,}}}} {{#if:{{{range|}}}|range {{{range|}}} ft.,}} {{#if:{{{attack|}}}|{{{target|one target}}}.<br>''Hit:'' }} {{#if:{{{dmg|}}}|{{{dmg|}}}}} {{#if:{{{dmgt|}}}|[[{{{dmgt|}}} damage]]}}{{#if:{{{altdmg|}}}| or {{{altdmg|}}} {{{altdmgt|}}} damage {{{alt|if used with two hands to make a melee attack}}}}}{{#if:{{{attack|}}}|}}{{#if:{{{2dmg|}}}|, plus {{{2dmg|}}} [[{{{2dmgt|}}} damage]]}}{{#if:{{{dmg|}}}|.}} {{{2|{{#switch: {{{1|}}} |
<!--Actions--> | <!--Actions--> | ||
Line 10: | Line 10: | ||
|Gleaming Resistance=If the {{{name|creature}}} would fail a {{BL|saving throw}}, as a reaction it can repeat the saving throw and use the new result if it is higher. | |Gleaming Resistance=If the {{{name|creature}}} would fail a {{BL|saving throw}}, as a reaction it can repeat the saving throw and use the new result if it is higher. | ||
− | |Opportunity Attack=When a creature moves out of the {{{name|creature}}} reach, as a reaction the {{{name|creature}}} can make one melee attack targeting that creature. | + | |Opportunity Attack=When a creature moves out of the {{{name|creature}}}'s reach, as a reaction the {{{name|creature}}} can make one melee attack targeting that creature. |
Line 28: | Line 28: | ||
|Withdraw=The {{{name|creature}}} moves up to half its speed or rises from being {{BL|prone}}. During this movement it cannot be targeted with attacks made as {{BL|reaction|reactions}}. | |Withdraw=The {{{name|creature}}} moves up to half its speed or rises from being {{BL|prone}}. During this movement it cannot be targeted with attacks made as {{BL|reaction|reactions}}. | ||
− | + | |}}}}} {{#if:{{{nocat|}}}| |{{#if:{{{attack|}}}|[[Category:Creatures with a {{{1}}} attack]]|{{#ifeq:{{{1|}}}|Multiattack|[[Category:Creatures with Multiattack]]|{{#if:{{{reaction|}}}|[[Category:Creatures with the {{{1}}} reaction]]|[[Category:Creatures with the {{{1}}} action]]}}}}}}}}</span></includeonly><noinclude> | |
==Usage== | ==Usage== | ||
For any general action that doesn't follow a standardized attack format, this can be used: | For any general action that doesn't follow a standardized attack format, this can be used: |
Latest revision as of 10:05, 23 July 2022
Usage
For any general action that doesn't follow a standardized attack format, this can be used:
{{CA |Action Name |Description.}}
For any general reaction, this can be used:
{{CA |Action Name |Description. |reaction=yes}}
For an action that follows the normal attack format, this can be used:
{{CA |Action Name, eg. "Bite" |Description, or additional effects beyond damage. Optional. |attack=Melee Weapon |target=Defaults to "one target" |hit=+4 |reach=Defaults to "5", as in "5 ft." |range=20/60 |dmg=7 (3d4) {primary damage inflicted} |dmgt=piercing {type of damage inflicted} |2dmg= {secondary damage} |2dmgt= {secondary damage type} |altdmg= |altdmgt= |alt=Defaults to "if used with two hands to make a melee attack" |nocat= {any text here will prevent the page being categorized by this template} }}
A blank version of the above template is provided here for convenience:
{{CA |Attack Name||attack= |hit= |reach= |range= |dmg= |dmgt= |2dmg= |2dmgt= |altdmg= |altdmgt= |alt= }}