Commit graph

179 commits

Author SHA1 Message Date
Sabe Jones
4178f0ba32 fix(quests): Remove double chance for quest drops
Makes collection quests maybe, possibly take more than a single day to complete for an average party. Doubled chances not fed through diminishingReturns: overkill.
2014-03-21 22:56:28 -05:00
Tyler Renelle
50132f1a35 feat(equipment): remove base gear from equipment tabs. now clicking the
same gear you have equipped will un-equip it
2014-03-21 15:06:26 -06:00
Tyler Renelle
74f62e7c1c feat(accessories): add head accessory 2014-03-21 14:02:29 -06:00
Tyler Renelle
e53ef26d4c feat(flower): add flower customization option 2014-03-21 12:30:36 -06:00
Jason Butz
887a0c3c8e Fix #730: id property ignored when updating task
When calling the user.updateTask function if there was an id in the body it would override the id from the request URI
2014-03-20 16:56:34 -04:00
Sabe Jones
4d33d33868 fix(drops): Correct rarity tiers
Quick and dirty fix to Golden potions being more common than Zombie etc. Golden potions are now 2% of drops (down from 3%); Zombie and Cotton Candy potions each 2.33% of drops (up from 2%); Red, Shade, and Skeleton 3% of drops (unchanged); Base, White, and Desert 4% of drops (unchanged).

Fixes #169.
2014-03-06 22:34:43 -06:00
Sabe Jones
505b473d42 Fix(drop-cap): Reduce PERception drop boost
+1 drop/day per 10 PER was a bit too much. A tricked-out subscriber could keep getting drops unto 50 or so! This commit cuts the boost by more than half; should still be noticeable, but not quite so overkill at the high end.
2014-03-03 20:16:35 -06:00
Sabe Jones
d232743f2a fix(drops): Ratchet up base chance some more
Ups the base drop chance to an expected 15% for typical tasks, brings back diminishing returns for super bonuses, reduces effect of checklists. Should be acceptable to most people?
2014-03-02 12:46:09 -06:00
Sabe Jones
b0f574d598 fix(strength): Remove threat reduction, increase crit chance
Tweaks the STR attribute's algorithmic effects. (1) Task "redness" no longer declines faster with high STR. (2) The 3% chance of a critical hit is multiplied by a percentage factor equal to STR. (3) The value of STR in dealing damage to bosses is increased by 25% (.5% instead of .4%).

Fixes HabitRPG/habitrpg/#2464.
2014-03-02 12:44:23 -06:00
Sabe Jones
734d558580 fix(drops): Boost base drop chance
Initial feedback from the drop chance overhaul was that non-minmaxed characters had their drops severely curtailed, while tricked-out Rogues with enormous streaks were still scoring drops every time. Lots of complaining ensued! This commit doubles the base chance, establishes a minimum base chance of 2%, and halves the effectiveness of the high-end offenders.
2014-03-01 18:56:09 -06:00
Tyler Renelle
a21e0ac440 Merge pull request #150 from Alys/patch-3
prevent critical hit when unticking a task
2014-02-27 09:38:29 -08:00
Sabe Jones
c32d91a331 fix(drops): Further overhaul drop chance
Reduces the divisors for several modifiers to give them a more noticeable effect (especially PERception, so Rogues continue to be durn sharp).
2014-02-26 20:44:43 -06:00
Sabe Jones
e0e0b154fc Merge branch 'develop' of https://github.com/HabitRPG/habitrpg-shared into sabe/drops 2014-02-26 20:35:37 -06:00
Tyler Renelle
1a40a52ab5 feat(premium): add mystery-item handling 2014-02-22 20:42:35 -08:00
Tyler Renelle
cdd59adab9 feat(accessories): add back accessory 2014-02-22 20:42:34 -08:00
Sabe Jones
98d91a24ce fix(drops): Increase base value, improve comments 2014-02-16 23:52:26 -06:00
Sabe Jones
b75000188f fix(drops): Overhaul drops to a percentage multiplier system
WIP. Initial draft of an overhaul to drop chance. Most important bits: (1) A modular system of percentage-based multipliers on the task-value-based initial drop chance. (2) Perception increases the daily drop cap by 1 per 10 points.

