소스 검색

[removed] private loc check for cum icon cleanup

Lusticon 1 주 전
부모
커밋
544f3ee710
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      locations/Cum_Manage.qsrc

+ 6 - 4
locations/Cum_Manage.qsrc

@@ -931,12 +931,14 @@ if $ARGS[0] = 'cum_stat_display':
 			end
 		if j < 7: j+=1 & jump 'ageloop'
 
-		if stat_cumloc_check = 1 and (FUNC('Cum_Manage', 'check_private', i) = 0 _ 
-		or (i <> 0 and cumsumass = 0 and cumsumvag > 0 and FUNC('Cum_Manage', 'check_innards', 0) = 0) _ 
+		if stat_cumloc_check = 1 and _ 
+		  ((i <> 0 and cumsumass = 0 and cumsumvag > 0 and FUNC('Cum_Manage', 'check_innards', 0) = 0) _ 
 		or (i <> 3 and cumsumvag = 0 and cumsumass > 0 and FUNC('Cum_Manage', 'check_innards', 3) = 0) _ 
-		or (i > 3 and cumsumvag > 0 and FUNC('Cum_Manage', 'check_innards', 0) = 0 and cumsumass > 0 and FUNC('Cum_Manage', 'check_innards', 3) = 0)):
-			stat_cumloc_check = 2
+		or (i >  3 and cumsumvag > 0 and FUNC('Cum_Manage', 'check_innards', 0) = 0 and cumsumass > 0 and FUNC('Cum_Manage', 'check_innards', 3) = 0)):
+			stat_cumloc_check = 0
 		end
+		!! if stat_cumloc_check = 1 and FUNC('Cum_Manage', 'check_private', i) = 0: stat_cumloc_check = 2
+
 
 	if i < 18: i+=1 & jump 'cumlocloop'
 	killvar 'i'