use cumulated data also for total Seminary XPs
This commit is contained in:
parent
32470ab9f9
commit
e44133a6f2
2 changed files with 8 additions and 6 deletions
|
|
@ -122,8 +122,10 @@
|
|||
{
|
||||
// Get Questgroups
|
||||
$questgroups = $this->Questgroups->getQuestgroupsForHierarchy($hierarchy['id']);
|
||||
foreach($questgroups as &$questgroup) {
|
||||
$xps += $this->Questgroups->getAchievableXPsForQuestgroup($questgroup['id']);
|
||||
foreach($questgroups as &$questgroup)
|
||||
{
|
||||
$data = $this->Questgroups->getCumulatedDataForQuestgroup($questgroup['id']);
|
||||
$xps += $data['xps'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue