Шаблон:Difficulty value

Материал из Calamity Mod Wiki
Перейти к навигации Перейти к поиску
Template-info.svg Documentation The documentation below is transcluded from Шаблон:Difficulty value/doc. (edit | history)

A template used for convenience with showing values for the different difficulty modes.

Usage

{{ difficulty value | <Normal Mode Value> | <Expert Mode Value> | <Revengeance Mode Value> | <Death Mode Value> | <Master Mode Value> | <Revengeance-Master Mode Value> | <Death-Master Mode Value> }}

Example: {{ difficulty value | 1 | 2 | 3 }} returns 1 / 2 Режим Эксперта / 3 Режим Месть.

Other parameters

break

Specifies whether you want the latter Revengeance and Death values to be on a separate line, for use in the NPC infobox.

boost

Percentage boost to multiply and automatically calculate the values with in Expert, Revengeance and Death Mode. It should be expressed as a decimal value, i.e. 0.05, which equals to 5% of the value. All set values except for the Normal Mode one will be overridden if used.

oldboost

Percentage boost to multiply and automatically calculate the values with in Expert, Revengeance and Death Mode using the damage formula prior to the 1.4.3.001 update. It should be expressed as a decimal value, i.e. 0.05, which equals to 5% of the value. All set values except for the Normal Mode one will be overridden if used.

Examples

Code Result
{{difficulty value|1}} 1
{{difficulty value|0|1}} 1 Режим Эксперта
{{difficulty value|0|0|1}} 1 Режим Месть
{{difficulty value|0|0|0|1}} 1 Режим Смерть
{{difficulty value|1|2|0|4|7}} 1 / 2 Режим Эксперта / 4 Режим Смерть / 7 Режим Мастера
{{difficulty value|1|2|3|4|5|break=yes}} 1 / 2 Режим Эксперта /
3 Режим Месть / 4 Режим Смерть / 5 Режим Мастера
{{difficulty value|1|2|3|4|5|6|7}} 1 / 2 Режим Эксперта / 3 Режим Месть / 4 Режим Смерть / 5 Режим Мастера / 6 Режим Месть Режим Мастера / 7 Режим Смерть Режим Мастера
{{difficulty value|1000|boost=0}} 1000 / 2000 Режим Эксперта / 3000 Режим Мастера
{{difficulty value|1000|boost=0.25}} 1000 / 2000 Режим Эксперта / 2500 Режим Месть / 2800 Режим Смерть / 3000 Режим Мастера / 3750 Режим Месть Режим Мастера / 4200 Режим Смерть Режим Мастера
{{difficulty value|1000|oldboost=0.8}} 1000 / 1600 Режим Эксперта / 2000 Режим Месть / 2300 Режим Смерть

Notes

  • Values of "0" or null are not displayed.