|
@@ -103,30 +103,30 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'CalcVisibleAgePenalty':
|
|
|
if vidage < 20:
|
|
|
- tempAttributePenelty = func('shortgs','round_divide', (5*(20 - vidage)), 2)
|
|
|
+ tempAttributePenalty = func('shortgs','round_divide', (5*(20 - vidage)), 2)
|
|
|
else
|
|
|
- tempAttributePenelty = 0
|
|
|
+ tempAttributePenalty = 0
|
|
|
end
|
|
|
|
|
|
- result = func($this, 'AdjustFromBMI', tempAttributePenelty)
|
|
|
- killvar 'tempAttributePenelty'
|
|
|
+ result = func($this, 'AdjustFromBMI', tempAttributePenalty)
|
|
|
+ killvar 'tempAttributePenalty'
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'CalcTeethPenalty':
|
|
|
if pcs_teeth > 0:
|
|
|
- tempAttributePenelty = 10 * pcs_teeth
|
|
|
+ tempAttributePenalty = 10 * pcs_teeth
|
|
|
elseif pcs_teeth = 0:
|
|
|
- tempAttributePenelty = 5
|
|
|
+ tempAttributePenalty = 5
|
|
|
else
|
|
|
- tempAttributePenelty = 0
|
|
|
+ tempAttributePenalty = 0
|
|
|
end
|
|
|
|
|
|
if pcs_missing_teeth > 0:
|
|
|
- tempAttributePenelty += 10 * pcs_missing_teeth
|
|
|
+ tempAttributePenalty += 10 * pcs_missing_teeth
|
|
|
end
|
|
|
|
|
|
- result = func($this, 'AdjustFromBMI', tempAttributePenelty)
|
|
|
- killvar 'tempAttributePenelty'
|
|
|
+ result = func($this, 'AdjustFromBMI', tempAttributePenalty)
|
|
|
+ killvar 'tempAttributePenalty'
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'SetBodyShapeBonus':
|
|
@@ -174,11 +174,11 @@ if $ARGS[0] = 'SetBodyShapeBonus':
|
|
|
if succubusflag = 1:
|
|
|
tempBodyShapeBonus += 10
|
|
|
else
|
|
|
- if strenbuff > 180:
|
|
|
+ if strenbuf > 180:
|
|
|
tempBodyShapeBonus -= 70
|
|
|
- elseif strenbuff > 160:
|
|
|
+ elseif strenbuf > 160:
|
|
|
tempBodyShapeBonus -= 50
|
|
|
- elseif strenbuff > 140:
|
|
|
+ elseif strenbuf > 140:
|
|
|
tempBodyShapeBonus -= 30
|
|
|
elseif strenbuf <= 5 or strenbuf > 120:
|
|
|
tempBodyShapeBonus -= 20
|