ElEditors, Interface administrators, Administrators
70,975
edits
(→Tips) |
|||
Line 42: | Line 42: | ||
== Tips == | == Tips == | ||
*You can provide however many damage parts you want. The ''<nowiki>{{#var: total_damage}}</nowiki>'' and ''<nowiki>{{#var: total_damage_pvp}}</nowiki>'' variables will be composed automatically. | *You can provide however many damage parts you want. The ''<nowiki>{{#var: total_damage}}</nowiki>'' and ''<nowiki>{{#var: total_damage_pvp}}</nowiki>'' variables will be composed automatically. | ||
* | **Using ranges stops regular variables from generating. | ||
* | |||
*This template automatically rounds values to the second decimal place, so no need to worry about it. | *This template automatically rounds values to the second decimal place, so no need to worry about it. | ||
*Certain values are inherited, either when they are empty or contain "i" in them (handy when you want to perform math operations on the numbers). ''Dev tip: to see the exact order, check DAMAGE_CONFIG each damage_numbers and hit_counts fields. The first value in each is the one that inherits from the rest if they exist.'' | *Certain values are inherited, either when they are empty or contain "i" in them (handy when you want to perform math operations on the numbers). ''Dev tip: to see the exact order, check DAMAGE_CONFIG each damage_numbers and hit_counts fields. The first value in each is the one that inherits from the rest if they exist.'' |