diff --git a/Admin/Templates/editHero.tpl b/Admin/Templates/editHero.tpl index df1617ab..b06d914f 100644 --- a/Admin/Templates/editHero.tpl +++ b/Admin/Templates/editHero.tpl @@ -227,7 +227,7 @@ function go_url(url){ location=url; return false; }
- ⚠ Hero is at the maximum level () — no more points can be added. + ⚠ Hero is at the maximum level () — no more points can be added.
diff --git a/Admin/Templates/playerheroinfo.tpl b/Admin/Templates/playerheroinfo.tpl index 41cf2583..b8542821 100644 --- a/Admin/Templates/playerheroinfo.tpl +++ b/Admin/Templates/playerheroinfo.tpl @@ -150,7 +150,7 @@ if ($hero !== false) { + (int)$h['defencebonus'] + (int)$h['regeneration'] + (int)($h['resources'] ?? 0); // totalul de puncte vine din tabelul de niveluri: 5 initiale + 5 per nivel - $hMaxLevel = isset($hero_levels) ? max(array_keys($hero_levels)) - 1 : 120; + $hMaxLevel = isset($hero_levels) ? max(array_keys($hero_levels)) - 1 : 119; $hMaxPoints = 5 + ($hMaxLevel * 5); $count_level_exp = max(0, $hMaxPoints - $used); if ($h['points'] > $count_level_exp) $h['points'] = $count_level_exp; diff --git a/GameEngine/Admin/Mods/editHero.php b/GameEngine/Admin/Mods/editHero.php index 43732667..86e69eda 100755 --- a/GameEngine/Admin/Mods/editHero.php +++ b/GameEngine/Admin/Mods/editHero.php @@ -56,7 +56,7 @@ if (isset($_POST['id'], $_POST['hid'])) { $hunit = (int)($_POST['hunit'] ?? 0); // plafonul vine din tabelul de niveluri (ultimul index e santinela), ca sa // urmeze automat extinderea facuta pentru al 6-lea atribut - $hMaxLevel = isset($hero_levels) ? max(array_keys($hero_levels)) - 1 : 120; + $hMaxLevel = isset($hero_levels) ? max(array_keys($hero_levels)) - 1 : 119; $hlvl = max(0, min($hMaxLevel, (int)($_POST['hlvl'] ?? 0))); $exp = (int)($_POST['exp'] ?? 0); $hhealth = (float)($_POST['hhealth'] ?? 100); diff --git a/GameEngine/Data/hero_full.php b/GameEngine/Data/hero_full.php index 2671b58d..31ffba7d 100755 --- a/GameEngine/Data/hero_full.php +++ b/GameEngine/Data/hero_full.php @@ -20,7 +20,7 @@ ## --------------------------------------------------------------------------- ## ################################################################################# - $hero_levels = array(0 => 0, 100, 300, 600, 1000, 1500, 2100, 2800, 3600, 4500, 5500, 6600, 7800, 9100, 10500, 12000, 13600, 15300, 17100, 19000, 21000, 23100, 25300, 27600, 30000, 32500, 35100, 37800, 40600, 43500, 46500, 49600, 52800, 56100, 59500, 63000, 66600, 70300, 74100, 78000, 82000, 86100, 90300, 94600, 99000, 103500, 108100, 112800, 117600, 122500, 127500, 132600, 137800, 143100, 148500, 154000, 159600, 165300, 171100, 177000, 183000, 189100, 195300, 201600, 208000, 214500, 221100, 227800, 234600, 241500, 248500, 255600, 262800, 270100, 277500, 285000, 292600, 300300, 308100, 316000, 324000, 332100, 340300, 348600, 357000, 365500, 374100, 382800, 391600, 400500, 409500, 418600, 427800, 437100, 446500, 456000, 465600, 475300, 485100, 495000, 505000, 515100, 525300, 535600, 546000, 556500, 567100, 577800, 588600, 599500, 610500, 621600, 632800, 644100, 655500, 667000, 678600, 690300, 702100, 714000, 726000, 726000); + $hero_levels = array(0 => 0, 100, 300, 600, 1000, 1500, 2100, 2800, 3600, 4500, 5500, 6600, 7800, 9100, 10500, 12000, 13600, 15300, 17100, 19000, 21000, 23100, 25300, 27600, 30000, 32500, 35100, 37800, 40600, 43500, 46500, 49600, 52800, 56100, 59500, 63000, 66600, 70300, 74100, 78000, 82000, 86100, 90300, 94600, 99000, 103500, 108100, 112800, 117600, 122500, 127500, 132600, 137800, 143100, 148500, 154000, 159600, 165300, 171100, 177000, 183000, 189100, 195300, 201600, 208000, 214500, 221100, 227800, 234600, 241500, 248500, 255600, 262800, 270100, 277500, 285000, 292600, 300300, 308100, 316000, 324000, 332100, 340300, 348600, 357000, 365500, 374100, 382800, 391600, 400500, 409500, 418600, 427800, 437100, 446500, 456000, 465600, 475300, 485100, 495000, 505000, 515100, 525300, 535600, 546000, 556500, 567100, 577800, 588600, 599500, 610500, 621600, 632800, 644100, 655500, 667000, 678600, 690300, 702100, 714000, 714000); //ROMAN UNITS diff --git a/img/admin/admin.css b/img/admin/admin.css index 26e89478..55b058f8 100644 --- a/img/admin/admin.css +++ b/img/admin/admin.css @@ -28,7 +28,7 @@ body { #ltop4 {width:911px;} /* Div enclosing the entire middle section */ -#lmidall {background-image: none; float: none; height: auto; margin: 0 auto; width: 1350px;} +#lmidall {background-image: none; float: none; height: auto; margin: 0 auto; width: 980px;} /* Div enclosing the entire middle section */ #lmidlc {position:relative; min-width:682px; float:left;} @@ -48,7 +48,7 @@ body { #lmid2, #lmid3 { position: relative; - width: 1000px; + width: 500px; padding-bottom: 10px; padding-left: 26px; padding-right: 26px;