Skip to content
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

(Instance/Azjol-Nerub): Anub'Arak should remove debuffs on submerging #19113

Open
YggdrasilWotLK opened this issue Jun 21, 2024 · 2 comments
Open

Comments

@YggdrasilWotLK
Copy link

YggdrasilWotLK commented Jun 21, 2024

Current Behaviour

Currently, he's not dropping his debuffs when he starts to cast submerge. Consequences of this includes that if he dies while submerged (due to DOTs), he becomes unlootable.

Expected Blizzlike Behaviour

He should drop his debuffs on starting to cast submerge.

Source

https://www.youtube.com/watch?v=mTlJn8oGTJ0 re 06:40

Steps to reproduce the problem

  1. Go to Anub'Arak in Azjol-Nerub
  2. DOT him up
  3. Get him to 75% and watch him submerge with DOTs active

Extra Notes

I'm not too familiar with how PRs and such work but I imagine the fix could be changing this part in boss_anubarak.cpp (https://github.com/metallinos2/azerothcore-wotlk/commit/64802191a93c8a8eb113025b96a42d85a27751c8)

                    if (me->HealthBelowPct(eventId*25))
                    {
                        Talk(SAY_SUBMERGE);
                        me->RemoveAllAuras(); *new line to remove auras 
                        me->CastSpell(me, SPELL_IMPALE_PERIODIC, true);
                        me->CastSpell(me, SPELL_SUBMERGE, false);

AC rev. hash/commit

20ff8df

Operating system

Ubuntu 20.04

Custom changes or Modules

ELUNA module

@sogladev
Copy link
Contributor

On wrath classic he did remove all dots at the start of his burrow. He remained targettable for ~1 second, so you could re apply a dot.

burrow in TOGC for reference does remove auras

unkillable can be done with bossAI

void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType damageEffectType, SpellSchoolMask spellSchoolMask) override
    {
        if (me->HasAuras(SPELL_SUBMERGE);)
        {
            if (damage >= me->GetHealth())
            {
                damage = me->GetHealth() - 1;
            }
        }
        BossAI::DamageTaken(attacker, damage, damageEffectType, spellSchoolMask);
    }

@heyitsbench
Copy link
Contributor

heyitsbench commented Jun 23, 2024

Anub'Arak uses this spell to clear his debuffs on submerge.

EDIT: Found in sniffs for both Azjol-Nerub and Trial of the Grand Crusader.

razers211 added a commit to razers211/azerothcore-wotlk that referenced this issue Jun 23, 2024
anub'arak was not removing his debuffs on submerging with the right spell.

closes issue azerothcore#19113
Kitzunu added a commit that referenced this issue Jun 26, 2024
* fix(CORE/Raid): Anub'Arak not using proper spell to clear his debuffs on submerge

Anub'Arak (id: 34564) was using the RemoveAllAuras method instead of the ClearAllDebuffs spell to clear all his debuffs when submerging.

Closes AzerothCore issue #19136

* fix(instace/Azjol'Nerub): Anub'Arak not removing debuffs on submerge

anub'arak was not removing his debuffs on submerging with the right spell.

closes issue #19113

* Update  boss anub'arak of PR #19140

Co-authored-by: Kitzunu <[email protected]>

* Update boss Anub'Arak code improvement

* Update boss anub'arak

* Update src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp

---------

Co-authored-by: Kitzunu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants