1
0
Prechádzať zdrojové kódy

[fixes] Increased the gain and loss of max willpower as they were not changing fast enough

KevinSmarts 4 rokov pred
rodič
commit
f2b46ec99c
2 zmenil súbory, kde vykonal 5 pridanie a 4 odobranie
  1. 3 2
      locations/stat.qsrc
  2. 2 2
      locations/willpower.qsrc

+ 3 - 2
locations/stat.qsrc

@@ -440,8 +440,9 @@ if minut >= 60:
 	end
 
 	if pcs_willpwr > willpowermax: pcs_willpwr = willpowermax
-	if pcs_willpwr < 20: will_degrade += 1
-	if will_degrade >= 20: willpowermax -= 1 & will_degrade = 0
+	if pcs_willpwr < 25: will_degrade += 1
+	if will_degrade >= 5: willpowermax -= 1 & will_degrade = 0
+	if pcs_willpwr >= 50 and will_degrade > 0: will_degrade -= 1
 	if pcs_stam > stammax: pcs_stam = stammax
 
 	gs 'femcyc'

+ 2 - 2
locations/willpower.qsrc

@@ -901,8 +901,8 @@ if $ARGS[0] = 'pay':
 	pcs_willpwr -= will_cost
 	if $ARGS[1] = 'force':
 		will_counter += 1
-		if will_counter >= 5: will_counter = 0 & willpowermax += 1
-		if will_enforced < 50: will_enforced += 1
+		if will_counter >= 2: will_counter = 0 & willpowermax += 1
+		if will_enforced < 20: will_enforced += 1
 	end
 end