mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Scripts/RuinsOfAhnQiraj): Fixed crystal activation animation. (#12647)
This commit is contained in:
@@ -284,14 +284,14 @@ public:
|
||||
{
|
||||
InstanceScript* instance = player->GetInstanceScript();
|
||||
if (!instance)
|
||||
return false;
|
||||
return true;
|
||||
|
||||
Creature* ossirian = instance->GetCreature(DATA_OSSIRIAN);
|
||||
if (!ossirian || instance->GetBossState(DATA_OSSIRIAN) != IN_PROGRESS)
|
||||
return false;
|
||||
return true;
|
||||
|
||||
ossirian->AI()->DoAction(ACTION_TRIGGER_WEAKNESS);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user