mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
admin_skills.php: Fixed no vocation base stats.
This commit is contained in:
parent
778e51c865
commit
648d0ffaff
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user