Julius Jung d4bc7c77a9 Check previous gear owned before purchasing next level gear (fixes #9071) (#9466)
* 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
2017-12-05 13:58:12 -06:00
2017-10-12 16:44:28 +02:00
2017-08-09 17:13:40 +02:00
2016-12-28 09:33:24 +01:00
2016-09-07 08:44:57 -05:00
2016-12-26 16:04:36 +01:00
2017-10-12 16:44:28 +02:00
2016-09-18 21:51:20 +02:00
2016-12-12 21:51:53 +01:00
2017-11-02 21:07:38 +01:00
2016-12-28 09:33:24 +01:00
2017-10-12 16:44:28 +02:00
2016-06-21 06:42:20 -05:00
2017-12-05 19:47:26 +00:00
2017-12-05 19:47:26 +00:00
2016-05-23 13:58:31 +02:00

Habitica Build Status Code Climate Coverage Status Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated.

For an introduction to the technologies used and how the software is organized, refer to Guidance for Blacksmiths.

To set up a local install of Habitica for development and testing on various platforms, see Setting up Habitica Locally.

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.8 GiB
Latest
2026-04-09 12:54:31 -05:00
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%