-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Scripts/ShrineOfTheStorm: Implement Tidesage Council encounter #31187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
if (unit->GetEntry() != BOSS_BROTHER_IRONHULL || unit->GetEntry() != BOSS_GALECALLER_FAYE) | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong condition, it should be if it's NOT x AND it's NOT Y, return:
if (unit->GetEntry() != BOSS_BROTHER_IRONHULL || unit->GetEntry() != BOSS_GALECALLER_FAYE) | |
return; | |
if (unit->GetEntry() != BOSS_BROTHER_IRONHULL && unit->GetEntry() != BOSS_GALECALLER_FAYE) | |
return; |
src/server/scripts/KulTiras/ShrineOfTheStorm/boss_tidesage_council.cpp
Outdated
Show resolved
Hide resolved
src/server/scripts/KulTiras/ShrineOfTheStorm/boss_tidesage_council.cpp
Outdated
Show resolved
Hide resolved
src/server/scripts/KulTiras/ShrineOfTheStorm/boss_tidesage_council.cpp
Outdated
Show resolved
Hide resolved
src/server/scripts/KulTiras/ShrineOfTheStorm/boss_tidesage_council.cpp
Outdated
Show resolved
Hide resolved
{ | ||
for (uint32 bossesData : TidesageData) | ||
{ | ||
if (Creature* council = instance->GetCreature(bossesData)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd check if council is alive and not in combat, neither of the functions inside it prevent DoZoneInCombat from happening
|
||
enum TidesageCouncilTexts | ||
{ | ||
SAY_AGGRO = 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is minimal but i would use 0-4 for generic ones, and then 5-X for specific ones to keep it ordered, it would also help with future boss scripted where you keep 0-4 for the same purpose
Changes proposed:
Tests performed:
Tested in-game