浏览代码

[Fixes] Duplication of conditions in the same if check

KevinSmarts 4 年之前
父节点
当前提交
24bce462f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      locations/dimaEv.qsrc

+ 1 - 1
locations/dimaEv.qsrc

@@ -11,7 +11,7 @@ if $ARGS[0] = 'after_school':
 	'<center><img <<$set_imgh>> src="images/pc/npc_headshots/big1.jpg"></center>'
 	'Dimka seeing you, walks up and says quietly, "Come here slut, we''re going to go have some fun at my place." Your cheeks redden at the gross nickname'
 !!can me make the above have a 1 in 5 chance of trigging even if the player doesn''t click Dimka''s name after school?
-	if fedorKozlovQW >= 10 and dimaFilm = 1 and FedorvsDimka = 1 or fedorKozlovQW = -15 and dimaFilm = 1 and FedorvsDimka = 1:
+	if fedorKozlovQW >= 10 and dimaFilm = 1 and FedorvsDimka = 1 or fedorKozlovQW = -15:
 		gt 'FedorMisc', 'Fedor Vs Dimka'
 	elseif fedorKozlovQW >= 10 or fedorKozlovQW = -15:
 		'Fedor walks up to you. "Hey <<$pcs_nickname>>, shall we go?" Dimka turns to Fedor. "Fedor, what are you doing here? <<$pcs_firstname>> is my girl." Fedor raises his eyebrow. "What are you talking about? <<$pcs_firstname>> is with me." Dimka grins at Fedor. "So let''s ask her who she is dating?". You stand there fidgeting nervously'