mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 10:14:55 +02:00
admin_skills.php: Fixed no vocation base stats.
This commit is contained in:
@@ -31,10 +31,10 @@ if (isset($_POST['pid']) && (int)$_POST['pid'] > 0) {
|
|||||||
$basecap = $config['cap'];
|
$basecap = $config['cap'];
|
||||||
} else { // No vocation stats
|
} else { // No vocation stats
|
||||||
// Fetch base level and stats:
|
// Fetch base level and stats:
|
||||||
$baselevel = $config['level'];
|
$baselevel = $config['nvlevel'];
|
||||||
$basehealth = $config['health'];
|
$basehealth = $config['nvHealth'];
|
||||||
$basemana = $config['mana'];
|
$basemana = $config['nvMana'];
|
||||||
$basecap = $config['cap'];
|
$basecap = $config['nvCap'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$levelC = $level - $baselevel;
|
$levelC = $level - $baselevel;
|
||||||
|
Reference in New Issue
Block a user