Browse Source

[fixed] set _mem to _exp - 1 for all attributes and skills for new characters to fix large skill changes during first day of play since it was previously only set to _exp during cikl when sleeping overnight after the first day of playing

sovietmercader 5 years ago
parent
commit
dcd1ca89de
1 changed files with 1 additions and 0 deletions
  1. 1 0
      locations/stat_sklattrib.qsrc

+ 1 - 0
locations/stat_sklattrib.qsrc

@@ -140,6 +140,7 @@ if attsklupdate = 0:
 	dynamic "
 		if pcs_<<$attskltmp>> > 0 and <<$attskltmp>>_lvl = 0:
 			<<$attskltmp>>_exp = (expadj * (pcs_<<$attskltmp>> - 1) * (pcs_<<$attskltmp>> - 1) / 180) + 1
+			<<$attskltmp>>_mem = <<$attskltmp>>_exp - 1
 			<<$attskltmp>>_lvl = pcs_<<$attskltmp>>
 			<<$attskltmp>>_lvlst = <<$attskltmp>>_lvl
 		end