mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
No description
* Moved critical hit calculation from _addPoints() to _calculateDelta(). Added user as an input argument to _calculateDelta() so for critical hit calculation * Changed test to expect task value of 1.5 after critical hit * Revert "Moved critical hit calculation from _addPoints() to _calculateDelta(). Added user as an input argument to _calculateDelta() so for critical hit calculation" This reverts commit 51b8ab6498d989d1f9494ac43c2605f3d4d14a35. * Moved critical hit calculation to _changeTaskValue(). Use value stored in user._tmp.crit in _addPoints() * Test is no longer affected by critical hits * Removed unneeded comment * Added WIP test of critical hits * Want the crit function to return 2 to test critical hits * Changed crit function to export as a function within an object so that it can be stubbed for testing. References to the crit() function were updated to call crit.crit() instead * Added test for increased experience on critical hits |
||
|---|---|---|
| .ebextensions | ||
| .github | ||
| database_reports | ||
| gulp | ||
| keys/google | ||
| migrations | ||
| scripts | ||
| test | ||
| vagrant_scripts | ||
| webpack | ||
| website | ||
| .babelrc | ||
| .bowerrc | ||
| .buildpacks | ||
| .codeclimate.yml | ||
| .dockerignore | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .nodemonignore | ||
| .nvmrc | ||
| .travis.yml | ||
| apidoc.json | ||
| bower.json | ||
| config.json.example | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Gruntfile.js | ||
| gulpfile.js | ||
| LICENSE | ||
| npm-shrinkwrap.json | ||
| package.json | ||
| Procfile | ||
| README.md | ||
| VAGRANT.md | ||
| Vagrantfile.example | ||
Habitica

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 Contributing to Habitica - "Coders (Web & Mobile)" section.
To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.
Then read Guidance for Blacksmiths for additional instructions and useful tips.