Anonymous

Template:Damage/doc: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 22: Line 22:
*'''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.
*'''prefix''' - if specified, appends the provided string to every output variable. Useful when dealing with skills like [[Heaven's Fist - Pressure#Total Damage|Heaven's Fist - Pressure]] or [[Ex-S Viper#Total_Damage|Ex-S Viper]].
*'''prefix''' - if specified, appends the provided string to every output variable. Useful when dealing with skills like [[Heaven's Fist - Pressure#Total Damage|Heaven's Fist - Pressure]] or [[Ex-S Viper#Total_Damage|Ex-S Viper]].
*'''range_min''', '''range_max''' - applies a damage increase to all values and moves them to separate variables. If '''range_min''' not specified, the minimal value will be the base total damage. Variables created:
*'''range_min''', '''range_max''' - applies a damage increase to all values and moves them to separate variables. If the value is different between PvE and PvP, provide the PvP value after a comma. If '''range_min''' not specified, the minimum value will be the base total damage. Variables created:
**''min_''total_damage[...]
**''min_''total_damage[...]
**''max_''total_damage[...]
**''max_''total_damage[...]
Line 36: Line 36:
**'''Count''' will not work with '''Useful''' or [[Awakening Mode]].
**'''Count''' will not work with '''Useful''' or [[Awakening Mode]].
**You can't specify separate hit counts for PvP in one template call. This is a thing for too small amount of skills (e.g. [[Lightning Shower]]) and wasn't worth implementing. Can get around it using the '''prefix''' argument.
**You can't specify separate hit counts for PvP in one template call. This is a thing for too small amount of skills (e.g. [[Lightning Shower]]) and wasn't worth implementing. Can get around it using the '''prefix''' argument.
*No range implemented. Whenever you need to add in some inner skill mechanics with the use of bonus points like [[Sentimental Point System|Sentimental Points]], do it yourself.
*Damage range only works with damage buffs, not when hit counts are changed.
**Check '''[[Phoenix Wings#Total Damage|this page]]''' for hints.
**Check '''[[Phoenix Wings#Total Damage|this page]]''' for hints.
*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.