Difference between revisions of "Template:Skill range"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
}} {{#switch:{{#var:range h|}} | }} {{#switch:{{#var:range h|}} | ||
| 0 = | | 0 = | ||
|#default = {{#var:range h|}} | | 1 = horizontally adjacent | ||
|#default = {{#var:range h|}} squares horizontally, | |||
}} {{#switch:{{#var:range v|}} | }} {{#switch:{{#var:range v|}} | ||
| 0 = | | 0 = | ||
|#default = {{#var:range v|}} | | 1 = vertically adjacent | ||
|#default = {{#var:range v|}} squares vertically, | |||
}} {{#switch:{{#var:range d|}} | }} {{#switch:{{#var:range d|}} | ||
| 0 = | | 0 = | ||
|#default = {{#var:range d|}} | | 1 = diagonally | ||
|#default = {{#var:range d|}} squares diagonally. | |||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
Revision as of 21:50, 27 December 2018
Examples
{{Skill range|0 0 0 0}}
at target,
{{Skill range|1 0 0 2}}
1 square(s) in front of target, 2 squares diagonally.
{{Skill range|-2 0 0 1}}
2 square(s) behind target, diagonally
{{Skill range|1 0 1 0}}
1 square(s) in front of target, vertically adjacent
{{Skill range|-2 1 0 0}}
2 square(s) behind target, horizontally adjacent
{{Skill range|0 1 1 1}}
at target, horizontally adjacent vertically adjacent diagonally