habitica/website/common/script/ops
Alyssa Batula d2756278c3 Only unequip Gen 1 pets/mounts when releasing pets/mounts, fixes #5366 (#8119)
* Only unequip Gen 1 pets/mounts when releasing pets/mounts

* Changed mount declaration to match releasePets

* Check if a pet/mount is a drop type instead of checking for its name in the list of pets

* Changed references to pet and mount to petInfo and mountInfo for consistency with releasePets and releaseMounts

* Test that releasePets, releaseMounts, and releaseBoth do not unequip quest pets

* Fixed test names, and tests verify that a pet/mount is/is not a drop pet/mount on release

* Removed unneeded comments
2016-10-20 22:00:15 -05:00
..
addTag.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
addTask.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
allocate.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
allocateNow.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
blockUser.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
buy.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
buyArmoire.js refactor: move randomVal to a lib 2016-09-26 11:55:07 -05:00
buyGear.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
buyHealthPotion.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
buyMysterySet.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
buyQuest.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
buySpecialSpell.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
changeClass.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
clearPMs.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
deletePM.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
deleteTag.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
deleteTask.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
disableClasses.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
equip.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
feed.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
hatch.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
hourglassPurchase.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
index.js Webhook improvements (#7879) 2016-10-02 09:16:22 -05:00
markPMSRead.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
openMysteryItem.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
purchase.js changed gemCost to include the amount of gems 2016-10-15 18:10:22 +05:30
readCard.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
rebirth.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
releaseBoth.js Only unequip Gen 1 pets/mounts when releasing pets/mounts, fixes #5366 (#8119) 2016-10-20 22:00:15 -05:00
releaseMounts.js Only unequip Gen 1 pets/mounts when releasing pets/mounts, fixes #5366 (#8119) 2016-10-20 22:00:15 -05:00
releasePets.js Only unequip Gen 1 pets/mounts when releasing pets/mounts, fixes #5366 (#8119) 2016-10-20 22:00:15 -05:00
reroll.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
reset.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
revive.js fix(api,client): Pass in predictable random to revive randomVal calls 2016-09-30 08:39:30 -05:00
scoreTask.js Shows quest progress notification when completing task #7922 (#7951) 2016-09-23 20:41:31 -05:00
sell.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
sleep.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
sortTag.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
sortTask.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
unlock.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
updateTag.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
updateTask.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00