Commit graph

337 commits

Author SHA1 Message Date
Tyler Renelle
221574bcb2 #83 ski-sassin offhand pole should match 2nd-best regular offhand 2014-01-08 09:38:24 -07:00
Sabe Jones
7732f4af32 New user preference: open new tasks in edit mode 2014-01-07 20:16:35 -06:00
Tyler Renelle
84637ad336 fix https://github.com/HabitRPG/habitrpg/issues/2276 provide
newly-created tags with an id from the browser
2014-01-07 17:23:47 -07:00
Tyler Renelle
398a919afb Merge pull request #79 from HabitRPG/sabe/fix
Server side of Rebirth-related fix: don't remove Wolf Eggs upon drops unlock
2014-01-07 11:55:52 -08:00
Tyler Renelle
939ce14185 https://github.com/HabitRPG/habitrpg/issues/2010 allow wrapping members (don't add ops to them) 2014-01-07 10:43:00 -07:00
Sabe Jones
9d9cf0788f Rebirth-related fix: don't remove Wolf Eggs upon drops unlock if user has some already 2014-01-07 08:04:50 -06:00
Tyler Renelle
0157afb6b3 spritesmith: try using spritesmith-{TIMESTAMP}.png for image
cache-busting (@paglias good idea)
2014-01-06 22:57:35 -07:00
Tyler Renelle
eff279be5b spritesmith: reposition healer tiaras 2014-01-06 22:28:18 -07:00
Sabe Jones
d2542b05ca Rebirth fix: force Costume preference off so avatar will display new gear prior to Market unlock 2014-01-06 21:30:47 -06:00
Tyler Renelle
2635db9e51 winter: weapons should be 2nd best, not 1st. Some refactoring 2014-01-06 18:24:31 -07:00
Tyler Renelle
4b16317c15 winter: add winter-specific class gear as event-timed specials (@lemoness) 2014-01-06 17:14:17 -07:00
Tyler Renelle
c01d5d79d6 event-items: try a different approach than "unbreakable" (1335750). If they've owned it before (item==false), then they canOwn() again. In those cases, set item to 'event' 2014-01-06 17:13:44 -07:00
Tyler Renelle
1335750804 add unbreakable special items, so we can add special-event gear which users can buy during a certain period of time, but which they can't lose on death. Starting with party-hats 2014-01-06 14:15:21 -07:00
Sabe Jones
cd38cc9fb8 Merge pull request #75 from HabitRPG/sabe/tweak2
Rebirth fixes: deequip pets and mounts, allow stacking at max level
2014-01-05 15:33:02 -08:00
Sabe Jones
d7fd82039f Fix assignment operator bug 2014-01-05 17:31:08 -06:00
Tyler Renelle
63034a587b grunt 2014-01-05 16:17:46 -07:00
Sabe Jones
319689afea Rebirth fixes: deequip pets and mounts, allow stacking at max level 2014-01-05 10:17:18 -06:00
Sabe Jones
ceb7bc20bf Add some value to high Mana pools 2014-01-05 09:14:21 -06:00
Tyler Renelle
2d8dd47414 autoAllocate: more code compactifying (for fun) 2014-01-04 18:11:13 -07:00
Tyler Renelle
2721800f37 autoAllocate: compactify some code (no reason, just for the ninja
feel). Add simulation script to show results for all auto-allocate
methods for levels 1-20
2014-01-04 17:16:45 -07:00
Tyler Renelle
f4f6dcebdc Merge remote-tracking branch 'origin/sabe/attributes' into develop 2014-01-04 15:58:16 -07:00
Tyler Renelle
20376d69c0 don't hide completed todos from challenge progress modals 2014-01-03 14:42:18 -07:00
Tyler Renelle
81ca8d15b5 bring @JasonGross changes back in. Jason, updates should go to
script/content.coffee (dist/habitrpg-shared.js is a compiled file and
gets clobbered)
2014-01-03 14:18:35 -07:00
Tyler Renelle
b0666cb1e3 challenges: don't remove challenge todos on clear-completed 2014-01-03 14:17:02 -07:00
Tyler Renelle
0e6f352e70 Merge pull request #71 from JasonGross/greener->bluer
Tasks get blue when you do them often, and the text for Pickpocket should reflect this
2014-01-02 20:20:11 -08:00
Tyler Renelle
1803bdb2ed fix https://github.com/HabitRPG/habitrpg/issues/2073 2014-01-02 21:09:26 -07:00
Jason Gross
3fbb454886 Tasks get blue when you do them often, not green.
I believe the sequence is red -> yellow -> green -> blue.  The text for 'Pickpocket' now reflects this slightly better, I believe.
2014-01-02 21:25:58 -05:00
Tyler Renelle
93201b5d39 back to normal winter npc sprites 2014-01-02 16:35:49 -07:00
Tyler Renelle
24b99617e6 grunt 2014-01-02 16:31:23 -07:00
Sabe Jones
3df4724999 Merge branch 'develop' into sabe/attributes 2014-01-01 12:42:37 -06:00
Tyler Renelle
b76b275a7c winter: party hat fix, big snowball in inventory (@lemoness). Still
small one in spells list, those are 32x22. I say we just leave it
2013-12-31 08:54:26 -07:00
Tyler Renelle
0285de5098 winter: use npc_ian from holiday-event pngs, disable gif for now (revert this later) 2013-12-31 08:47:10 -07:00
Tyler Renelle
549fd7bac0 new year's eve event: party hat, new NPCs 2013-12-31 08:44:01 -07:00
Sabe Jones
4662fe151b Implement "training" over the course of a level, for task-based attribute allocation 2013-12-31 09:05:03 -06:00
Tyler Renelle
19f53c3675 Merge remote-tracking branch 'origin/sabe/rebirth' into develop
Conflicts:
	dist/customizer.css
	dist/habitrpg-shared.css
	dist/spritesmith.css
	dist/spritesmith.png
