Commit graph

253 commits

Author SHA1 Message Date
Alice Harris
66aebf2e80 make Gold=>Gem conversion cap message more accurate in terms of when to wait until - fixes https://github.com/HabitRPG/habitrpg/issues/3996 2014-11-25 05:16:36 +10:00
Tyler Renelle
03f47cd0aa feat(private-messages): add a "clear all" fn 2014-11-21 08:42:08 -07:00
Tyler Renelle
1bca160eb6 feat(private-messages): add features for private-messaging (deletePM, blockUser) 2014-11-20 19:06:00 -07:00
Tyler Renelle
f68f884525 refactor(reflist): helper fn for reflist.push (not used now, but might
need soon)
2014-11-20 16:22:42 -07:00
Tyler Renelle
a38c8761a2 feat(premium): add premium features 2014-11-18 16:21:16 -08:00
Tyler Renelle
83a22b8133 feat(webhooks): add webhooks operations 2014-11-16 20:03:20 -08:00
Tyler Renelle
97a9ecf1f4 feat(quests): goldeknight auto-drops at 40 2014-11-11 21:04:21 -07:00
Matteo Pagliazzi
e788872932 fix typo in previous commit 2014-11-03 19:55:10 +01:00
Matteo Pagliazzi
e692b4b392 do not allow user to revive if not dead, fixes HabitRPG/habitrpg#3599 2014-11-03 19:53:27 +01:00
Tyler Renelle
d3ca101dd8 feat(quests): add moonstone chain, lvl drop at 60 2014-10-23 10:33:20 -06:00
Alice Harris
6b0701cd26 Merge pull request #315 from sbreiler/develop
Fix percent function to return minimum zero
2014-10-11 10:16:25 +10:00
Tyler Renelle
d843ff1ae4 feat(item-store): unlock item-store earlier (lvl 1), see #4134 2014-10-09 17:23:54 -06:00
Tyler Renelle
1e9c1295e5 fix(moment): fix deprecated warnings, use updated moment syntax 2014-10-08 17:38:37 -06:00
Matteo Pagliazzi
166d53ac1b chore(github): merge pr #327 2014-10-07 17:01:06 +02:00
Brandon Reid
d0cebce605 Fixed bug when calculating the reverse delta.
Added in a case for a todo with checklists
so the gp and exp for those are reversed correctly.
Added a couple test cases for checking then unchecking tasks.
2014-10-06 13:33:43 -06:00
Tyler Renelle
8cef966713 fix(spookDust): user serverside method for spookdust as it's path-protected 2014-10-03 00:31:49 -06:00
Tyler Renelle
e754ed48f7 fix(memleak): add a "nullify" function to user wrapper. This is stupid,
find a better way. See HabitRPG/habitrpg#4079
2014-10-02 16:44:33 -06:00
Brandon Reid
65b3561fb0 Changed calculateDelta() so when unchecking a task it removes the right amount of gold and exp 2014-10-01 17:13:51 -06:00
deilann
2054d10de2 release pets feature 2014-09-29 15:11:24 -07:00
Tyler Renelle
731d75a059 Merge branch 'fall-fest' into develop 2014-09-20 14:01:30 -06:00
Steffen Breiler
9bfd38c5f9 Fix percent function to return minimum zero
The percent function is used for ui-bars. When returning numbers below zero the bar will show up with 100% width, 'cause css don't know negative width.
2014-09-18 01:26:52 +02:00
Tyler Renelle
2790ee1bab feat(fall): Add candy drops. Add canDrop & canBuy to food, handled separately for this
event and future events
2014-09-16 17:25:58 -06:00
Alice Harris
b93445ed93 allows stats to change for users who used rebirth 2014-09-17 06:24:39 +10:00
Alice Harris
86b61ae458 Merge pull request #304 from Alys/pushToBottom-sortFix
add support for pushTaskToBottom to help with To-Do sort order bug
2014-09-12 14:05:55 +10:00
Alice Harris
99e4f9b458 fix rebirth issues: reset levelDrops, wipe buffs, deequip all gear types 2014-09-10 18:40:08 +10:00
Alice Harris
a1e3505667 implement pushToBottom 2014-09-09 17:26:00 +10:00
Tyler Renelle
8708207c1c fix(inventory): disallow buying if !item.canOwn(user) 2014-09-05 15:54:53 -06:00
Tyler Renelle
4f56d7e761 Merge pull request #295 from Alys/deathGearLoss
report correct equipment/gear item lost on death (most of the time)
2014-09-02 16:03:37 -06:00
Alice Harris
86b6663485 merge change for predictableRandom(options?.seed) 2014-09-02 13:47:57 +10:00
Alice Harris
bb85f6e3dd allow correct equipment item to be lost on death - mostly fixes https://github.com/HabitRPG/habitrpg/issues/2789 2014-09-02 12:35:40 +10:00
Alice Harris
3c8ebf96d7 fix typo option/options - fixes https://github.com/HabitRPG/habitrpg-shared/issues/293 2014-09-01 12:28:32 -06:00
Alice Harris
9dfa30a61f allow tasks to stay visible while being edited, even if the edit changes an attribute that would normally cause the task to be hidden 2014-08-23 02:17:01 +10:00
Tyler Renelle
a55738b06f Merge branch 'Fandekasp-sortable_tags' into develop 2014-08-19 15:02:06 -06:00
Tyler Renelle
d3520e48e4 feat(quests): lvl 15 ATOM quest drop 2014-08-12 16:18:08 -07:00
Adrien Lemaire
5ca2084744 add shared logic for tag sorting 2014-08-10 23:01:30 +09:00
Joby Walker
aa4bd944c9 Fix assignment in freeRebirth test 2014-08-01 13:20:13 -07:00
Joby Walker
24e0f705b2 Fix freeRebirth flag
Coffee is assuming the negation (!) applies to the AND of the two tests
should be just !user.flags.freeRebirth = true.  Fixes 4 test errors.
2014-08-01 01:35:07 -07:00
Joby Walker
6a4897b27f Fix User Reset
5cd0039 added regression where reset on new user would fail because user.items.gear.owned is undefined
This patch allows tests to get *much* further than before
2014-07-31 20:56:00 -07:00
Tyler Renelle
327a337a26 Merge pull request #234 from HabitRPG/sabe/crits
feat(crits): Make crit hits boost MP
2014-07-18 16:59:02 -06:00
Tyler Renelle
f1db2bf1d5 refactor(dotSet): move dotSet & dotGet to exports 2014-07-17 12:55:45 -06:00
Tyler Renelle
5cd0039171 fix(reset): don't remove special gear on reset #3349 2014-07-07 19:06:48 -06:00
Phillip Thelen
c190d49b4f Check if items are owned before equipping
This checks if the user actually owns the pet, mount or gear they are trying to equip. This also prevents users from setting things that do not exist. (before users could set the value for pets and mounts to any string. Not sure if this leaves possiblilities for xss attacks. but this fix also prevents that).
2014-06-27 14:36:25 +02:00
Sabe Jones
eb07a9c77a feat(crits): Make crit hits boost MP
Another nudge to make STR more attractive: critical hit on a To-Do multiplies MP gain.
2014-06-22 14:44:39 -05:00
Tyler Renelle
d95528a205 feat(backgrounds): add backgrounds feature 2014-06-10 17:47:08 -06:00
Tyler Renelle
781ebfccce fix(equipment): only markModified(gear) when equipping gear 2014-06-09 13:31:32 -06:00
Alice Harris
9f084e1ac4 show "unequipped" message instead of "equipped" when taking off gear 2014-05-27 12:08:15 +10:00
Tyler Renelle
73b8128af9 fix(accessories): add body accessory to user model, fixes https://github.com/HabitRPG/habitrpg/issues/3346 2014-05-22 23:23:30 +02:00
Alice Harris
c09e06e73a fix #3513 - if contrib level is NaN, use 0
Fixes (I hope) https://github.com/HabitRPG/habitrpg/issues/3513. NOTE that private code will need to be edited too - ref f49ed5436c
2014-05-22 16:25:08 +10:00
Sabe Jones
f49ed5436c feat(drops): Tweak contrib bonuses
At @deilann's request, divide the drop chance bonus for contributor levels in half and add a +1/level contributor bonus (subject to the subscription multiplier once implemented in private code) to drop cap.
2014-05-18 22:42:31 -05:00
Tyler Renelle
b0f4c9e9e3 Merge pull request #217 from Alys/messageEvolve
insert messageEvolve into correct locations, replacing incorrect messageAlreadyMount
2014-05-17 19:21:24 -06:00