Fix(drop-cap): Reduce PERception drop boost
+1 drop/day per 10 PER was a bit too much. A tricked-out subscriber could keep getting drops unto 50 or so! This commit cuts the boost by more than half; should still be noticeable, but not quite so overkill at the high end.
This commit is contained in:
+1
-1
@@ -1004,7 +1004,7 @@ api.wrap = (user, main=true) ->
|
||||
user.markModified? 'party.quest.progress'
|
||||
#console.log {progress:user.party.quest.progress}
|
||||
|
||||
return if (api.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 5 + Math.floor(user._statsComputed.per / 10))
|
||||
return if (api.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 5 + Math.floor(user._statsComputed.per / 25))
|
||||
if user.flags?.dropsEnabled and user.fns.predictableRandom(user.stats.exp) < chance
|
||||
|
||||
# current breakdown - 1% (adjustable) chance on drop
|
||||
|
||||
Reference in New Issue
Block a user