gamified earnings
you need to do complete different tasks through a season to get your earnings boosted for the next season.
description from upland
| tasks completed in: |
earnings adjusted in: |
foreach($possibleMultis as $p)
{
echo "";
echo $p/100;
echo " ";
echo round(4.9*$p/100,2) . " %";
echo " | ";
}
?>
sum |
you* |
foreach($daten["stats"] as $season_number => $stats)
{
// Original Season (ohne Anpassung)
$season_index_original = (($season_number - 1) % 6) + 1;
$season_year_original = $year + floor(($season_number - 1) / 6);
$original_season = $seasons[$season_index_original] . " " . $season_year_original;
// Adjustierte Season (eine Season zurück)
$adjusted_number = $season_number - 1;
if ($adjusted_number < 1) {
$season_index = 6;
$season_year = $year - 1;
} else {
$season_index = (($adjusted_number - 1) % 6) + 1;
$season_year = $year + floor(($adjusted_number - 1) / 6);
}
$adjusted_season = $seasons[$season_index] . " " . $season_year;
echo "";
echo "| " . $adjusted_season . " | ";
echo "" . $original_season . " | ";
$sum = 0;
foreach($possibleMultis as $p)
{
$sum += (!empty($stats[$p]) ? $stats[$p] : 0);
echo "" . (!empty($stats[$p]) ? number_format($stats[$p]) : "-") . " | ";
}
echo "" . number_format($sum) . " | ";
$yourEarningsRate = (!empty($daten["user"][$season_number]) ? round(($daten["user"][$season_number]*4.9/100),2) . " %" : "-");
echo "" . $yourEarningsRate . " | ";
echo "
";
}
?>
*: if your account is connect, this will show your rate.