mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feature: adding hp notification for boss damage (#8249)
* feature: adding hp notification for boss damage. fixes #7749 * Updating boss damage text to 'Damage from Boss' to make it more clear
This commit is contained in:
@@ -149,6 +149,9 @@ habitrpg.controller('NotificationCtrl',
|
||||
case 'LOGIN_INCENTIVE':
|
||||
Notification.showLoginIncentive(User.user, notification.data, Social.loadWidgets);
|
||||
break;
|
||||
case 'BOSS_DAMAGE':
|
||||
Notification.bossDamage(notification.data.damageTaken);
|
||||
break;
|
||||
default:
|
||||
if (notification.data.headerText && notification.data.bodyText) {
|
||||
var modalScope = $rootScope.$new();
|
||||
|
||||
Reference in New Issue
Block a user