Commit Graph

206 Commits

Author SHA1 Message Date
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 https://github.com/HabitRPG/habitrpg-shared/commit/f49ed5436c60d6b135909a3c8714347d99499701
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
Tyler Renelle fea7e9e69d Merge pull request #218 from Alys/todo-with-checklist-untick
fix bug where an un-checked to-do with checklist removes only part of reward
2014-05-17 19:20:48 -06:00
Alice Harris 7edeb53cda add correct message for equipping equipment
Currently, when you put on equipment, you see the messageBought notification. There was no messageEquipped notification in the code so I've added one.

I've updated ALL locale files IN ENGLISH, following the convention already in place for using English when there is no translation (e.g., locales/pl/messages.json, locales/sv/messages.json).
2014-05-18 10:45:24 +10:00
Alice Harris 8f07f06cb0 fix bug where an un-checked to-do with checklist removes only part of reward
When a to-do is checked off, the rewards are increased by the number of checklist items that have been completed. However as reported in https://github.com/HabitRPG/habitrpg/issues/3474, if the to-do is later un-checked, then the rewards subtracted are not being similarly increased by the number of checklist items completed. This fix will change that - the number of checklist items completed will have an equal effect on checking and unchecking a to-do.

This of course won't fix the problem of, upon unchecking, not being able to calculate the exact value of the rewards that had been given upon checking, so there will still be a discrepancy between checking and unchecking, but it will be much smaller than it is currently.
2014-05-17 19:55:08 +10:00
Alice Harris 01595fcf1a insert messageEvolve into correct locations, replacing incorrect messageAlreadyMount
Currently, when you feed a pet enough to turn it into a mount, you see the messageAlreadyMount notification ("You already have that mount. Try feeding another pet."). This fix changes it to the messageEvolve notification ("You have tamed <%= egg %>, let's go for a ride!").
2014-05-17 19:44:59 +10:00
Tyler Renelle 519154dc89 Revert "feat(archive_todo)" (see http://goo.gl/mCygbz) 2014-05-15 23:48:02 -06:00
Tyler Renelle 8ca6ad47b5 Merge pull request #204 from deilann/scrollfix
if negative scrolls, allow purchase to work
2014-05-11 17:03:25 -06:00
Tyler Renelle 629fec7b23 Merge pull request #203 from deilann/removingthelevelcap
Removing level cap, free rebirth at 100
2014-05-11 16:29:35 -06:00
Tyler Renelle c72c8a948f fix(cron): plan check so it passes tests 2014-05-11 15:35:35 -06:00
deilann 3dcd5e15bf scroll quickfix 2014-05-11 09:30:43 -07:00
deilann 5fd1f2eb0f level 100 modal strings and removing level cap 2014-05-11 07:53:31 -07:00
Matteo Pagliazzi a1c53ec2aa fix(i18n): fix messages, pet and mount names and update locales 2014-05-06 19:51:36 +02:00
Matteo Pagliazzi fcd33f32ee fix(i18n): missing strings 2014-05-06 19:51:35 +02:00
Matteo Pagliazzi ad7a890160 refactor(i18n): start using strings for api messages 2014-05-06 19:51:33 +02:00
Matteo Pagliazzi 5a897eedb1 refactor(i18n): use i18n-ready strings in index.coffee for content 2014-05-06 19:51:33 +02:00
Matteo Pagliazzi 7af95edc8c chore(i18n:): implement i18n module, start moving content to locales/en/content.json, recompile 2014-05-06 19:51:31 +02:00
Tyler Renelle d92a2eb86e feat(subscriptions): allow one month after sub start-date before it's terminated. 2014-05-05 23:59:28 -06:00
Tyler Renelle 00147a8671 Merge pull request #198 from jbutz/todo_archive_flag_cron
feat(archive_todo): add cron to archive todos
2014-05-03 21:44:11 -06:00
Sabe Jones 676d90fda0 fix(cron): Move daily MP after Perfect Day
Previously, users gained MP very early in the cron process. This meant that no buffs affected daily MP gain. Now, MP gain happens after the Perfect Day bonus is applied, so getting an INT boost that pushes you over 100 max MP gives you a tangible benefit.
2014-04-22 21:05:58 -05:00
Jason Butz 52ff5a7d5a feat(archive_todo): update to archive todos
I thought this bit of code was in the other repo. So long as part 3 follows
close behind this, there shouldn't be an issue
2014-04-18 12:33:45 -04:00
Jason Butz 17aed0a9d7 feat(archive_todo): add cron to archive todos
This is part 2 of habitrpg#3062. Part 1 MUST be merged first.
Part 1 pull request: habitrpg#3302
2014-04-18 11:45:21 -04:00
Tyler Renelle b93bf8be7f feat(accessories): add body accessory & better handling of gear sorting 2014-04-16 17:44:13 -06:00
Tyler Renelle bd8d2dcbd0 feat(eggQuest): add april egg quest 2014-04-06 21:29:34 -06:00
deilann 1db3b7cf98 free orb of rebirth for level 100(+) users
Orb of Rebirth now only spits out "not enough gems" if user is under level 100 and has less than 8 gems. It also only charges if the user is below level 100.
2014-03-27 22:27:37 -07:00
Peter Hatch e019985e81 Gain the class bonus when using event equipment that belongs to your class. 2014-03-23 15:29:47 -07:00
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