Fixes HabitRPG/habitrpg/#1922.
2014-02-16 11:12:04 -06:00
Alice Harris
17b9104e09 prevent critical hit when unticking a task
Fixes https://github.com/HabitRPG/habitrpg/issues/2356

Currently, when you untick a todo or daily, there's a chance of a critical hit. This prevents that.
2014-02-16 08:21:32 +10:00
Tyler Renelle
608b829d7e feat(valentine): valentine event 2014-02-13 18:20:12 -07:00
Tyler Renelle
1b2bcc4683 feat(event-tracking): track purchases 2014-02-11 17:48:44 -07:00
Lorian
c39d2a8a13 Separated stable into dropped pets, quest pets, and rare pets, and made countPets only count the former. Made countMounts only count dropped and quest-hatched mounts, not rare mounts. 2014-02-08 16:56:07 -08:00
Tyler Renelle
35d0688f4a Merge pull request #123 from HabitRPG/sabe/fix
fix(checklists): Bring MP behavior in sync with XP/Gold
2014-02-04 11:04:53 -08:00
Tyler Renelle
4ff9a3de7d fix(quests): drop vice1 when lvl 30+, fixes https://github.com/HabitRPG/habitrpg/issues/2694 2014-02-01 16:14:47 -08:00
Tyler Renelle
1b36425099 fix(drops): don't random-drop cakes, fixes #2700 2014-02-01 15:44:56 -08:00
Sabe Jones
14fc4a3c31 fix(checklists): Bring MP behavior in sync with XP/Gold
Previously, the player would accrue Mana for every checklist item when a To-Do was completed, regardless of whether or not those checklist items were complete. This was inconsistent with XP and Gold, which were only multiplied based on the number of checklist items previously clicked. Now Mana acts the same way, multiplying MP scored by (1 + completed checklist items).
2014-02-01 10:26:26 -06:00
Tyler Renelle
2a2024262b fix(errors): ooo, and some other stray unecessary 500s 2014-01-30 22:02:35 -07:00
Tyler Renelle
1331ff0f12 fix(pets): 401 error when can't hatch a pet, not 500 2014-01-30 21:51:44 -07:00
Tyler Renelle
05b139be78 chore(logging): remove console logging 2014-01-30 15:21:03 -07:00
Cole Gleason
8fdae0b35c Merge branch 'sabe/attributes' into develop
Conflicts:
	dist/habitrpg-shared.js
	locales/en/main.json
2014-01-30 10:44:49 -06:00
Matteo Pagliazzi
6cf7160f65 fix(purchase) add a check for user.balance 2014-01-29 15:55:02 +01:00
Sabe Jones
33222e0f15 feat(attributes): Add backfill button in flat and classbased allocation modes 2014-01-28 08:55:42 -06:00
Tyler Renelle
be986e09f6 fix(beastmaster): allow hatching pets when petOwned<=0 (fyi
@deilann). Man, browserify adds so many lines - this commit is a
one-liner, lol
2014-01-26 17:47:27 -08:00
Tyler Renelle
bbecfb3ffd Merge pull request #116 from deilann/petcounting
adding mechanic to count previously owned pets
2014-01-26 16:57:53 -08:00
deilann
44a5a9c716 adding mechanic to count previously owned pets 2014-01-25 17:58:18 -08:00
Cole Gleason
b246a6d430 Merge branch 'round-boss' into develop 2014-01-24 15:33:30 -06:00
Cole Gleason
e76c81b3d7 refactor(api.percent): allow for round direction to be specified 2014-01-24 15:31:08 -06:00
Cole Gleason
a501d5c3ba perf(ultimateGear): move ultimateGear from ops to fns so it only runs once 2014-01-24 00:02:51 -06:00
Cole Gleason
2283093845 fix(ultimateGear): fix bug where ultimateGear isn't awarded
This does several things:
- Moves the calculation of the ultimateGear achievement into its own
function on user.ops.
- Only computes ultimateGear if item is last and the user does not
already have the achievement
- Fixes bug where ultimateGear was not awarded if user wasn't wearing
their class gear at the time of item purchase.
- Adds content.classes and content.gearTypes which we should start using
elsewhere.
- Added tests for ultimateGear

