Browse Source

[fixed] `max all` cheat affecting `magik` in `nonmagic` starts

LinaHirata 3 months ago
parent
commit
516d51e418
1 changed files with 2 additions and 0 deletions
  1. 2 0
      locations/Cheatmenu_din.qsrc

+ 2 - 0
locations/Cheatmenu_din.qsrc

@@ -1190,6 +1190,8 @@ $cheatmenu['setAttrs'] = {
 	loop_index = 0
 	!! skip stren_plus and butt_tr
 	loop_index_max = arrsize('$att_name') - 2
+	!! skip magik in nonmagic starts
+	if $start_type[1] = 'nomagic': loop_index_max -= 1
 	:set_attrs_loop
 		gs 'shortgs', 'setStat', $att_name[loop_index], ARGS[0]
 		loop_index += 1