View difference between Paste ID: pQxtRtuu and 09kp4eHk
SHOW: | | - or go back to the newest paste.
1-
         if(tonumber(db:get('story_times_complete')) > 0)then
1+
        local multiplier = math.max(tonumber(db:get('story_times_complete')) or 0, 0);
2-
                local multiplier = tonumber(db:get('story_times_complete'));
2+
        data.difficulty = 1 + math.min(10, multiplier) / 2;