Commit Graph

15 Commits

Author SHA1 Message Date
Tyler Renelle 8a5c46da2b classes: fix item & stat loss on death bugs 2013-12-14 11:33:11 -07:00
Tyler Renelle adc7b7f6a6 [https://github.com/HabitRPG/habitrpg/pull/1969] move armor_base_0_* to
shirt_*, special handling under user.preferences.shirt. Removed
stray pixels to bottom left.
2013-12-14 00:27:19 -07:00
Tyler Renelle 31fec0c173 fixes: unlock, task.history, customizations 2013-12-13 22:58:48 -07:00
Tyler Renelle 9142bba779 classes: add level-up stat point & auto-allocation handling 2013-12-13 17:50:09 -07:00
Tyler Renelle 2f8b4c552b classes: refactor score function. Merge all separate functions into the
score function (I'll do something for unit tests, they were just too
scattered). Factor in the new passive-stats (STR, PER, INT,
CON). They're not formalized, just starters. @SabreCat :)
2013-12-13 17:07:57 -07:00
Tyler Renelle 15826f3722 start moving scoring functions from module.exports to user.fns. Will want to clean this up & optimize 2013-12-13 15:12:41 -07:00
Tyler Renelle cb20776858 classes: migrate priority from !,!!,!!! to Number (prep for passive stats) 2013-12-12 20:40:20 -07:00
Tyler Renelle 5fd7ff9bbf migrate flags.rest => preferences.sleep 2013-12-12 20:23:32 -07:00
Tyler Renelle 6d0a2ad5b3 fix(classes) misc class fixes 2013-12-12 19:29:27 -07:00
Tyler Renelle 98be57a82c [#1977] misc fixes 2013-12-12 17:38:19 -07:00
Tyler Renelle 2956ae0462 move sortTask to user.ops
[https://github.com/HabitRPG/habitrpg/issues/1977] [https://github.com/HabitRPG/habitrpg/issues/1616]
2013-12-12 17:32:02 -07:00
Tyler Renelle a5bf3440c8 [https://github.com/HabitRPG/habitrpg/issues/1977] move sleep &
clear-completed to user.ops
2013-12-12 17:00:42 -07:00
Tyler Renelle ab5bd6d5af [https://github.com/HabitRPG/habitrpg/issues/1977] port pet-feeding to
user.ops, so that it's now available in the API. Also add handling of
200 errors to simply notify and continue on up to server (friendly messages)
2013-12-12 15:57:01 -07:00
Tyler Renelle aac5cc6d39 [https://github.com/HabitRPG/habitrpg/issues/1977] add some basic
documentation for user.ops
2013-12-11 22:20:11 -07:00
Tyler Renelle 954cdf7f29 [https://github.com/HabitRPG/habitrpg/issues/1977] APIv2 WIP - start of a framework where operations are shared between client & server. If the op is called on the client, it updates the user & then POSTs to the server with op of the same name. If called on server, it updates the user and user.save()s 2013-12-11 21:42:05 -07:00