mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
CanCastSpell
This commit is contained in:
@@ -2207,6 +2207,7 @@ bool PlayerbotAI::CanCastSpell(uint32 spellid, Unit* target, bool checkHasSpell,
|
||||
case SPELL_FAILED_TRY_AGAIN:
|
||||
case SPELL_CAST_OK:
|
||||
case SPELL_FAILED_NOT_SHAPESHIFT:
|
||||
case SPELL_FAILED_OUT_OF_RANGE:
|
||||
return true;
|
||||
default:
|
||||
if (!sPlayerbotAIConfig->logInGroupOnly || (bot->GetGroup() && HasRealPlayerMaster())) {
|
||||
|
||||
Reference in New Issue
Block a user