Difference between revisions of "Template:Skill range"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
== Description == | == Description == | ||
Parses a string in the format of [distance] [horizontal] [vertical] [diagonal] into something | Parses a string in the format of [distance] [horizontal] [vertical] [diagonal] into something human readable. | ||
== Examples == | == Examples == |
Revision as of 18:54, 8 March 2019
Description
Parses a string in the format of [distance] [horizontal] [vertical] [diagonal] into something human readable.
Examples
{{Skill range|0 0 0 0}}
at target.
{{Skill range|1 0 0 2}}
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}}
in front of target, vertically adjacent.
{{Skill range|-2 1 0 0}}
2 square(s) behind target, horizontally adjacent.
{{Skill range|0 1 1 0}}
at target, directly adjacent.
{{Skill range|0 2 2 0}}
at target, 2 squares away horizontally and vertically.
{{Skill range|0 1 1 1}}
at target, in a 1 square radius