mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
* add another check if previous gear is owned * respect gear purchase order * catch error with miscalculation of equipment number floor * add integration test for proper equipment purchasing order * fix syntax * add 'previousGearNotOwned' string * rewrite logic for different starting levels for wep vs others * separate and add tests for armor and weapon * rename variable for clarification * skip check if itemIndex is NaN * change obscure NaN check for readability * change conditional from checking NaN to Int
2.2 KiB
2.2 KiB