Power Aura: Difference between revisions

hacky way to use flooring/ceil since it bugs out for some reason
(hacky way to use flooring/ceil since it bugs out for some reason)
Line 128: Line 128:
|| {{#var:scaling_max_pvp}}%
|| {{#var:scaling_max_pvp}}%
|-  
|-  
| {{formatnum:{{#expr: floor({{#var:scaling_max}} / {{#var:scaling_per}}) * {{#var:scaling_cp}} }}}}
{{#vardefine: tmp| {{#expr: ({{#var:scaling_max}} - {{#var:scaling_per}}) / {{#var:scaling_base}} }} }}
| {{formatnum: {{#expr: ceil({{#var:tmp}}) * {{#var:scaling_cp}} }} }}
|| {{#var:scaling_max}}%
|| {{#var:scaling_max}}%
|| {{#var:scaling_max_pvp}}%
|| {{#var:scaling_max_pvp}}%
2,079

edits