Explorar o código

[fixed] get_class function now properly defaults to your bmi and strength as expected. Found by Jack Lagas

anjuna krokus hai 1 mes
pai
achega
e1dea73530
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      locations/body_structure.qsrc

+ 3 - 0
locations/body_structure.qsrc

@@ -4,6 +4,9 @@
 !	Get the bmi-strength class
 !	bs_class = func('body_structure', 'get_class', pcs_bmi, strenbuf)
 if $ARGS[0] = 'get_class':
+	if arrsize('ARGS') = 1: ARGS[1] = pcs_bmi
+	if arrsize('ARGS') = 2: ARGS[2] = strenbuf
+
 	!	bmi
 	if ARGS[1] < 16:
 		result = 0