Dave Posted December 2, 2019 Posted December 2, 2019 GLV2 is becoming the new MCCodes v3 by the looks of it! 2 Quote
Dayo Posted December 2, 2019 Author Posted December 2, 2019 2 hours ago, Dave said: GLV2 is becoming the new MCCodes v3 by the looks of it! Still a way to go, but I've now started ? 2 Quote
Dayo Posted January 5, 2020 Author Posted January 5, 2020 Ive updated this module to allow for the energy and will to be reset via points. The cost is adjustable within the ACP 4 Quote
URBANZ Posted January 16, 2020 Posted January 16, 2020 Thanks for the mod great addition. Just found a little bug when you reset your energy or will and try and do it again when its already full it lets you reset and still deducts points from account in workout.inc.php find on line 29: if ($this->user->info->US_points < $cost) { return $this->error("You can't afford this!"); } add below: if ($this->user->info->US_energy == $this->user->info->US_maxEnergy) { return $this->error("Your energy is already full!"); } find on line 39: if ($this->user->info->US_points < $cost) { return $this->error("You can't afford this!"); } add below: if ($this->user->info->US_will == $this->user->info->US_maxWill) { return $this->error("Your will is already full!"); } 4 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.