Browse Source

[cahnged] Resist willpower calls will now be modified by the spirit attibute, and passing such willpower checks will give experience for spirit.

bgkjdgbizgblzdgbr 2 weeks ago
parent
commit
0c86089ca1
1 changed files with 4 additions and 1 deletions
  1. 4 1
      locations/willpower.qsrc

+ 4 - 1
locations/willpower.qsrc

@@ -22,7 +22,7 @@
 
 !!There are two special cases: 'misc' and 'skill'
 
-!!'skill': Bridging a gap in skill for doing something, for succeeding when not quite meeting the required skill/attribute: gs 'willpower', '<skill>_lvl'
+!!'skill': Bridging a gap in skill for doing something, for succeeding when not quite meeting the required skill/attribute: gs 'willpower', '(skill)_lvl'
 !!Example for 'skill': gs 'willpower', 'skill', 'resist', 'pcs_makupskl_lvl' for a willpower check regarding something with pcs_makupskl_lvl (you can also apply 'easy' or 'hard' difficulty to a skill check)
 
 !!'misc': Use this 'action' if no other 'action' fits the scene. You can set three difficulty levels for this check 'easy', 'medium', 'hard' (Difficulty is only for 'misc' checks)
@@ -928,6 +928,8 @@ if $ARGS[0] = 'difficulty':
 	end
 	if $ARGS[1] = 'force':
 		will_cost = will_cost*(200-pcs_persuas)/100
+	elseif $ARGS[1] = 'resist':
+		will_cost = will_cost*(200-pcs_sprt)/100
 	end
 	if cheatVars['willpower'] = 1: will_cost = 0
 end
@@ -945,6 +947,7 @@ if $ARGS[0] = 'pay':
 		if willpowermax < 150:
 			will_counter += 1
 		end
+		if $ARGS[1] = 'resist': gs 'exp_gain', 'sprt', rand(1,2)
 	end
 	if will_counter >= 20: will_counter -= 20 & willpowermax += 1
 end