From 574263f29df900b3d998af1f85bb54ab3a50ee24 Mon Sep 17 00:00:00 2001 From: Stefan Brannfjell Date: Sun, 31 Aug 2014 11:35:03 +0200 Subject: [PATCH] Fix #145 (Characterprofile quest progression and accurate lvl 8 stats). --- characterprofile.php | 100 +++++++++++++++++++++---------------------- config.php | 6 +-- 2 files changed, 52 insertions(+), 54 deletions(-) diff --git a/characterprofile.php b/characterprofile.php index 7bc6ace..51022fb 100644 --- a/characterprofile.php +++ b/characterprofile.php @@ -162,57 +162,55 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) { - - '; - echo ' Quest progression '; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - $firstrun = 0; - } - $completed = $completedquests / $totalquests * 100; - echo ''; - echo ''; - echo ''; - echo ''; - } - $completedquests = 0; - $totalquests = 0; - } - } - } - if ($firstrun == 0) - { - echo '
Quest:progression:
'. $cquest[2] .''.round($completed).'%
'; - echo ''; - } - ?> - + + +
  • + Quest progression + + + + + + + + + + + '; +} +?> + 1) { diff --git a/config.php b/config.php index dda4b73..1033c5f 100644 --- a/config.php +++ b/config.php @@ -55,7 +55,7 @@ $config['EnableQuests'] = false; // array for filling questlog (Questid, max value, name, end of the quest fill 1 for the last part 0 for all others) - $config['Quests'] = array( + $config['quests'] = array( array(1501,100,"Killing in the Name of",0), array(1502,150,"Killing in the Name of",0), array(65001,100,"Killing in the Name of",0), @@ -232,8 +232,8 @@ $config['level'] = 8; $config['health'] = 185; - $config['mana'] = 40; - $config['cap'] = 435; + $config['mana'] = 35; + $config['cap'] = 470; $config['soul'] = 100; $config['maleOutfitId'] = 128;
    Quest:progression:
    + % +
    +