No description
Find a file
Jalansh c0bf2cffea
Casting Chilling Frost and Stealth skill again will not be processed and return an error instead. Fixes #12361. (#12404)
* Added logic for a repeating Chilling Frost skill. Added test case for redundant chilling frost skill cast. Added comments for the logic of repeating Stealth skill because of an error.

* Added logic for a repeating Stealth skill. Avoiding MP reduction still pending because of console error. Test cases pending.

* Completed the logic for a repeated Stealth skill. Added repeated frost skill cast check in common. Removed exclusive test. Test cases are pending.

* Added test case for Stealth skill recast. Fixed lint errors. Fixed a flaw in if statement which led to test case failure.

* Fixed lint errors in test case.

* Added a common JSON entry for skil recasts in three files. Other files remaining. Added Chilling Frost recast check in common code. Modified test cases.

* Added spellDisabled condition in client code.

* Reverted JSON messages for three languages. Added spellAlreadyCast attribute to JSON file in locales/en. Made changes for showing appropriate message in client code.

* Added an import for throwing BadRequest in common code. Modified test case accordingly.

* Update website/common/script/content/spells.js

Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>

* Added target and req attributes in cast() method arguments.

* Changed common code test case because of increased function parameters. Moved chilling frost test casse to common tests instead of server tests.

* Changed the test case format in common tests.

* Added a missing done statement.

* Fixed a minor error which led to failing test case. Removed the exclusive test which led to lint error.

* Fixed lint errors.

* Added a class named 'disabled' for the frontend change.

* fix(skills): style cleanup

* fix(skills): unfix

Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com>
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2020-08-09 18:25:59 +02:00
.ebextensions Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.github MongoDB Transactions (#12335) 2020-07-14 18:55:47 +02:00
apidoc apidoc: upgrade and add links to wiki 2020-07-02 18:19:15 +02:00
database_reports Scripts October 2018 (#10741) 2018-10-07 14:20:30 -05:00
gulp fix(lint): allow console logging during Gulp tasks 2020-08-04 11:44:20 -05: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
kubernetes Kubernetes support for dev environments (#8753) 2017-07-01 09:30:08 -07:00
migrations fix(migrations): better dummy require 2020-07-31 14:52:23 -05:00
scripts fix(lint): let Curly breathe 2020-07-02 16:50:41 -05:00
test Casting Chilling Frost and Stealth skill again will not be processed and return an error instead. Fixes #12361. (#12404) 2020-08-09 18:25:59 +02:00
website Casting Chilling Frost and Stealth skill again will not be processed and return an error instead. Fixes #12361. (#12404) 2020-08-09 18:25:59 +02:00
.babelrc fix babel and remove unused deps 2019-10-02 20:09:26 +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 11498: fixed issues with Dockerfile-Dev (#11518) 2019-11-27 14:01:13 -06:00
.editorconfig Create .editorconfig 2016-09-07 08:44:57 -05:00
.eslintignore Client: remove unnecessary API calls + members fixes (#12179) 2020-05-25 17:02:29 +02:00
.eslintrc.js add eslint files 2019-10-08 22:57:22 +02:00
.gitignore MongoDB Transactions (#12335) 2020-07-14 18:55:47 +02:00
.nodemonignore Sign in with Apple (#11793) 2020-04-08 18:44:30 +02:00
.nvmrc Node 12 (#11149) 2019-08-19 22:43:17 +02:00
apidoc.json apidoc: upgrade and add links to wiki 2020-07-02 18:19:15 +02:00
config.json.example API v3 Rate Limiter (#12117) 2020-07-18 15:00:09 +02:00
docker-compose.dev.yml Fix issues with local Docker development. 2019-12-31 11:47:32 -05:00
docker-compose.yml docker: mongodb3.6 2019-10-18 16:52:21 +02:00
Dockerfile fix(apple auth): add needed env var to client and encode redirect url 2020-04-18 17:41:25 +02:00
Dockerfile-Dev Fix issues with local Docker development. 2019-12-31 11:47:32 -05:00
gulpfile.js Improve i18n caching (#12030) 2020-05-05 20:31:33 +02:00
LICENSE Update LICENSE 2020-04-28 09:17:46 +05:30
package-lock.json Merge branch 'release' into develop 2020-08-03 13:27:57 -05:00
package.json Merge branch 'release' into develop 2020-08-03 13:27:57 -05:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md remove codetriage.com information (#12250) 2020-05-31 17:49:31 +02:00

Habitica Build Status Code Climate 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. The wiki pages below and the additional pages they link to will tell you how to get started on contributing code and where you can go to seek further help or ask questions:

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it in the Report a Bug guild rather than creating an issue (an admin will advise you if a new issue is necessary; usually it is not).

Have any questions about Habitica or its community? See the links in the habitica.com website's Help menu or drop in to Guilds > Tavern Chat to ask questions or chat socially!