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
01fae2a2f0
Merge pull request #76 from Alys/patch-3
...
subtract MP when unticking a todo (instead of add)
2014-01-05 14:52:50 -08:00
Tyler Renelle
9692338a73
Merge pull request #73 from Alys/patch-2
...
fix(?) for issue 2222 - untick removes too little XP,GP
2014-01-05 14:49:49 -08:00
Tyler Renelle
f923798388
Merge pull request #72 from Alys/patch-1
...
change food.key to food.text (displayed text only)
2014-01-05 14:48:53 -08:00
Alice Harris
9ce3749d65
subtract MP when unticking a todo (instead of add)
...
Currently, when you untick a completed todo, you GAIN MP. Lines 837-839 of this change will cause you to loose it instead.
Line 841 will prevent your MP becoming negative if you used up all your MP before unticking the todo... BUT do we want to prevent negative MP under that circumstance? Perhaps it should be allowed to go negative? The circumstance I'm thinking of is:
1. You tick off a todo, causing your MP to reach (for example) 10.
2. You cast a spell that costs 10 MP. MP is now 0.
3. You realise that you had ticked off the todo accidentally (or deliberately to rort the system!) and so you untick the todo, which (without line 841) would cause your MP to go to -1. Strictly speaking, it SHOULD be -1 because you had spent MP that you hadn't truly earned, but negative MP might look weird and cause "bug" reports. Line 841 will prevent it being negative.
2014-01-06 07:38:26 +10: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
Alice Harris
6c5eae1847
fix(?) for issue 2222 - untick removes too little XP,GP
...
This is a proposed fix for issue 2222 ("unticking a todo with a checklist removes much less XP and GP than it should") BUT I HAVE NOT TESTED THIS (I don't have a local install yet - sorry). Please see my comments at the end of that issue. Note that I don't know why "if direction is 'up'" was originally included - there might have been (and still be) a good reason for it.
2014-01-05 19:46:27 +10:00
Tyler Renelle
2d8dd47414
autoAllocate: more code compactifying (for fun)
2014-01-04 18:11:13 -07:00
Alice Harris
fc39ae4a4a
change food.key to food.text (displayed text only)
...
Change food.key to food.text in displayed text, to stop the "potatoe" typo being seen.
2014-01-05 10:37:07 +10: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
1803bdb2ed
fix https://github.com/HabitRPG/habitrpg/issues/2073
2014-01-02 21:09:26 -07:00
Tyler Renelle
8523f68672
expose api.pets
2014-01-02 16:30:25 -07:00
Cole Gleason
737fbd737c
Add Critical Hit notificaiton via user._tmp
2014-01-02 13:36:49 -06:00
Alice Harris
93531ac24a
Tools of the Trade description now mentions drops
...
Edited description for Tools of the Trade to state that it increases the chance of drops (because the spell buffs PER and PER is used to calculate "chance" in the randomDrop function)
2014-01-02 11:58:30 +10: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
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
640da7aa54
rebirth: return user in response
2013-12-31 08:00:47 -07: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
af499a0663
fix https://github.com/HabitRPG/habitrpg/issues/2172 save task.tags
2013-12-29 16:46:25 -07:00
Tyler Renelle
dfa25c6f3a
fix https://github.com/HabitRPG/habitrpg/issues/2156 stack stealth
2013-12-28 22:01:44 -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
0c9c078928
Merge pull request #59 from HabitRPG/sabe/classes
...
Content update to match #2019 fix
2013-12-27 07:58:55 -08:00
Tyler Renelle
4ee8e47700
Merge pull request #62 from HabitRPG/sabe/tweak
...
Improve food drop notification phrasing
2013-12-27 07:58:09 -08: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
050d266970
don't force-refresh on errors
2013-12-25 13:00:48 -07:00
Tyler Renelle
84ef3fb861
API: better task defaults (for 3rd-party up/down scoring)
2013-12-25 10:56:21 -07:00