mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: give hero points to spend by the actual number of levels he got
This commit is contained in:
@@ -4605,10 +4605,10 @@ class Automation {
|
||||
$modes[] = null;
|
||||
}
|
||||
|
||||
// add 5 points, if we're below level 100
|
||||
// add as many points as needed, if we're below level 100
|
||||
if ($scorePoints) {
|
||||
$columns[] = 'points';
|
||||
$columnValues[] = 5;
|
||||
$columnValues[] = (5 * ($newLevel - $herolevel));
|
||||
$modes[] = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user