Procházet zdrojové kódy

[fixed] Always use perenthisis that way you are sure the logic is correct.

bgkjdgbizgblzdgbr před 5 měsíci
rodič
revize
0aa6ef6aff
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      locations/katja_nightclub.qsrc

+ 1 - 1
locations/katja_nightclub.qsrc

@@ -258,7 +258,7 @@ if $ARGS[0] = 'dance_guy_approach':
 						katjaQW['horny'] += 20
 						'Katja clearly enjoys the attention she''s getting and starts to get closer to him as well, almost grinding her body against his.'
 					end
-					if (katjaQW['liberated'] = 1 and (katjaQW['simultanous_boys'] = 0 and rand(1,10)) or (katjaQW['simultanous_boys'] > 0 and rand(1,5))) or (katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and rand(1,10) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 and rand(1,5) <= (min(katjaQW['horny'], 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and (katjaQW['faithful'] = 0 or katjaQW['cheat_warning'] = 2)):
+					if (katjaQW['liberated'] = 1 and ((katjaQW['simultanous_boys'] = 0 and rand(1,10)) or (katjaQW['simultanous_boys'] > 0 and rand(1,5)))) or (katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and rand(1,10) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 and rand(1,5) <= (min(katjaQW['horny'], 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and (katjaQW['faithful'] = 0 or katjaQW['cheat_warning'] = 2)):
 						!! The conditions is such that only if Katja is liberated or the player has introduced her to sex with a boy is there a chance that she will go with the guy. In the later case she won''t go until after the the player has had the relationship talk, and then only if they agreed on an open relationship or if she has warned the player because she has caught the player cheating. She also won''t go if the player said they''re not into boys.
 						katjaQW['nightclub_private_room_boy'] = 1
 						katjaQW['disco_loc'] = 7