mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 06:18:21 +00:00
Bots:BotsUseLiveBlockedMessage filter to spell failure
This commit is contained in:
+1
-1
@@ -3638,7 +3638,7 @@ int Mob::AddBuff(Mob *caster, uint16 spell_id, int duration, int32 level_overrid
|
|||||||
|
|
||||||
if (caster->IsBot() && RuleB(Bots, BotsUseLiveBlockedMessage) && caster->GetClass() != Class::Bard) {
|
if (caster->IsBot() && RuleB(Bots, BotsUseLiveBlockedMessage) && caster->GetClass() != Class::Bard) {
|
||||||
caster->GetOwner()->Message(
|
caster->GetOwner()->Message(
|
||||||
Chat::Red,
|
Chat::SpellFailure,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"{}'s {} did not take hold on {}. (Blocked by {}.)",
|
"{}'s {} did not take hold on {}. (Blocked by {}.)",
|
||||||
caster->GetCleanName(),
|
caster->GetCleanName(),
|
||||||
|
|||||||
Reference in New Issue
Block a user