update XP-level structure
This commit is contained in:
parent
5d716638dd
commit
6e807a43e1
9 changed files with 79 additions and 34 deletions
|
|
@ -71,6 +71,13 @@
|
|||
// Get Characters
|
||||
$characters = $this->Characters->getCharactersForUser($user['id']);
|
||||
|
||||
// Additional Character information
|
||||
foreach($characters as &$character)
|
||||
{
|
||||
// Level
|
||||
$character['xplevel'] = $this->Characters->getXPLevelOfCharacters($character['id']);
|
||||
}
|
||||
|
||||
|
||||
// Pass data to view
|
||||
$this->set('user', $user);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue