mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 11:15:09 -05:00
It checks if you have all the lvl 10 items in your iventory and if you have enough currency. Then your character progress gets reset and inventory cleared of the items of that character. then you get the prestige reward added to your inventory and the prestige lvl of the character goes up
16 lines
276 B
PHP
16 lines
276 B
PHP
<?php
|
|
|
|
namespace App\Http\Responses\Api\General;
|
|
|
|
use App\Enums\Game\RewardType;
|
|
|
|
// Based on MirrorsModelReward - PDB v0.8.0
|
|
class Reward
|
|
{
|
|
public function __construct(
|
|
public RewardType $type,
|
|
public int $amount,
|
|
public string $id,
|
|
)
|
|
{}
|
|
} |