|
@@ -35,14 +35,14 @@ if $ARGS[0] = 'calculate_tips':
|
|
|
if week >= 5: ml_time_mod += 2
|
|
|
if hour >= 17: ml_time_mod += 2
|
|
|
|
|
|
- ml_time_loc_mod = (ml_location_mod + ml_time_mod) / 2
|
|
|
+ ml_time_loc_mod = (ml_location_mod + ml_time_mod) / 2
|
|
|
|
|
|
-
|
|
|
- ml_tipsmax = (pcs_instrmusic + pcs_vokal + pcs_perform + ((hotcat-4)*35)) * ml_time_loc_mod
|
|
|
+ ml_tipsmax = ((pcs_instrmusic + pcs_vokal + pcs_perform + ((hotcat-4)*35)) * (ml_time_loc_mod*10))/10
|
|
|
ml_tipsearned = max(rand(0,ml_tipsmax),0)
|
|
|
|
|
|
killvar 'ml_location_mod'
|
|
|
killvar 'ml_time_mod'
|
|
|
+ killvar 'ml_tipsearned'
|
|
|
end
|
|
|
|
|
|
--- music_buskingevents ---------------------------------
|