mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Revert "feature: adding hp notification for boss damage" (#8340)
This commit is contained in:
@@ -78,13 +78,6 @@ angular.module("habitrpg").factory("Notification",
|
||||
_notify(_sign(val) + " " + _round(val) + " " + window.env.t('health'), 'hp', 'glyphicon glyphicon-heart');
|
||||
}
|
||||
|
||||
function bossDamage(val) {
|
||||
var data = {
|
||||
val: _round(val),
|
||||
};
|
||||
_notify(window.env.t('bossDamageDone', data), 'hp', 'glyphicon glyphicon-heart');
|
||||
}
|
||||
|
||||
function lvl(){
|
||||
_notify(window.env.t('levelUp'), 'lvl', 'glyphicon glyphicon-chevron-up');
|
||||
}
|
||||
@@ -183,6 +176,5 @@ angular.module("habitrpg").factory("Notification",
|
||||
text: text,
|
||||
quest: quest,
|
||||
showLoginIncentive: showLoginIncentive,
|
||||
bossDamage: bossDamage,
|
||||
};
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user