|
@@ -68,8 +68,10 @@ if $ARGS[0] = 'modify':
|
|
|
npcRelSetVal = rand(1,2)
|
|
|
elseif $ARGS[2] = 'love':
|
|
|
npcRelSetVal = rand(3,4)
|
|
|
+ gs 'exp_gain', 'humint', rand(0,1)
|
|
|
elseif $ARGS[2] = 'adore':
|
|
|
npcRelSetVal = rand(5,6)
|
|
|
+ gs 'exp_gain', 'humint', rand(1,2)
|
|
|
elseif $ARGS[2] = 'dislike':
|
|
|
npcRelSetVal = 0-rand(1,2)
|
|
|
elseif $ARGS[2] = 'hate':
|
|
@@ -80,6 +82,14 @@ if $ARGS[0] = 'modify':
|
|
|
else
|
|
|
npcRelSetVal = 0
|
|
|
end
|
|
|
+
|
|
|
+ !Modify for people skill
|
|
|
+ if npcRelSetVal > 0:
|
|
|
+ npcRelSetVal += (npcRelSetVal*pcs_humint)/100
|
|
|
+ elseif npcRelSetVal < 0:
|
|
|
+ npcRelSetVal -= (npcRelSetVal*pcs_humint)/200
|
|
|
+ end
|
|
|
+
|
|
|
!Make sure the new value fits within correct range
|
|
|
npcRelSetVal += npc_rel[$ARGS[1]]
|
|
|
if npcRelSetVal > 100: npcRelSetVal=100
|