From 53d4bc4e48aa7818fb16fb474109f8635ce8d5a1 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Sun, 1 Dec 2024 23:05:50 -0600 Subject: [PATCH] remove unnecessary messages on silence /block for bots --- zone/bot.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 8840f9832..fd410b3f9 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -5653,13 +5653,13 @@ bool Bot::CastSpell( LogSpellsDetail("Spell casting canceled: not able to cast now. Valid? [{}] casting [{}] waiting? [{}] spellend? [{}] stunned? [{}] feared? [{}] mezed? [{}] silenced? [{}]", IsValidSpell(spell_id), casting_spell_id, delaytimer, spellend_timer.Enabled(), IsStunned(), IsFeared(), IsMezzed(), IsSilenced() ); - if (IsSilenced() && !IsDiscipline(spell_id)) { - MessageString(Chat::White, SILENCED_STRING); - } - - if (IsAmnesiad() && IsDiscipline(spell_id)) { - MessageString(Chat::White, MELEE_SILENCE); - } + //if (IsSilenced() && !IsDiscipline(spell_id)) { + // MessageString(Chat::White, SILENCED_STRING); + //} + // + //if (IsAmnesiad() && IsDiscipline(spell_id)) { + // MessageString(Chat::White, MELEE_SILENCE); + //} if (casting_spell_id) { AI_Bot_Event_SpellCastFinished(false, static_cast(casting_spell_slot)); @@ -5670,7 +5670,7 @@ bool Bot::CastSpell( } if (IsDetrimentalSpell(spell_id) && !zone->CanDoCombat()) { - MessageString(Chat::White, SPELL_WOULDNT_HOLD); + //MessageString(Chat::White, SPELL_WOULDNT_HOLD); if (casting_spell_id) { AI_Bot_Event_SpellCastFinished(false, static_cast(casting_spell_slot)); }