Browse Source

Merge remote-tracking branch 'Anjuna/master'

Kevin_Smarts 2 weeks ago
parent
commit
521568636f
1 changed files with 10 additions and 2 deletions
  1. 10 2
      locations/npcStat.qsrc

+ 10 - 2
locations/npcStat.qsrc

@@ -457,7 +457,11 @@ if $ARGS[1] ! '' and npcStat_i > 0:
 		$dick_class<<npcStat_i>>		= $npcStatVars['dick_class']
 		$dick_desc<<npcStat_i>>			= $npcStatVars['dick_desc']
 		$dick_desc_pref<<npcStat_i>>	= $npcStatVars['dick_desc_pref']
-		silavag<<npcStat_i>>			=  npcStatVars['sexskill'] / 50
+		if npcStatVars['sexskill'] > 2:
+			silavag<<npcStat_i>>		=  min(npcStatVars['sexskill'] / 34, 2)
+		else
+			silavag<<npcStat_i>>		=  npcStatVars['sexskill']
+		end
 		npcAge<<npcStat_i>>				=  npcStatVars['age']
 		$npcHair<<npcStat_i>>			= $npcStatVars['hair']
 		$npcClo<<npcStat_i>>			= $npcStatVars['outfit']
@@ -500,7 +504,11 @@ else
 	$dick_class[npcStat_i]		= $npcStatVars['dick_class']
 	$dick_desc[npcStat_i]		= $npcStatVars['dick_desc']
 	$dick_desc_pref[npcStat_i]	= $npcStatVars['dick_desc_pref']
-	silavag[npcStat_i]			=  npcStatVars['sexskill'] / 50
+	if npcStatVars['sexskill'] > 2:
+		silavag[npcStat_i]		=  min(npcStatVars['sexskill'] / 34, 2)
+	else
+		silavag[npcStat_i]		=  npcStatVars['sexskill']
+	end
 	 npcAge[npcStat_i]			=  npcStatVars['age']
 	$npcHair[npcStat_i]			= $npcStatVars['hair']
 	$npcClo[npcStat_i]			= $npcStatVars['outfit']