Quote:
Originally Posted by cellarius
You know you can do math in templates? You may not even have to tamper with the PHP side of things at all.
If you want examples, just search your templates for {vb:math in AdminCP.
Perhaps this will work for you?
Code:
{vb:math {vb:raw block_data.xperience_levelp} * 1.3 - 2}
Although I have no idea how that will work out regarding the decimals, rounding etc.
|
Thank you! I'll give it a shot and see what happens.
Edit: It doesn't seem to have worked. Thanks anyways!