No description
Find a file
aszlig 4f2d066d66 client: Fix display of class bonus for other users (#10376)
Whenever one is hovering an item from another user, the bonuses of these
items are shown for the own user. So for example if you're a mage and
view a Royal Magus Robe of another mage, the class bonus is 6.

However if you're a warrior, the class bonus displays as 0 because the
attributes grid is always using the stats for the own user even if
viewing equipment of a different user.

I've fixed this by moving the user object to the properties in
attributesGrid and passing the current user from every other Vue file
that's using attributesGrid.

Not sure whether this is the right approach, as I'm no expert in Vue.js
but some testing with the client now shows the correct values.

Signed-off-by: aszlig <aszlig@nix.build>
2018-05-25 12:38:02 +02:00
.ebextensions Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.github Update pull request template to mention issue number instead of url 2018-05-13 15:42:44 +02:00
database_reports Clean up references to repo as HabitRPG/habitrpg (#8742) 2017-06-06 18:51:54 -07:00
gulp Payment refactor (#10325) 2018-05-06 15:12:00 -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 feat(content): May Subscriber Items 2018-05-24 18:25:36 +00:00
scripts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
test Fix 9248: challenge creator should not automatically join their own challenge (#10383) 2018-05-25 12:03:39 +02:00
vagrant_scripts Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
webpack fix svgo options 2018-02-14 12:05:53 +01:00
website client: Fix display of class bonus for other users (#10376) 2018-05-25 12:38:02 +02:00
.babelrc Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01: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 Upgrade tests tools and lint migrations and scripts (part 2) (#9998) 2018-02-17 18:11:24 +01:00
.eslintrc fix: eslint: re-order packages 2016-12-26 16:04:36 +01:00
.gitignore Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.nodemonignore add website/raw_sprites/** to list of files ignored by nodemon (#10274) 2018-04-26 10:46:49 +02:00
.nvmrc Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
.travis.yml Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
config.json.example remove stackimpact 2018-04-30 19:07:46 +02:00
docker-compose.dev.yml Update the docker compose process (#9724) 2018-01-29 14:56:08 -06:00
docker-compose.yml pinning mongodb container to recommended, supported version (#10270) 2018-04-28 17:37:19 +02:00
Dockerfile Docker: yarn is not necessary anymore 2018-03-23 16:20:00 +01:00
Dockerfile-Production chore(i18n): update locales 2018-05-24 18:33:40 +00:00
gulpfile.js Upgrade gulp (and gulp deps) (#9950) 2018-02-04 18:18:10 +01:00
LICENSE Fix grammar mistakes in license file 2016-06-21 06:42:20 -05:00
package-lock.json 4.43.0 2018-05-24 18:34:13 +00:00
package.json 4.43.0 2018-05-24 18:34:13 +00:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md Changed Member List number in Guilds (#10268) 2018-04-28 17:43:59 +02:00
VAGRANT.md HabitRPG -> Habitica text changes 2015-07-31 18:05:10 +10:00
Vagrantfile.example Update Vagrantfile.example to forward port 8080 (#9732) 2018-01-12 16:32:09 -06:00

Habitica Build Status Code Climate Coverage Status Bountysource Open Source Helpers

Greenkeeper badge

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.