Commit graph

183 commits

Author SHA1 Message Date
Tyler Renelle
d3e3775ecd [https://github.com/HabitRPG/habitrpg/issues/2001] hotfix, perception
increases GP by .03/pt
2013-12-17 00:53:23 -07:00
Tyler Renelle
4eab12b355 [https://github.com/HabitRPG/habitrpg/issues/2001] hotfix, perception
increases GP by .03/pt
2013-12-17 00:42:32 -07:00
Tyler Renelle
2ecbb3b3ce [#2001] some hack-job balancing of pickpocket. I'm gonna need someone
with math skills to do some real balancing. Also, this commit makes
greens/blues better to pick-pocket than reds! I think that's important
for motiviation (@sabrecat @danielthebard)
2013-12-17 00:15:39 -07:00
Tyler Renelle
c2ace688b9 fix to special gear not showing up properly 2013-12-16 22:44:35 -07:00
Tyler Renelle
7e82e2f5e0 force a hard-refresh if an error is detected (temporary, revisit if
causing issues)
2013-12-16 22:09:20 -07:00
Tyler Renelle
75b966bda4 [https://github.com/HabitRPG/habitrpg/issues/1994] fixes to purchasing shirts 2013-12-16 15:59:46 -07:00
Tyler Renelle
ce04027802 classes: fixes & balancing of spells 2013-12-16 12:54:46 -07:00
Tyler Renelle
64db3041da classes: add .3*PER to chanceMultiplier in drops. Add .5+(.05*STR) to
crits (.03 chance) This is a temporary until we get all the numbers worked out. @SabreCat
2013-12-16 11:47:06 -07:00
Tyler Renelle
953e062cbe classes: charge gems for change-class 2013-12-16 11:25:59 -07:00
Tyler Renelle
b055b2d9a4 classes: replenish 10MP on cron 2013-12-16 11:11:47 -07:00
Tyler Renelle
49ba74f9bd classes: add maxMP to statsComputed [https://github.com/HabitRPG/habitrpg/issues/1994] 2013-12-16 11:09:03 -07:00
Tyler Renelle
e6d684ed7a show message when buying items 2013-12-16 00:34:48 -07:00
Tyler Renelle
58a2f2de67 move updateStore back outside of user.fns. It's causing issues there,
need to investigate
2013-12-15 22:37:40 -07:00
Tyler Renelle
5d390561d2 move userServices.js to habitrpg-shared, so mobile can share the code 2013-12-15 21:29:28 -07:00
Tyler Renelle
2b92ced77a Merge remote-tracking branch 'origin/sabe/classes' into develop
Conflicts:
	script/content.coffee
2013-12-15 18:24:52 -07:00
Tyler Renelle
c8a3c8ce9e APIv2 some finalization of apiv2. Re-rigging some query/params vars, and bug-fixes 2013-12-15 16:52:08 -07:00
Tyler Renelle
7e8ae43958 apiv2: move tags (update, delete, create) to Shared.ops 2013-12-15 14:02:15 -07:00
Tyler Renelle
ab27840a61 mark task*tags as modified (since Schema.Types.Mixed) 2013-12-15 13:23:27 -07:00
Sabe Jones
7b2c21f538 Include the ??? Helm 2013-12-15 13:51:52 -06:00
Sabe Jones
e869bc281c Complete draft of rogue, backer, and contributor gear 2013-12-15 13:39:03 -06:00
Tyler Renelle
786061d116 classes: fixes to two-handed handling 2013-12-15 11:26:13 -07:00
Tyler Renelle
63765ec013 classes: rogue tree = knife*4 > chuck > katana > hook. alas that we were
pressed for time, we can revisit later. Edit starter rogue details for
content.coffee
2013-12-14 23:42:31 -07:00
Sabe Jones
ba580f2e41 Class, backer, contrib equipment WIP 2013-12-14 20:03:49 -06:00
Tyler Renelle
f939ca7d8e customizations: rename skins for more political correctness (see https://trello.com/c/YKXmHNjY/306-customization-redo) 2013-12-14 15:29:30 -07:00
Tyler Renelle
ab7e05b19c bug fix subtractPoints() for hp modification 2013-12-14 13:19:48 -07:00
Tyler Renelle
6a107db7a3 death: notify users of broken item 2013-12-14 13:01:13 -07:00
Tyler Renelle
2d23803207 classes: use predictable randomness. This allows us to run an op on both
client and server, and if randomness is involved (eg, item drops,
critical hits, losing gear/stats on death) - then it will be equivalent
on both client and server, while still seeming "random". This is
required for the new death mechanic. Kudos to @snicker for providing the
predictableRandom() function. @paglias we can probably stop using _.tmp
now, and simply flag on the client when user drops an item / streak
bonus. @SabreCat this will be used for crits, I'll keep you posted
2013-12-14 12:49:37 -07:00
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
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