Closed xackery closed 1 year ago
This was lightly discussed in eqemu coders on discord, but basically.. each of these can be replaced from table.getn(var) to #var
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersa/encounters/mpg_hate.lua#L234
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersb/encounters/mpg_endurance.lua#L129 line 129, 132, 135, 138, 141, 144, 147
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersc/encounters/mpg_foresight.lua#L131 line 131, 149, 208, 372
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chamberse/encounters/mpg_adaptation.lua#L167
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersf/encounters/mpg_corruption.lua#L140
etc..I'll do a PR real quick
This was lightly discussed in eqemu coders on discord, but basically.. each of these can be replaced from table.getn(var) to #var
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersa/encounters/mpg_hate.lua#L234
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersb/encounters/mpg_endurance.lua#L129 line 129, 132, 135, 138, 141, 144, 147
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersc/encounters/mpg_foresight.lua#L131 line 131, 149, 208, 372
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chamberse/encounters/mpg_adaptation.lua#L167
https://github.com/ProjectEQ/projecteqquests/blob/74d2d7b68b0149fc6fee9f2204c60e39dc690570/chambersf/encounters/mpg_corruption.lua#L140
etc..I'll do a PR real quick