mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-18 11:21:29 +00:00
Furious Bash focus message
This commit is contained in:
parent
d9cab4820a
commit
38cdea7d7e
@ -120,7 +120,10 @@ void Mob::DoSpecialAttackDamage(Mob *who, SkillUseTypes skill, int32 max_damage,
|
|||||||
hate += item->GetItem()->AC;
|
hate += item->GetItem()->AC;
|
||||||
}
|
}
|
||||||
const Item_Struct *itm = item->GetItem();
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user