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
[3.3.5][Ulduar] Core/Scripts: Yogg-Saron Encounter Reset #16723
Comments
The trigger Voice of Yogg Saron(33280) is responsable for the evade, but he gets threat with Sara (33134) and Brain of Yogg-Saron(33890) and not sure, but possible with Yogg-Saron(33288) too. Noone of the others evade, and consequently the trigger not evade and the encounter never resets |
Well, dunno a better way to do it, this works at least: diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
index 7da6717..363400c 100644
--- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
+++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp
@@ -522,6 +522,19 @@ class boss_voice_of_yogg_saron : public CreatureScript
if (!UpdateVictim())
return;
+ bool _canEvade = true;
+ for (std::list<HostileReference*>::const_iterator itr = me->getThreatManager().getThreatList().begin(); itr != me->getThreatManager().getThreatList().end(); ++itr)
+ {
+ if ((*itr)->getTarget()->GetTypeId() == TYPEID_PLAYER)
+ {
+ _canEvade = false;
+ break;
+ }
+ }
+
+ if (_canEvade)
+ EnterEvadeMode(EVADE_REASON_NO_HOSTILES);
+
events.Update(diff);
// don't summon tentacles when illusion is shattered, delay them
if (_illusionShattered) |
The code can't be compiled with the current state of the code.
|
that code in #16723 (comment) is 2 years old, so it needs to be rewritten |
Yeah, but the boss still experience the same bug. |
After new threat system, triggers can have threat list? |
Yes npc_trigger that deal damage get stuck in combat. |
Known issues:
.deb combat Sara .deb combat Voice of Yogg-Saron |
c1df161 fixed the clouds movement. |
No it's the only remaining issue |
Description: After start fight with Yogg-Saron not reseted Encounter.
Current behaviour: If raid wipe, the second attempt will not.
Branch(es): 335
TC hash/commit: e60f575
TDB version: TDB 335.60
Operating system: Ubuntu 14.04
The text was updated successfully, but these errors were encountered: