* Decrease mana when removing stat points from int
* Revert "Decrease mana when removing stat points from int"
This reverts commit 5e25e13552.
* add mana when stat updates are saved
* don't allow users to deallocate saved stat points in the ui
* use flag to determine whether to add mana points
* add test for not adding mana points when flag is set
* Revert "add test for not adding mana points when flag is set"
This reverts commit 6e8ff36a79.
* Revert "use flag to determine whether to add mana points"
This reverts commit 274e2d0d33.
* Revert "add mana when stat updates are saved"
This reverts commit 422bd49191.
* move client side stat allocation to when save is pressed
* update displayed total stats during editing
* Fix lint errors
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>