Add mez break message

This commit is contained in:
Michael Cook (mackal)
2014-04-22 00:48:46 -04:00
parent dffee38dc6
commit f08799f7ff
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -3616,6 +3616,8 @@ void Mob::CommonDamage(Mob* attacker, int32 &damage, const uint16 spell_id, cons
//fade mez if we are mezzed
if (IsMezzed()) {
mlog(COMBAT__HITS, "Breaking mez due to attack.");
entity_list.MessageClose_StringID(this, true, 100, MT_WornOff,
HAS_BEEN_AWAKENED, GetCleanName(), attacker->GetCleanName());
BuffFadeByEffect(SE_Mez);
}