From 38cdea7d7e3e556190e4f3c838090250f4d459f5 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Sat, 30 May 2015 02:57:03 -0400 Subject: [PATCH] Furious Bash focus message --- zone/special_attacks.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zone/special_attacks.cpp b/zone/special_attacks.cpp index 0f0a110cd..a3557d021 100644 --- a/zone/special_attacks.cpp +++ b/zone/special_attacks.cpp @@ -120,7 +120,10 @@ void Mob::DoSpecialAttackDamage(Mob *who, SkillUseTypes skill, int32 max_damage, hate += item->GetItem()->AC; } const Item_Struct *itm = item->GetItem(); - hate = hate * (100 + GetFuriousBash(itm->Focus.Effect)) / 100; + auto fbash = GetFuriousBash(itm->Focus.Effect); + hate = hate * (100 + fbash) / 100; + if (fbash) + Message_StringID(MT_Spells, GLOWS_RED, itm->Name); } } }