Template:Damage/doc: Difference between revisions

Line 18: Line 18:
*'''empowered''' - if '''true''', enables '''Empowered''' trait with the standard 1.2x damage increase. It can also take another value that replaces the standard one
*'''empowered''' - if '''true''', enables '''Empowered''' trait with the standard 1.2x damage increase. It can also take another value that replaces the standard one
*'''passive'''''[n]'' - enables the ''n''th passive variables, please specify with the exact passive skill's name. If more than one provided, combined variables will also be created, i.e. ''passive1_passive2'' (max 3).
*'''passive'''''[n]'' - enables the ''n''th passive variables, please specify with the exact passive skill's name. If more than one provided, combined variables will also be created, i.e. ''passive1_passive2'' (max 3).
*'''passive2''' - same as above, this will also enable merged variables (passive 1 and passive 2 included)
*'''format''' - enables pretty-printing of the numbers (applies % sign and ''<nowiki>{{formatnum:}}</nowiki>''). Enabled by default, you can provide '''false''' to disable it. In order to tamper with single variables, I recommend using [[Template:Num]] that converts them back to numbers.
*'''format''' - enables pretty-printing of the numbers (applies % sign and ''<nowiki>{{formatnum:}}</nowiki>''). Enabled by default, you can provide '''false''' to disable it. In order to tamper with single variables, I recommend using [[Template:Num]] that converts them back to numbers.
*'''dump''' - if '''true''', write out the generated variables. Useful when debugging, off by default. ''Warning'': disables the variables from generating.
*'''dump''' - if '''true''', write out the generated variables. Useful when debugging, off by default. ''Warning'': disables the variables from generating.