소스 검색

[fixed] `gs 'orgasm'` firing multiple times
Kevin Smarts — 09/25/2023 9:10 AM
That looks perfect, post a commit

LinaHirata 8 달 전
부모
커밋
bcde7cb903
1개의 변경된 파일29개의 추가작업 그리고 14개의 파일을 삭제
  1. 29 14
      locations/arousal.qsrc

+ 29 - 14
locations/arousal.qsrc

@@ -802,23 +802,38 @@ if $ARGS[0] ! 'end' and $ARGS[0] ! 'checks' and $ARGS[0] ! 'count' and $ARGS[0]
 
 !! This is determining if Sveta will orgasm
 
-	if $orgasm_or ! 'no' and $ARGS[0] ! 'flashlite' and $ARGS[0] ! 'flash' and orgasm_flag['trigger'] ! 0:
-        if $orgasm_or = 'yes' or $orgasm_or = 'custom':
-            gs 'orgasm', $ARGS[0]
-        elseif orgasm_buildup >= (100 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 10 and rand(1,100) <= 20:
-            gs 'orgasm', $ARGS[0]
-        elseif orgasm_buildup >= (150 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 6 and rand(1,100) <= 50:
-            gs 'orgasm', $ARGS[0]
-        elseif orgasm_buildup >= (200 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 4:
-            gs 'orgasm', $ARGS[0]
-        end
-	end
-
+	if $orgasm_or ! 'no':
 !!This is release is Sveta is so pent up that she can cum with minimal stimulation
-	if $orgasm_or ! 'no' and orgasm_buildup >= 300 and pcs_horny >= 60: gs 'orgasm', $ARGS[0]
+		if orgasm_buildup >= 300 and pcs_horny >= 60:
+			gs 'orgasm', $ARGS[0]
+			jump 'orgasm_selector_end'
+		end
 
 !!This is release is Sveta is so horny that she can cum if directly stimulated
-	if $orgasm_or ! 'no' and orgasm_buildup >= 50 and pcs_horny >= 300 and orgasm_flag['trigger'] ! 0: gs 'orgasm', $ARGS[0]
+		if orgasm_buildup >= 50 and pcs_horny >= 300 and orgasm_flag['trigger'] ! 0:
+			gs 'orgasm', $ARGS[0]
+			jump 'orgasm_selector_end'
+		end
+
+		if $ARGS[0] ! 'flashlite' and $ARGS[0] ! 'flash' and orgasm_flag['trigger'] ! 0:
+			if $orgasm_or = 'yes' or $orgasm_or = 'custom':
+				gs 'orgasm', $ARGS[0]
+				jump 'orgasm_selector_end'
+			else
+				temp_rand = rand(1,100)
+				if orgasm_buildup >= (100 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 10 and temp_rand <= 20:
+					gs 'orgasm', $ARGS[0]
+					jump 'orgasm_selector_end'
+				elseif orgasm_buildup >= (150 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 6 and temp_rand <= 50:
+					gs 'orgasm', $ARGS[0]
+					jump 'orgasm_selector_end'
+				elseif orgasm_buildup >= (200 - pcs_horny/(2 + pcs_traits['easy_orgasms'])) and stim['total'] > 4:
+					gs 'orgasm', $ARGS[0]
+				end
+			end
+		end
+	end
+	:orgasm_selector_end
 
 !!Clearing temporary variables with orgasm as a gs this will catch anything there too
 	killvar 'temp_dick'