mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Compare commits
1 Commits
cadbcbd447
...
ForgeOfSou
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5af1bf9a88 |
@@ -7,7 +7,7 @@ bool MoveFromBronjahmTrigger::IsActive()
|
|||||||
{
|
{
|
||||||
Unit* boss = AI_VALUE2(Unit*, "find target", "bronjahm");
|
Unit* boss = AI_VALUE2(Unit*, "find target", "bronjahm");
|
||||||
|
|
||||||
if (boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
|
if (boss && boss->FindCurrentSpellBySpellId(SPELL_CORRUPT_SOUL) && bot->HasAura(SPELL_CORRUPT_SOUL))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user