Browse Source

[fixed] fame['pav_sex'] and fame['pav_prsotitute'] going up instead of being reduced to zero when below the treshold.

bgkjdgbizgblzdgbr 3 years ago
parent
commit
6bb8107a5a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      locations/ParChurch.qsrc

+ 2 - 2
locations/ParChurch.qsrc

@@ -285,12 +285,12 @@ if $ARGS[0] = 'reducepavrep':
 	if fame['pav_sex'] > pavsextreshold:
 	if fame['pav_sex'] > pavsextreshold:
 		gs 'fame', 'pav', 'sex', pavsexreduction
 		gs 'fame', 'pav', 'sex', pavsexreduction
 	else
 	else
-		gs 'fame', 'pav', 'sex', pavsextreshold
+		gs 'fame', 'pav', 'sex', -pavsextreshold
 	end
 	end
 	if fame['pav_prostitute'] > pavsextreshold:
 	if fame['pav_prostitute'] > pavsextreshold:
 		gs 'fame', 'pav', 'prostitute', pavsexreduction
 		gs 'fame', 'pav', 'prostitute', pavsexreduction
 	else
 	else
-		gs 'fame', 'pav', 'prostitute', pavsextreshold
+		gs 'fame', 'pav', 'prostitute', -pavsextreshold
 	end
 	end
 end
 end