No description
Find a file
Alyssa Batula 016447ec77 Critical Hits now affect boss damage fixes #5429 (#8092)
* 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
2017-01-18 08:11:39 -07:00
.ebextensions Node 6 and NPM 4 (#8081) 2016-12-12 21:51:53 +01:00
.github Move hr to prevent UserID comment from showing 2016-11-14 10:58:03 -06:00
database_reports Merge remote-tracking branch 'remotes/Alys/eyewear1' into develop 2014-11-29 08:33:28 -07:00
gulp gulp/gulp-transifex-test.js: fixed variable name typo (#8389) 2017-01-10 10:07:35 +00:00
keys/google change Google iap-live for Android mobile app gem purchases, at negue's request 2015-12-03 06:22:59 +10:00
migrations chore(migration): update Bailey to use monk 2017-01-10 20:47:58 +00:00
scripts API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
test Critical Hits now affect boss damage fixes #5429 (#8092) 2017-01-18 08:11:39 -07:00
vagrant_scripts Change install_node.sh to install npm 3 instead. Default RAM for vagrant box is now 4 GB. (#7478) 2016-05-28 11:53:39 +10:00
webpack fix build by not requiring optional package in prod 2017-01-16 18:31:29 +01:00
website Critical Hits now affect boss damage fixes #5429 (#8092) 2017-01-18 08:11:39 -07:00
.babelrc API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
.bowerrc rename website/client to website/client-old 2016-09-14 15:06:32 +02:00
.buildpacks refactor(tasks) improve UI consistency 2014-11-27 10:32:57 +00:00
.codeclimate.yml Only list javascript in .codeclimate.yml 2015-08-02 17:54:05 +02:00
.dockerignore Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
.editorconfig Create .editorconfig 2016-09-07 08:44:57 -05:00
.eslintignore client: replace deprecated vue-resource with axios, lint more file 2017-01-15 20:49:15 +01:00
.eslintrc fix: eslint: re-order packages 2016-12-26 16:04:36 +01:00
.gitignore Vue Store (#8071) 2016-09-29 13:32:36 +02:00
.nodemonignore Vue Project Setup (#8018) 2016-09-18 21:51:20 +02:00
.nvmrc Node 6 and NPM 4 (#8081) 2016-12-12 21:51:53 +01:00
.travis.yml Node 6 and NPM 4 (#8081) 2016-12-12 21:51:53 +01:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
bower.json fix(client): bump version of ngInfinitScroll 2016-10-22 08:14:09 -05:00
config.json.example Gift Subscriptions Promo (#8270) 2016-12-08 18:08:56 -08:00
docker-compose.dev.yml Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
docker-compose.yml Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
Dockerfile Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
Gruntfile.js New Client: working navigation (#8131) 2016-11-18 19:20:25 +01:00
gulpfile.js Add semantic-ui (#8076) 2016-09-27 09:34:45 +02:00
LICENSE Fix grammar mistakes in license file 2016-06-21 06:42:20 -05:00
npm-shrinkwrap.json 3.68.0 2017-01-18 01:26:58 +00:00
package.json 3.68.0 2017-01-18 01:26:58 +00:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md fix(coveralls): update badge for /habitica 2017-01-10 22:25:40 -06:00
VAGRANT.md HabitRPG -> Habitica text changes 2015-07-31 18:05:10 +10:00
Vagrantfile.example Change install_node.sh to install npm 3 instead. Default RAM for vagrant box is now 4 GB. (#7478) 2016-05-28 11:53:39 +10: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 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.