Quote:
Originally Posted by killerogue
PHP Code:
if (stat == "hp" || "mp") {
|
Does not do what you think it does.
Quote:
Originally Posted by killerogue
PHP Code:
if ((makevar("plyr.clientr.mud." @ stat) - amt) > 0) {
|
If amt is negative.... -amt is positive, so (makevar("plyr.clientr.mud." @ stat) - amt) is adding. So, change the - to + and voila.