Commit graph

332 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
bf52efa2ca classes: add a second grunt-spritesmith pass which creates
.customize-options.SPRITE_NAME to resize buttons as 60x60 & reposition
the sprite. This seems pretty dirty because the images are parsed twice,
@paglias let me know if you think there's a better way
2013-12-13 21:48:23 -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
Tyler Renelle
9bee4b9f9e Merge branch 'master' into develop 2013-12-08 22:57:18 -07:00
Tyler Renelle
1144752f52 remove reroll from items.coffee 2013-12-08 19:02:50 -07:00
Tyler Renelle
c28eb2f11c Merge remote-tracking branch 'Fandekasp/shirts' into develop 2013-12-08 18:57:14 -07:00
Dušan Juretić
f37c1a9f21 Test for food drop 2013-12-08 20:14:16 -03:00
Tyler Renelle
0846c8191a Merge pull request #49 from Xatres/master
Updated Starting Tasks
2013-12-08 08:22:56 -08:00
Tyler Renelle
40b89dda46 Merge pull request #46 from BlackEdder/max_drop_chance_clean
Calculate chance to drop using a slowly increasing function
2013-12-08 08:21:28 -08:00
Xatres
bee95205f4 Updated Starting Tasks, Mk 2
Quickedit to clarify first task.
2013-12-08 09:58:09 -05:00
Adrien Lemaire
053d900abb add 17 new shirts, slim+broad 2013-12-08 23:24:59 +11:00
Tyler Renelle
6d2e67fab6 Merge branch 'master' into classes
Conflicts:
	dist/habitrpg-shared.js
	dist/spritesheets.css
	img/sprites/Egg_Sprite_Sheet.png
2013-12-07 19:50:34 -07:00
Tyler Renelle
2dbbb3e521 Merge pull request #51 from therufs/master
re-tweak potion ratios
2013-12-07 18:04:33 -08:00
Ruthan
2953aa58fc Rebalance potion drop ratios 2013-12-07 20:16:13 -05:00
Ruthan
c9eac2ff8e Merge branch 'master' of https://github.com/therufs/habitrpg-shared
Conflicts:
	dist/habitrpg-shared.js
	script/algos.coffee
2013-12-07 20:12:03 -05:00
Tyler Renelle
1ec0dc12b3 Revert "mounts: remove food temporarily. merging to master so we can run schema"
This reverts commit bf8c0dd9dc.

Conflicts:
	dist/habitrpg-shared.js
	script/algos.coffee
2013-12-07 20:09:45 -05:00
Tyler Renelle
d7407506bc Revert "mounts: remove food temporarily. merging to master so we can run schema"
This reverts commit bf8c0dd9dc.

Conflicts:
	dist/habitrpg-shared.js
	script/algos.coffee
2013-12-07 11:37:01 -07:00
Tyler Renelle
deb7e83394 cleanup death handling 2013-12-07 11:30:24 -07:00
Xatres
f044e9cbb1 Updated Starting Tasks
Starting tasks updated to prevent overlap with updated Beginner's Tour. Also fleshed out the description of task colors.
2013-12-07 11:22:55 -05:00
Dušan Juretić
e963674384 fix preening user history test by freezing time 2013-12-06 23:08:29 -03:00
Tyler Renelle
86dae794b1 classes: death WIP (handling lose 1 gear piece, 1 stat point). This will
need revisiting and testing
2013-12-06 17:45:07 -07:00
Tyler Renelle
acae9c36fe classes spritesmith #37 move from using *_warrior_0 for all "blank"
items, to *_base_0. Any left-over {type}_{class}_0 now are
significant (eg, weapon_*_0, as well as shield_rogue_0). This is
necessary for proper traversing up/down class shop, and allows for
completely random item deletions on death.
2013-12-06 15:41:11 -07:00
Tyler Renelle
ee558c9287 classes: move some files around 2013-12-06 14:30:01 -07:00
Tyler Renelle
41da82ff57 classes: add twoHanded attr on weapons (@sabrecat easy-peasy) 2013-12-06 11:45:30 -07:00
Tyler Renelle
47524726ea spritesmith #37 shield_warrior_0 (aka, no shield) 2013-12-06 09:25:24 -07:00
Tyler Renelle
665166507e classes: move item-store sorting from web to shard (so we can share with
mobile)
2013-12-05 18:19:39 -07:00
Tyler Renelle
ba6e416e4d 300-tier: support buying 300 tier (see http://goo.gl/qDCmX6) (FYI @danielthebard @SabreCat) 2013-12-05 16:13:56 -07:00
Tyler Renelle
b5c928238b grunt-spritesmith #37 contributor pet 2013-12-05 15:56:47 -07:00
Tyler Renelle
617d29b3fb classes: support buying special gear (backer, contrib, etc) from item store 2013-12-05 15:48:13 -07:00
Tyler Renelle
69d248f826 grunt-spritesmith #37 backer & contrib spritesheets support 2013-12-05 15:46:08 -07:00
Tyler Renelle
ee4777d5e8 classes spritesmith #37 remove chin outlines from helms so they won't
cover beards. move head_warrior_0 to head_0 so it doesn't add
extra chin outline. We'll need to figure out how to handle class_0 for
each class
2013-12-05 10:46:27 -07:00
Tyler Renelle
9ce88004cb classes spritesmith #37 rogue knife weapon/off-hand shop-sprites 2013-12-05 10:10:10 -07:00
Tyler Renelle
3c68bd90da classes & spritesmith [#37] fixes to top 3 rogue helms 2013-12-05 09:49:56 -07:00
Tyler Renelle
4818c0a830 classes: temporarily switch rogues to knives instead of bows, revisit
this commit - incomplete
2013-12-05 03:46:11 -07:00
Tyler Renelle
e7c7ab099e spritesmith [#37] @crystalphoenix BEARDS! 2013-12-05 02:27:43 -07:00
Tyler Renelle
7c6d2cfe31 classes spritesmith [#37] add shop 300-tier items 2013-12-05 02:04:03 -07:00
Tyler Renelle
1fd63c00c1 grunt-spritesmith [#37] add initial shop-sprites (these may need adjusting) 2013-12-05 01:34:07 -07:00