fix(Core/Raid): Reworked Archimonde fight (#1691)

* Reworked Archimonde

* missing spell scripts on db

*  Travis?

* Thanks Nefertum

* Update rev_1554524766481187700.sql

* compact sql

* Update data/sql/updates/pending_db_world/rev_1554524766481187700.sql

Co-Authored-By: Pondaveia <43385840+Pondaveia@users.noreply.github.com>

* Update rev_1554524766481187700.sql

* Update boss_archimonde.cpp

* Resets

* Update boss_archimonde.cpp

* Update boss_archimonde.cpp

* Finger of death check improvement

Deku suggested adding this check instead: 
- me->IsWithinMeleeRange(unit)

* fix: remove unneeded if statement

* Possible targets list bug

Added a list for both Finger of death and Spell protections specifically. Also cleared the lists when needed to avoid possible bugs.

* comment typo

* Last touches

* Copy paste fail?

Removed waypoint reached function. No idea how it got there!

* Update boss_archimonde.cpp

* The meele check was too small

This check allows the tank to move the boss without getting snipped by finger of death

* Update boss_archimonde.cpp

* Initializing summonlist on constructor

* Update hyjal.h

* Update hyjal.h

* Changed Archimonde AI

Hyjal_trash AI to BossAI

* Removing hyjal_trashAI function

* Somehow the commit above didn't remove

* unused variable

* bool initialization on the constructor

bool Enraged;
bool BelowTenPercent;
bool HasProtected;
bool IsChanneling;

* HOLY SHIT TRAVIS
This commit is contained in:
Pondaveia
2019-05-23 14:28:59 +01:00
committed by José González
parent 6b2254bee7
commit ff7658ed40
4 changed files with 384 additions and 213 deletions

View File

@@ -4481,7 +4481,17 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CHANGE_MAP;
break;
/*
Raid: Battle for Mount Hyjal
Boss: Archimonde
*/
case 31984: // Spell doesn't need to ignore invulnerabilities
case 35354:
spellInfo->Attributes = SPELL_ATTR0_ABILITY;
break;
case 32111: // We only need the animation, no damage
spellInfo->CastingTimeIndex = 0;
break;
//////////////////////////////////////////
////////// Vault of Archavon (VOA)