Difference between revisions of "Template:CreatureAction"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "<includeonly>'''''{{{1|Action Name}}}.''''' {{#if:{{{3|}}}|''{{{3|}}}:''}} {{{2|}}} {{#if:{{{4|}}}| |[[Category:Creatures with the {{{1}}} action]]</includeonly><noinclude> ==...")
 
m ({{{2|}}})
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>'''''{{{1|Action Name}}}.''''' {{#if:{{{3|}}}|''{{{3|}}}:''}} {{{2|}}} {{#if:{{{4|}}}| |[[Category:Creatures with the {{{1}}} action]]</includeonly><noinclude>
+
<includeonly><span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">'''''{{{1|Action Name}}}{{#if:{{{cost|}}}{{{costs|}}}|&nbsp;(Costs {{{cost|2}}} Reactions)}}{{#if:{{{day|}}}|&nbsp;({{{day|3}}}/Day)|}}{{#if:{{{recharge|}}}|&nbsp;({{#ifeq:{{{recharge}}}|yes|Recharge 5-6|{{{recharge|}}}}})}}{{#if:{{{rest|}}}|&nbsp;({{#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|}}}|&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|}}}|.}} {{{2|{{#switch: {{{1|}}}
 +
 
 +
<!--Actions-->
 +
 
 +
|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.
 +
 
 +
 
 +
<!--Reactions-->
 +
 
 +
|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}}}'s reach, as a reaction the {{{name|creature}}} can make one melee attack targeting that creature.
 +
 
 +
 
 +
<!--Boss Reactions-->
 +
|Boss Resistance=When the {{{name|creature}}} would fail a {{BL|saving throw}}, it can choose to lose {{{variable|20}}} heart points and succeed on the save instead.
 +
 
 +
|Cleave=Immediately after the {{{name|creature}}} hits a creature with a melee attack, it can move a distance up to half its speed and make another melee attack against a different target.
 +
 
 +
 
 +
<!--Obsolete-->
 +
|Detect=The {{{name|creature}}} makes a {{BL|Wisdom}} ({{BL|Perception}}) check.
 +
 
 +
|Dive Away=If the {{{name|creature}}} would be hit by an {{BL|opportunity attack}}, this reaction forces that attack to miss instead.
 +
 
 +
|Resist=The the {{{name|creature}}} makes a {{BL|saving throw}} or {{BL|ability check}} against any and all effects which afford a roll to end them, such as a {{BL|Combat#Grappling|grapple}} or the {{BL|Paralyze (spell)|''paralyze''}} spell.
 +
 
 +
|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==
<pre>{{CA|Action Name|Here goes the full description of the action.|If the action is a "Ranged Weapon Attack" or "Melee Spell Attack," etc, that information goes here.}}</pre>
+
For any general action that doesn't follow a standardized attack format, this can be used:
 +
<pre>{{CA
 +
|Action Name
 +
|Description.}}</pre>
 +
 
 +
For any general reaction, this can be used:
 +
<pre>{{CA
 +
|Action Name
 +
|Description.
 +
|reaction=yes}}</pre>
 +
 
 +
For an action that follows the normal attack format, this can be used:
 +
<pre>{{CA
 +
|Action Name, eg. "Bite"
 +
|Description, or additional effects beyond damage. Optional.
  
<pre>{{CA|Action Name|Description.|Optional Type}}</pre>
+
|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}
 +
}}</pre>
  
This template automatically categorizes the creature based on the name of its action.  If this is undesired, add another pipe at the end and insert a fifth area of text.  It doesn't matter what the text is, but so long as that extra section of text is there, the page will not be categorized by this template.
+
A blank version of the above template is provided here for convenience:
 +
<pre>{{CA
 +
|Attack Name||attack=
 +
|hit=
 +
|reach=
 +
|range=
 +
|dmg=
 +
|dmgt=
 +
|2dmg=
 +
|2dmgt=
 +
|altdmg=
 +
|altdmgt=
 +
|alt=
 +
}}</pre>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 11: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=
}}