Jelajahi Sumber

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

anjuna krokus 2 bulan lalu
induk
melakukan
e1dea73530
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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