mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19: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'];
|
||||
} else { // No vocation stats
|
||||
// Fetch base level and stats:
|
||||
$baselevel = $config['level'];
|
||||
$basehealth = $config['health'];
|
||||
$basemana = $config['mana'];
|
||||
$basecap = $config['cap'];
|
||||
$baselevel = $config['nvlevel'];
|
||||
$basehealth = $config['nvHealth'];
|
||||
$basemana = $config['nvMana'];
|
||||
$basecap = $config['nvCap'];
|
||||
}
|
||||
|
||||
$levelC = $level - $baselevel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user