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:
Travis
2016-12-30 13:29:20 -06:00
committed by Keith Holliday
parent 47d9594679
commit 2a1f52a359
6 changed files with 66 additions and 7 deletions

View File

@@ -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();