Шаблон:Jump reach

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку
Template-info.svg Документація Наведена нижче документація запозичена з «Шаблон:Jump reach/doc». (редагувати | історія)
Для більш повної чи актуальної інформації ви можете переглянути документацію англійською.

This template is used for calculating the total jump reach from jump duration, jump speed, and gravity.

Usage

{{ jump reach | <jump duration> | <jump speed> | <gravity> | raw = y/yes }}

The first three unnamed parameters can also be called by their names. All of them accept any valid {{#expr:}} string.

First unnamed parameter or jump duration

The given jump duration. Defaults to 15, the base value of a default character.

Second unnamed parameter or jump speed

The given jump speed. Defaults to 5.01, the base value of a default character.

Third unnamed parameter or gravity

The given gravity. Defaults to 0.4, the default value outside of Space.

raw

Set this parameter to suppress {{formatnum:}} being applied to the output.

Examples

Code Result
{{jump reach}} 6,27
{{jump reach|gravity=0.0001}} 7848,48
{{jump reach|gravity=10^-4}} 7848,48
{{jump reach|gravity=0.0001|raw=y}} 7848.48
{{jump reach|52/2|6.51}} tiles 13,23 tiles