71
editsMore actions
Changed the way that range and aoe values are handled
mNo edit summary |
(Changed the way that range and aoe values are handled) |
||
Line 8: | Line 8: | ||
<td>{{{ casttime | {{Action}} }}}</td> | <td>{{{ casttime | {{Action}} }}}</td> | ||
<td>{{#if: {{{duration|}}} | {{ Duration|{{{duration}}} }} | | <td>{{#if: {{{duration|}}} | {{SmallIcon|Duration Icons.png}}{{nbts}}{{#switch: {{{duration}}} | ||
| 1 = 1 turn | |||
| longrest = Until Long Rest | |||
| #default = {{{duration}}} turns | |||
}} | - }}</td> | |||
<td>{{{ range | {{range| | <td>{{SmallIcon|Range Icon.png}}{{nbts}}{{#switch: {{{range|{{!}}}}} | ||
| <br>{{{ area }}} | | {{!}} = 1.5m / 5ft | ||
| self | |||
| Self = Self | |||
| #default = {{#explode: {{{range}}} |/|0 }}m / {{#explode: {{{range}}} |/|1 }}ft | |||
}} {{#if: {{{area|}}} | |||
| <br>{{SmallIcon|Aoe Icon.png}}{{nbts}}{{#explode: {{{area}}} |/|0 }}m / {{#explode: {{{area}}} |/|1 }}ft {{#switch: {{{aoe}}} | {{{aoe}}} | radius = (Radius) | cone = (Cone) | cube = (Cube) }} | |||
| | | | ||
}}</td> | }}</td> | ||
Line 19: | Line 28: | ||
| {{#ifeq: {{{attack|yes}}} | no | - }} }}</td> | | {{#ifeq: {{{attack|yes}}} | no | - }} }}</td> | ||
<td>{{{ | <td>{{#if: {{{damage|}}} | {{DamageType|{{{damage}}} }} | - }}</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> | ||
Line 30: | Line 39: | ||
| spell= -> Required, name of the spell | | spell= -> Required, name of the spell | ||
| casttime= -> {{template:Action}} Default: {{Action}} | | casttime= -> {{template:Action}} Default: {{Action}} | ||
| duration= -> Values | | duration= -> Duration of the spell. Values: [any number, longrest] | ||
| range= -> | | range= -> Range of the spell separated by "/". Ex: 9/30 becomes 9m/30ft. Default: 1.5/5 | ||
| area= -> | | area= -> AoE range of the spell separated by "/". Ex: 1.5/5 becomes 1.5m/5ft | ||
| attack= -> yes | | aoe= -> AoE type of the spell. Values: [radius, cone, cube]. Default: radius | ||
| save= -> Does spell | | attack= -> Does spell require an attack roll. Values: [yes, no]. Default: yes | ||
| | | save= -> Does spell require a saving throw against its DC, Values: DEX,STR,WIS etc. | ||
| damage= -> Damage type | |||
}} | }} | ||
</pre> | </pre> | ||
Line 53: | Line 63: | ||
| image=Acid Splash Icon 2.png | | image=Acid Splash Icon 2.png | ||
| spell=Acid Splash | | spell=Acid Splash | ||
| area | | area=2/7 | ||
| save=DEX | | save=DEX | ||
| | | damage=Acid | ||
}} | }} | ||
{{SpellListTableRow | {{SpellListTableRow | ||
Line 61: | Line 71: | ||
| casttime={{action}} | | casttime={{action}} | ||
| duration=2 | | duration=2 | ||
| range= | | range=self | ||
| const=required | | const=required | ||
| attack=no | | attack=no | ||
| range=self | |||
}} | }} | ||
|} | |} | ||
Line 81: | Line 92: | ||
| image=Acid Splash Icon 2.png | | image=Acid Splash Icon 2.png | ||
| spell=Acid Splash | | spell=Acid Splash | ||
| area | | area=2/7 | ||
| save=DEX | | save=DEX | ||
| | | damage=Acid | ||
}} | }} | ||
{{SpellListTableRow | {{SpellListTableRow | ||
Line 89: | Line 100: | ||
| casttime={{action}} | | casttime={{action}} | ||
| duration=2 | | duration=2 | ||
| range= | | range=self | ||
| const=required | | const=required | ||
| attack=no | | attack=no | ||
| range=self | |||
}} | }} | ||
|} | |} | ||
</noinclude> | </noinclude> |