2013-12-31 07:56:35 -07:00
Sabe Jones
c4a82d4edd Daily derp! Don't return PER when STR is suggested 2013-12-30 23:09:47 -06:00
Tyler Renelle
eb016649e1 checklists: grant GP bonus for CLIs on To-Dos 2013-12-30 14:51:49 -07:00
Tyler Renelle
85c96886a3 checklists: point-match TDs for each CL-item. Bug fix on resetting CLs
on cron
2013-12-30 13:23:48 -07:00
Sabe Jones
9f4efc31ed Break out autoAllocate to its own function 2013-12-30 11:39:53 -06:00
Sabe Jones
958ec99f1a Merge branch 'develop' into sabe/attributes 2013-12-30 10:27:58 -06:00
Tyler Renelle
bb80176920 checklists WIP 2013-12-29 22:37:12 -07:00
Tyler Renelle
bb5fe9c6e5 classes: temporary stopgap for
https://github.com/HabitRPG/habitrpg/issues/2150 , burst-of-flames being
too powerful. This isn't the real solution we need something better
2013-12-29 16:58:45 -07:00
Tyler Renelle
dfa25c6f3a fix https://github.com/HabitRPG/habitrpg/issues/2156 stack stealth 2013-12-28 22:01:44 -07:00
Tyler Renelle
77a1c91422 grunt 2013-12-28 16:35:38 -07:00
Sabe Jones
0478323efc Change out one if chain for a switch, put stats in 3:2:1:1 order in code (@paglias) 2013-12-28 17:26:17 -06:00
Tyler Renelle
dfd2a17ef9 APIv2: instead of passing req to callback, passing response object so API can return the object when wrapped on the server 2013-12-28 11:51:38 -07:00
Sabe Jones
6997cd9821 Implement new "flat" and "classbased" automatic allocation modes 2013-12-28 11:56:36 -06:00
Tyler Renelle
bafa3ffd21 winter: add snowball achievement 2013-12-27 09:48:35 -07:00
Tyler Renelle
de0f2d5e48 #64 move hair_color_wips to project_files/ so they dont' get compiled to
the spritesheet (we'll move them back when they're complete). Add
 updated healer shields to shop_*, remove artifact from
 hair_bangs_rot. @crystalphoenix thanks for hard work!
