Commit Graph

147 Commits

Author SHA1 Message Date
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 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
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 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
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 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 617d29b3fb classes: support buying special gear (backer, contrib, etc) from item store 2013-12-05 15:48:13 -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 4818c0a830 classes: temporarily switch rogues to knives instead of bows, revisit
this commit - incomplete
2013-12-05 03:46:11 -07:00
Tyler Renelle 2a417cd201 classes: add level requirements for spells, remove derby cleanup, unlock
classes properly
2013-12-04 23:53:15 -07:00
Tyler Renelle a0ea8dbca2 costumes: add costume support (supporting habitrpg#5fea978) 2013-12-04 22:50:43 -07:00
Tyler Renelle 9c135482a2 [#37] classes: move m/f => broad/slim, add those body-types in, fix hair positioning 2013-12-04 20:00:50 -07:00
Tyler Renelle 091600d7fc classes: add _statsComputed property, and sample
`user.stats.buffs.stealth` handling (@SabreCat @danielthebard)
2013-12-02 19:14:29 -07:00
Tyler Renelle f662b3af18 Merge branch 'master' into classes
Conflicts:
	dist/habitrpg-shared.js
	dist/spritesheets.css
	script/items.coffee
2013-12-01 19:24:40 -07:00
BlackEdder 9fad649c64 Added comment about further changes that will be needed 2013-12-01 18:46:53 +00:00
Tyler Renelle 9976610652 classes: armory WIP 2013-11-30 16:32:09 -07:00
Tyler Renelle 282e105ea3 [https://github.com/HabitRPG/habitrpg/issues/1057] don't exit-early when
attempting to detect if they've switched timezones. Also, don't need to
sanitize user.lastCron in shared, do it in Mongoose
2013-11-29 17:15:41 -07:00
Tyler Renelle bf7f7b6583 [#1057] use sanitized o.dayStart, not options.dayStart. slightly better sanitize(dayStart) 2013-11-29 16:47:08 -07:00
Sabe Jones b2a4d215a8 Draft of names, descriptions, stats, and costs for class-based equipment. 2013-11-29 17:31:43 -06:00
Nick Gordon f977bd5171 I don't know much about coffeescript, but this build should pass now 2013-11-28 12:46:49 -08:00
BlackEdder 10ab2a9374 Calculate chance to drop using a slowly increasing function
Maximum of the function is probability of 0.75. The old system would
give a guaranteed drop at a modifier of 20. With this function the
probability is then roughly .55.
2013-11-28 18:06:48 +00:00
Nick Gordon 328a9d28dc suggested fix for adding "special" pets so that the list does not have to be duplicated multiple times. the user model can be updated in habitrpg to pull from here instead of hard coding it 2013-11-27 22:50:19 -08:00
Tyler Renelle 3d93f63216 classes: multi-class items WIP 2013-11-23 17:00:55 -07:00
Daniel the Bard c2810a4074 Merge branch 'classes' of https://github.com/DanielTheBard/habitrpg-shared into classes
Conflicts:
	script/items.coffee
2013-11-23 14:27:50 -05:00
Daniel the Bard fc39169b7a Updated Abilities
Not sure how balanced they are. Will probably require some play-testing. I'm sure we'll make adjustments as we go along.
Also built this on the assumption of maybe starting with maybe 30mp, and gaining 2 mp per point of INT?
2013-11-23 14:03:30 -05:00
Daniel the Bard 2544c13045 Class Abilities Updated 2013-11-23 13:41:42 -05:00
Tyler Renelle 1ef6bb18a8 classes WIP 2013-11-21 10:15:44 -08:00
Matteo Pagliazzi 7e437e405d fix for countPets, working when originalCount is 0 2013-11-20 21:37:40 +01:00
Matteo Pagliazzi ec1681fce4 add countPets helper 2013-11-18 16:07:23 +01:00
Sabe Jones 4fbc31d1e6 Change "HP" to "Health" and clarify Potion type 2013-11-17 09:55:04 -06:00
Matteo Pagliazzi 4547417d62 build, export moment & lodash as helpers (to be used in $rootScope) 2013-11-17 13:27:50 +01:00
Matteo Pagliazzi 3a2edb6539 remove relative date & upgrade & export moment 2013-11-17 13:24:36 +01:00
Tyler Renelle ecd7a32974 Merge pull request #40 from therufs/fix-rarity
Fix drop ratios
2013-11-14 20:37:02 -08:00
Ruthan c9aeb65d55 Rebalance potion ratios (version 2) 2013-11-14 20:52:24 -05:00