mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-25 15:15:52 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| content | ||
| fns | ||
| libs | ||
| ops | ||
| .eslintrc | ||
| constants.js | ||
| count.js | ||
| cron.js | ||
| i18n.js | ||
| index.js | ||
| statHelpers.js | ||