From b02acb4c18f8b726478fb19a3f491ac4462463ce Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Mon, 3 Oct 2016 18:02:20 -0600 Subject: [PATCH] Increase level-up difficulty factor --- attackplace.php | 2 +- claimplace.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attackplace.php b/attackplace.php index fec0299..9cfdaf6 100644 --- a/attackplace.php +++ b/attackplace.php @@ -41,7 +41,7 @@ if ($placehp < 0) { } // Update the user's health and level -$exp = pow(pow(floor($user['level']) + 1, 2), -0.9); +$exp = pow(pow(floor($user['level']) + 1, 2), -1.2); $userlevel = $user['level'] + $exp; // If the new level is a whole int bigger than the current $dolevelup = false; diff --git a/claimplace.php b/claimplace.php index 17909b6..c5cf929 100644 --- a/claimplace.php +++ b/claimplace.php @@ -29,7 +29,7 @@ if ($userhp < 0) { } // Update the user's health and level -$exp = pow(pow(floor($user['level']) + 1, 2), -0.9); +$exp = pow(pow(floor($user['level']) + 1, 2), -1.2); $userlevel = $user['level'] + $exp; // If the new level is a whole int bigger than the current $dolevelup = false;