mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
some fixes
* set default skills to 10 when creating new character * fixed displaying of "Create forum thread" in newses * fixed deleting guild * fixed displaying vocation amount on online page * better support for custom vocations, you just need to set in config vocations_amount to yours.
This commit is contained in:
@@ -209,7 +209,7 @@ echo '
|
||||
if($config['highscores_vocation']) {
|
||||
if(isset($player['promotion'])) {
|
||||
if((int)$player['promotion'] > 0)
|
||||
$player['vocation'] + ($player['promotion'] * 4);
|
||||
$player['vocation'] += ($player['promotion'] * $config['vocations_amount']);
|
||||
}
|
||||
|
||||
echo '<br/><small>' . $config['vocations'][$player['vocation']] . '</small>';
|
||||
|
Reference in New Issue
Block a user