Suggestions

Award Suggestion: Enhancer

Submitted by v4hl, , Thread ID: 179306

Thread Closed

RE: Award Suggestion: Enhancer

Venipa
venipa.net
Level:
6
Reputation:
91
Posts:
525
Likes:
148
Credits:
6.18K
22-08-2020, 01:01 PM
#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)