Suggestions

Award Suggestion: Enhancer

Submitted by v4hl, , Thread ID: 179306

Thread Closed

RE: Award Suggestion: Enhancer

#3
PHP Code:
$enhAwardId 69// use db, this a mockerino
if (in_array($enhAwardIdexplode(","$userAwards))) {
    
$highestUpgradeableRole = (array_reverse(getUpgradeableRoles()))[0];
    
$maxUnlocksAddition $highestUpgradeableRole->name == 'prime' $highestUpgradeableRole->name == 'supreme' $highestUpgradeableRole->name == 'divine' 1;
    
$user->maximumUnlocksPerDay += $maxUnlocksAddition// dont save temporary use


would probably look smth like dis.
but this feature request should be toward v4
/au4to0][Image: ad0png.png]
[Image: view?username=Venipa&style=small]

Users browsing this thread: 1 Guest(s)