|
@@ -244,7 +244,7 @@ if $ARGS[0] = '':
|
|
if salolast < salo: salolast += 1
|
|
if salolast < salo: salolast += 1
|
|
|
|
|
|
!!Setting the pcs_apprnc bonus based on fat and strength
|
|
!!Setting the pcs_apprnc bonus based on fat and strength
|
|
- bmi_calc = FUNC('body_shape', 'bmicalc', salo, pcs_hgt)
|
|
|
|
|
|
+ bmi_calc = FUNC('body_shape', 'bmicalc')
|
|
bodykoef = FUNC('body_shape', 'setbodykoef')
|
|
bodykoef = FUNC('body_shape', 'setbodykoef')
|
|
|
|
|
|
!!This is to clean up unused variables
|
|
!!This is to clean up unused variables
|
|
@@ -309,9 +309,7 @@ if $ARGS[0] = 'setbodykoef':
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'bmicalc':
|
|
if $ARGS[0] = 'bmicalc':
|
|
- !! ARGS[1] salo
|
|
|
|
- !! ARGS[2] pcs_hgt
|
|
|
|
- result = 10000 * (30 + ARGS[1] / 2 + (ARGS[2] - 170) * 7 / 10) / (ARGS[2] * ARGS[2])
|
|
|
|
|
|
+ result = 10000 * (30 + salo / 2 + (pcs_hgt - 170) * 7 / 10) / (pcs_hgt * pcs_hgt)
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'bmiadjust':
|
|
if $ARGS[0] = 'bmiadjust':
|
|
@@ -480,7 +478,7 @@ if $ARGS[0] = 'initial':
|
|
!!pcs_weight = (pcs_hgt * 62 / 170) + (vhips + (vofat * 2)) / 4 + tits
|
|
!!pcs_weight = (pcs_hgt * 62 / 170) + (vhips + (vofat * 2)) / 4 + tits
|
|
|
|
|
|
!!BMI Calculation
|
|
!!BMI Calculation
|
|
- bmi_calc = FUNC('body_shape', 'bmicalc', salo, pcs_hgt)
|
|
|
|
|
|
+ bmi_calc = FUNC('body_shape', 'bmicalc')
|
|
|
|
|
|
!!BMI Descriptions
|
|
!!BMI Descriptions
|
|
if bmi_calc < 16:
|
|
if bmi_calc < 16:
|