Bläddra i källkod

[fixed] Chore is an action and not type. So you could increase max willpower coing chores which was not the intention.

bgkjdgbizgblzdgbr 6 månader sedan
förälder
incheckning
0f0d08a11e
1 ändrade filer med 12 tillägg och 10 borttagningar
  1. 12 10
      locations/willpower.qsrc

+ 12 - 10
locations/willpower.qsrc

@@ -937,17 +937,19 @@ end
 if $ARGS[0] = 'pay':
 if $ARGS[0] = 'pay':
 	if will_cost < 1 and cheatVars['willpower'] = 0: will_cost = 1
 	if will_cost < 1 and cheatVars['willpower'] = 0: will_cost = 1
 	pcs_willpwr -= will_cost
 	pcs_willpwr -= will_cost
-	if $ARGS[1] = 'force':
-		if willpowermax < 150:
-			will_counter += 10
-		end
-		if will_enforced < 20: will_enforced += 1
-		gs 'exp_gain', 'persuas', rand(1,2)
-	elseif $ARGS[1] ! 'chore':
-		if willpowermax < 150:
-			will_counter += 1
+	if $ARGS[0] ! 'chore':
+		if $ARGS[1] = 'force':
+			if willpowermax < 150:
+				will_counter += 10
+			end
+			if will_enforced < 20: will_enforced += 1
+			gs 'exp_gain', 'persuas', rand(1,2)
+		else
+			if willpowermax < 150:
+				will_counter += 1
+			end
+			if $ARGS[1] = 'resist': gs 'exp_gain', 'sprt', rand(1,2)
 		end
 		end
-		if $ARGS[1] = 'resist': gs 'exp_gain', 'sprt', rand(1,2)
 	end
 	end
 	if will_counter >= 20: will_counter -= 20 & willpowermax += 1
 	if will_counter >= 20: will_counter -= 20 & willpowermax += 1
 end
 end