فهرست منبع

[fixed] missing rand function

anjuna krokus 5 ماه پیش
والد
کامیت
fcae2cf288
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      locations/city_experimental_trials_events.qsrc

+ 1 - 3
locations/city_experimental_trials_events.qsrc

@@ -203,7 +203,7 @@ elseif $experimentQW['trial_active'] = 'pill_blue':
 !! Change skin
 elseif $experimentQW['trial_active'] = 'pill_yellow':
 	if experimentQW['random_option'] = 0:
-		temp_rand = (0, 9)
+		temp_rand = rand(0, 9)
 		if temp_rand < 3:
 			experimentQW['random_option'] = 1
 
@@ -340,7 +340,6 @@ elseif $experimentQW['trial_active'] = 'pill_brown':
 	if experimentQW['random_option'] = 0:
 		if rand(0, 9) < 4 and min_arousal > 0:
 			experimentQW['random_option'] = 1
-
 		else
 			experimentQW['random_option'] = 2
 		end
@@ -352,7 +351,6 @@ elseif $experimentQW['trial_active'] = 'pill_brown':
 
 		*nl
 		'You feel a calm wash over you that you haven''t felt in a while. It seems that your arousal has reduced. This must have been that experimental pill you took.'
-
 	else
 		min_arousal += 5
 		if min_arousal > 100: min_arousal = 100