2013-12-27 09:17:59 -07:00
Tyler Renelle
ebd9872474 grunt with sabe's changes 2013-12-27 09:09:49 -07:00
Tyler Renelle
82afe6e796 spritesmith: swap xmas bailey => winter bailey @lemoness 2013-12-26 15:25:51 -07:00
Sabe Jones
54ed3c9497 Fix HabitRPG/habitrpg#2100 (can't get Ultimate Gear with Mage stuff) 2013-12-26 09:11:07 -06:00
Tyler Renelle
dff68a6443 fix https://github.com/HabitRPG/habitrpg/issues/2114 (thanks @EvilTosha, was huntin that one!) 2013-12-25 20:37:49 -07:00
Sabe Jones
98556fdb23 Set the rebirth level on first achievement 2013-12-25 17:36:36 -06:00
Sabe Jones
aeb74bbbf5 Remove broken notification 2013-12-25 17:25:32 -06:00
Sabe Jones
d238592eb4 Fix NaN error on first achievement 2013-12-25 17:08:42 -06:00
Sabe Jones
701be90da2 Add achievement for rebirths 2013-12-25 16:55:07 -06:00
Tyler Renelle
84ef3fb861 API: better task defaults (for 3rd-party up/down scoring) 2013-12-25 10:56:21 -07:00
Tyler Renelle
c7b5b5e601 Merge branch 'bosses' into develop 2013-12-25 08:25:06 -07:00
Tyler Renelle
c2e01595c9 upgrade spritesmith 2013-12-25 00:34:20 -07:00
Tyler Renelle
1f3198e77b bosses: add content for evil-santa. also add "completion" field for quest content 2013-12-24 23:55:53 -07:00
Tyler Renelle
20d3c59c3b rename user.party.tally => user.party.progress 2013-12-24 21:57:46 -07:00
Sabe Jones
44d738af50 Herp derp, i can script coffee 2013-12-24 22:07:27 -06:00
Sabe Jones
6f4427b087 Fix bug (preexisting in Fortify, new in Rebirth) that zeroed out prices of custom Rewards 2013-12-24 21:55:54 -06:00
Sabe Jones
79bd322900 Complete op, except for Achievement. H/T @lefnire for the streak reset fix! 2013-12-24 21:18:29 -06:00
Tyler Renelle
9aeb4f9ffb quests: add collection quests & quest arks 2013-12-24 17:24:32 -07:00
Sabe Jones
baa2e2a8fd Try a vanilla CoffeeScript (haha) solution 2013-12-24 17:24:05 -06:00
Sabe Jones
50ffe4dcda Attempt to fix bug that turned all tasks into Dailies 2013-12-24 16:22:24 -06:00
Sabe Jones
f8b1fbda51 Fix "bounce" of Rebirth unlock. Other flags weren't sticking either; attempt alternate method of turning them off 2013-12-24 16:04:28 -06:00
Sabe Jones
8d51520b80 Compile rebirth CS into JS, fix Gem price 2013-12-24 15:36:03 -06:00
Sabe Jones
c25394ad45 Fix missing unlock logic from grunt commit 2013-12-24 08:36:53 -06:00
Tyler Renelle
883abf34dd rebirth: grunt (@sabrecat) 2013-12-23 18:59:41 -07:00
Tyler Renelle
9d49176997 gpMod typo 2013-12-23 17:46:50 -07:00
Tyler Renelle
5eadabbf10 Quests: Initial bosses WIP, change all content.*.name to content.*.key for consistency (and to make room for quest.name). Bugfix on STR adjustment 2013-12-23 00:45:39 -07:00
Tyler Renelle
7f3337c1b9 Quests: Initial bosses WIP, change all content.*.name to content.*.key for consistency (and to make room for quest.name). Bugfix on STR adjustment 2013-12-22 22:20:44 -07:00
Sabe Jones
2f48b5f63d Initial commit: Rebirth unlock notification 2013-12-22 08:34:13 -06:00
Tyler Renelle
b1a9e60c8e stats.mp++ when completing todos @wc8 @danielthebard 2013-12-21 16:44:15 -07:00
Tyler Renelle
1ba7700f43 Revert "restore MP on level up, and some additional MP on cron (based on"
This reverts commit b98cfdb066.
2013-12-21 16:38:32 -07:00
Tyler Renelle
b98cfdb066 restore MP on level up, and some additional MP on cron (based on
stats.int) @wc8
2013-12-21 15:20:10 -07:00
Tyler Renelle
918f994a97 unlock classes at level 10 (@wc8) 2013-12-21 15:05:12 -07:00
Tyler Renelle
040ae343b4 add npc_tyler for tech updates 2013-12-21 15:05:12 -07:00
Tyler Renelle
6c8e2975b4 math-balancing WIP for passive stats & abilities 2013-12-21 15:05:12 -07:00
Tyler Renelle
475d1267b2 winter: add snowball badge stack, remove candycane hat for now 2013-12-20 19:55:01 -07:00
Tyler Renelle
3965194a07 add salt spell to remove snowman effect 2013-12-20 18:34:14 -07:00
Tyler Renelle
5b92fa0f40 rename head_special_winter to head_special_candycane 2013-12-20 11:03:16 -07:00
Tyler Renelle
b9f2599f9c winter event! npcs, snowball=>snowman, new hairs/beards 2013-12-20 10:21:24 -07:00
Tyler Renelle
edd65568d0 small exp tweak, grunt for spells 2013-12-20 00:10:46 -07:00
Tyler Renelle
0a2cd8bba8 passive-stats balancing round 2 2013-12-19 19:35:01 -07:00
Tyler Renelle
6e6ab2907b grunt spritesmith 2013-12-19 18:18:50 -07:00
Tyler Renelle
dd190cbc52 make stealth higher level & mp requirement 2013-12-19 18:18:01 -07:00
Tyler Renelle
3d0364b8ad updated mage spells with @danielthebard's new content 2013-12-18 10:39:10 -07:00
Tyler Renelle
50914cd83e spelling 2013-12-18 10:23:13 -07:00
Tyler Renelle
5d40849ef1 tmp fix, make sure *some* hp is lost 2013-12-18 10:20:00 -07:00
Tyler Renelle
7c39f8c4e3 add stealth back in. @danielthebard I do insist we keep this spell. It's been in many wikia & ingame descriptions, and highly-anticipated. I think rogues, a solitary class, can do sans one party spell 2013-12-18 10:14:17 -07:00
Tyler Renelle
cb5b80a2f7 classes: spell balancing all around 2013-12-18 10:05:24 -07:00
Tyler Renelle
aa3a5c06b4 some passive stats balancing, not yet using @jfriendlys's algos, still
needs work
2013-12-18 09:32:13 -07:00
Tyler Renelle
bbc38a6532 fix drops: seed rarity & drop-chance separately. because we're using
predictableRandom, the rarity random is set NOT to be less than 75%, so
food is unlikely to drop without this fix
2013-12-17 23:24:38 -07:00
Tyler Renelle
254198c8ab classes: temp hotfix for OP pickpocket, add values instead of multiply 2013-12-17 21:52:30 -07:00
Tyler Renelle
c2a27370a1 fix https://github.com/HabitRPG/habitrpg/issues/2025 - two handed
message preventing POST to server
2013-12-17 18:19:09 -07:00
Tyler Renelle
2d568f1cf4 [https://github.com/HabitRPG/habitrpg/issues/2017] add abiltiy to opt
out of class system entirely
2013-12-17 16:43:10 -07:00
Tyler Renelle
43ce7f11cb [https://github.com/HabitRPG/habitrpg/issues/2009] fix restoring
allocatable points on change-class
2013-12-17 09:41:42 -07:00
Tyler Renelle
aef68fdc82 ensure task.priority is number for apiv1 2013-12-17 01:06:20 -07:00
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
75b966bda4 [https://github.com/HabitRPG/habitrpg/issues/1994] fixes to purchasing shirts 2013-12-16 15:59:46 -07:00
Tyler Renelle
41c2218976 [https://github.com/HabitRPG/habitrpg/issues/1994] fix TigerCub not appearing 2013-12-16 15:37:58 -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
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
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
bf52efa2ca classes: add a second grunt-spritesmith pass which creates
.customize-options.SPRITE_NAME to resize buttons as 60x60 & reposition
the sprite. This seems pretty dirty because the images are parsed twice,
@paglias let me know if you think there's a better way
2013-12-13 21:48:23 -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
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
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
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