Sfoglia il codice sorgente

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

bgkjdgbizgblzdgbr 6 mesi fa
parent
commit
0f0d08a11e
1 ha cambiato i file con 12 aggiunte e 10 eliminazioni
  1. 12 10
      locations/willpower.qsrc

+ 12 - 10
locations/willpower.qsrc

@@ -937,17 +937,19 @@ end
 if $ARGS[0] = 'pay':
 	if will_cost < 1 and cheatVars['willpower'] = 0: will_cost = 1
 	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
-		if $ARGS[1] = 'resist': gs 'exp_gain', 'sprt', rand(1,2)
 	end
 	if will_counter >= 20: will_counter -= 20 & willpowermax += 1
 end