Fixes HabitRPG/habitrpg#2232.
2014-01-23 23:49:04 -06:00
Tyler Renelle
56cc5db9b7 fix(quests): don't drop canBuy:false items 2014-01-21 14:49:56 -08:00
Tyler Renelle
587a660ac1 fix(todos): add dateCompleted to todos so they're archived 3 days after completion, not 3 days after creation. fixes https://github.com/HabitRPG/habitrpg/issues/2478 2014-01-19 17:11:19 -08:00
Tyler Renelle
77b2e5400f Merge pull request #100 from HabitRPG/sabe/fix
fix(calculateDelta): don't detrain stats on ripening To-Dos
2014-01-19 15:18:05 -08:00
Sabe Jones
a770d0c72f fix(checklists): Make checklist To-Do behavior more intuitive
Previously, all To-Do scoring was multiplied by the length of the checklist, including cron "reddening" and ultimate scoring. The checkboxes themselves only affected MP bonuses. Now, checklist tasks redden at the same rate as any other task, and the score multiplier only applies to checklist items that have actually been accomplished when the user concludes the overall To-Do.

Fixes HabitRPG/habitrpg#2327, HabitRPG/habitrpg#2405, and HabitRPG/habitrpg#2483.
2014-01-19 10:36:04 -06:00
Sabe Jones
70394ea0b9 fix(autoAllocate): don't detrain stats on ripening To-Dos
Previously, on cron, the reddening of To-Dos would subtract from the stat training for task-based auto-allocation. This had a tendency to cause users with lots of active tasks to get backward stat allocations on levelup. Now the "down" direction for To-Dos is not counted for attribute training. (Missed Dailies will still detrain.)

Fixes HabitRPG/habitrpg/#2247
2014-01-19 09:36:23 -06:00
Sabe Jones
2ae7d1dede Merge pull request #86 from HabitRPG/sabe/preferences
Finish up @wc8 suggested user preferences
2014-01-19 06:40:34 -08:00
Alice Harris
841399b981 stop wasting Stealth on todos and completed dailies
If I understand the code correctly, the stealth buff was being decremented regardless of task type and completion status. This change causes stealth to be used up only for dailies that have not been completed.
2014-01-19 11:53:38 +10:00
Cole Gleason
aafaee92e7 fix(perfect-day): do not count non-active dailies when calculating perfect-day
When we calculate the perfect-day achievement, we should check to see if
the daily had repeat set for yesterday as well as if it was completed.

Fixes HabitRPG/habitrpg#2446
2014-01-17 23:20:21 -06:00
Tyler Renelle
18ccbb51df Merge remote-tracking branch 'colegleason/drops' into develop
Conflicts:
	dist/habitrpg-shared.js
2014-01-15 17:40:07 -07:00
Tyler Renelle
5dac20d9e8 Merge remote-tracking branch 'colegleason/checklist-mp' into develop
Conflicts:
	dist/habitrpg-shared.js
2014-01-15 16:52:13 -07:00
Tyler Renelle
8df7fe65c5 feat(perfect-day achievement) here's one for the road @wc8 @sabrecat, if
you perform a perfect day of dailies, you get an achievement PLUS lvl/2
buff to all stats for the next day
2014-01-15 16:26:47 -07:00
Cole Gleason
c4e7e13ee1 remove console.log from MP calculation 2014-01-15 00:13:25 -06:00