mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-16 02:10:28 +00:00
* Fix: Prevents bots from learning spells twice Added bot->HasSpell() check before calling bot->learnSpell() to ensure the bot does not learn spells it already has. This avoids redundant behavior, possible unnecessary logging, and inconsistencies in learning spells trained with SPELL_EFFECT_LEARN_SPELL. * Possible fix
6.9 KiB
6.9 KiB