Thread
:
Division by zero for XP
View Single Post
08-08-14, 06:56 PM
#
4
Torhal
A Pyroguard Emberseer
Join Date: Aug 2008
Posts: 1,196
Lua Code:
local
percXP
=
(
XP
==
0
)
and
0
or
math.floor
(
(
XP
/
maxXP
)
*
100
)
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".
Author of
NPCScan
and
many other AddOns
.
Torhal
View Public Profile
Find More Posts by Torhal