mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
* Fix habits' dropdown list overlap
Fix habits' tags dropdown list to properly close after expanding
difficulties dropdown list so they don't overlap
* Fix transform antidote unpin after rebirth
Fix transformation buff antidote to properly unpin from Rewards section
after using Orb of Rebirth
* Revert "Fix habits' dropdown list overlap"
This reverts commit 6a72e27b89.
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
|||||||
import equip from './equip';
|
import equip from './equip';
|
||||||
import { removePinnedGearByClass } from './pinnedGearUtils';
|
import { removePinnedGearByClass } from './pinnedGearUtils';
|
||||||
import isFreeRebirth from '../libs/isFreeRebirth';
|
import isFreeRebirth from '../libs/isFreeRebirth';
|
||||||
|
import setDebuffPotionItems from '../libs/setDebuffPotionItems';
|
||||||
|
|
||||||
const USERSTATSLIST = ['per', 'int', 'con', 'str', 'points', 'gp', 'exp', 'mp'];
|
const USERSTATSLIST = ['per', 'int', 'con', 'str', 'points', 'gp', 'exp', 'mp'];
|
||||||
|
|
||||||
@@ -108,6 +109,7 @@ export default function rebirth (user, tasks = [], req = {}, analytics) {
|
|||||||
if (user.addNotification) user.addNotification('REBIRTH_ACHIEVEMENT');
|
if (user.addNotification) user.addNotification('REBIRTH_ACHIEVEMENT');
|
||||||
|
|
||||||
user.stats.buffs = {};
|
user.stats.buffs = {};
|
||||||
|
setDebuffPotionItems(user);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{ user, tasks },
|
{ user, tasks },
|
||||||
|
|||||||
Reference in New Issue
Block a user