Difference between revisions of "Template:CreatureAction"

From Legends of Hyrule
Jump to navigationJump to search
(rest)
(Howl)
Line 4: Line 4:
  
 
{{#if:{{{attack|}}}|''{{{attack|}}} Attack:''}} {{#if:{{{hit|}}}|{{{hit|}}} to hit,}} {{#if:{{{reach|}}}|reach {{{reach|}}} ft.{{#if:{{{range|}}}|&nbsp;or|,}}}} {{#if:{{{range|}}}|range {{{range|}}} ft.,}} {{#if:{{{attack|}}}|{{{target|one target}}}.<br>''Hit:'' }} {{#if:{{{dmg|}}}|{{{dmg|}}}}} {{#if:{{{dmgt|}}}|[[{{{dmgt|}}} damage]]}}{{#if:{{{altdmg|}}}|&nbsp;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|}}}
 
{{#if:{{{attack|}}}|''{{{attack|}}} Attack:''}} {{#if:{{{hit|}}}|{{{hit|}}} to hit,}} {{#if:{{{reach|}}}|reach {{{reach|}}} ft.{{#if:{{{range|}}}|&nbsp;or|,}}}} {{#if:{{{range|}}}|range {{{range|}}} ft.,}} {{#if:{{{attack|}}}|{{{target|one target}}}.<br>''Hit:'' }} {{#if:{{{dmg|}}}|{{{dmg|}}}}} {{#if:{{{dmgt|}}}|[[{{{dmgt|}}} damage]]}}{{#if:{{{altdmg|}}}|&nbsp;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|}}}
 +
 
|Detect=The {{{name|creature}}} makes a {{BL|Wisdom}} ({{BL|Perception}}) check.
 
|Detect=The {{{name|creature}}} makes a {{BL|Wisdom}} ({{BL|Perception}}) check.
 +
 +
|Howl=All non-friendly creatures within {{{variable2|60}}} feet of the {{{name|wolf}}} who can heart it must succeed on a DC {{{variable|13}}} {{BL|Charisma}} {{BL|saving throw|save}} or become {{BL|frightened}} of all hostile {{{names|wolves}} for up to 1 minute. A frightened target can repeat the save at the end of its turns, ending the effect on itself on a success.  Once a creature makes a successful save, it is unaffected by {{{name|wolf}}} howls for 1 minute.
 +
 
|Resist=If the {{{name|creature}}} is subject to an effect that would require it to use an action to end the effect, or require an action to attempt a {{BL|saving throw}}, it takes that action.
 
|Resist=If the {{{name|creature}}} is subject to an effect that would require it to use an action to end the effect, or require an action to attempt a {{BL|saving throw}}, it takes that action.
 +
 
|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}}.
 +
 
|{{{2|}}}}} {{#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>
 
|{{{2|}}}}} {{#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==

Revision as of 10:58, 8 January 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=
}}