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