- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
- New commands .server shutdown force and .server restart force bypass this limitation.
(cherry picked from commit 0e1eb460d687e545f95caf0f38a16c3feb7132a3)
- Clean up Creature.cpp. NULL -> nullptr, gotta love it.
- Renamed some recently added members of Creature to match code style.
(cherry picked from commit 1cf1d4a1eafb3a31bf87a615d9d947eed6eb0f62)
Doing it in script instead of removing the flags from DB because I'm pretty sure that the DB flags are correct and there's some RP event missing before she becomes attackable.
(cherry picked from commit dc39de01416cfd9a7c0416ed38964b753098ca8e)
This reverts commit d67e87733b2e258dc4f5613ee7fa40445e3b215f, reversing
changes made to cfed2d7a3ddf4f8121d3359f9888e6116fc82e62.
(cherry picked from commit 26bbba4b8d5fab1a1ccb1c164694f790864ec8e1)
- Add missing const attribute on CheckBoundary arg.
- Prevent AI from attacking a target that is out of bounds. This prevents exploids such as killing Gluth/Deathbringer from out of bounds.
(cherry picked from commit 19ed18c8816e9bd495dcc03eb0e208006a17bab0)
This can be used to fix quests such as "Heated Battle" or "If Valgarde Falls..." that are currently very hard to complete at the appropriate level due to "friendly" NPCs killing off the required targets too quickly for players to get 50% of damage in.
(cherry picked from commit d240ccb38c05e394b181a09d42f5e55d3222603a)
- Roar at start of phase two
- Ingvar no longer does a weird move-jump towards his target when resurrecting
- Fixed a duplicate yell on phase one end
(cherry picked from commit c829fc7de406728f9f089d586d6bdccf7bf14748)
- Fix linked pool spawn
- Fix respawn time to be 6h (instead of current 25sec)
Closes#7683.
(cherry picked from commit d412f2d6d3e4a517de5cdb7ed5a7e33d0575d77f)
- Fix missing yells
- Rearrange existing yells to match live
- Sniffed positions for adds
- Improve add respawn handling
- Make adds not fight the player for control (don't use their spells on their own etc.)
- Update adds' hotbar keys to match live (this will affect other creatures with nonsequential possess keys as well)
- Fix adds' movement when mind controlled, they no longer move automatically when right-clicking (this affects all mind-controlled creatures)
- Blizzlike timers
(cherry picked from commit 54d583b0fbb7ecfb97a731be21218bbb72d80b4d)
# Conflicts:
# src/server/game/Spells/SpellMgr.cpp
- Improved Web Wrap target selection
- Added missing text
- Cleanup of web wrap positioning - two players will never be flung to the same position (25-man)
- Further improvement to web wrap spawn behavior - targetable web wrap now only spawns after the player has finished being flung to the respective position (blizzlike)
- Add additional web wrap positions (sniff)
(cherry picked from commit 5dd61633872fc40d83dfa13aa58a1c7de717c012)
# Conflicts:
# src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp
- Reduce initial spawn timer on the encounter from 30 seconds to 5 seconds
- Rearrange respawn logic to fix the "petrified" visual from not showing properly
- Fix a potential infinite respawn loop that could prevent the encounter from initializing properly (fixes and closes#15898)
(cherry picked from commit bf9963039906f4b4df218ecc1818f5b01bcc714d)
- Cleaned up events behavior to use phases instead of weird checks for auras.
- Cleaned up Crypt Guard despawn behavior, they should no longer despawn instantly upon death.
- Moved initial greeting from MoveInLineOfSight hack to proper areatrigger script.
- Fixed Crypt Guard respawn behaviour to prevent pulling them before Anub'rekhan has fully reset.
- Fixed Crypt Guard aggro behaviour to call for help on aggro. This prevents pulling the initial pair of Crypt Guards without engaging the boss.
- Added missing boss emotes.
- Code style cleanup.
(cherry picked from commit 91de0322bba3ef071338ce5a71f512369486eb1f)
# Conflicts:
# src/server/scripts/Northrend/Naxxramas/boss_anubrekhan.cpp
- Move greeting to areatrigger instead of MoveInLineOfSight hack
- Clean up add spawn handling to prevent various glitching with combinations of evade state and add aggro
- Ensure all adds are always pulled alongside the boss and vice versa
- Add missing texts.
- Fix a bug in the core that prevents castable-while-dead spells (such as Widow's Embrace) from appearing on possess bars.
(cherry picked from commit 577fcf356e9cd54fb0490069d7aa26894e9b5db3)
# Conflicts:
# src/server/scripts/Northrend/Naxxramas/boss_faerlina.cpp
- NearTeleportTo hack -> proper spell with DB coordinates
- Add boss emotes
- Some code streamlining using event phases and IN_MILLISECONDS instead of large constants
- Improvement to eruption hitbox and delimiters to match retail layout more closely
- Spell timers adjusted from sniffs
(cherry picked from commit 3e2014a958c2295c175b359dbeed48f36befce98)
- Added missing raid boss emotes
- Fixed an issue where Noth would stand idly after blinking if his current target stood still
- Fixed some reset edge cases
- Prevent Noth from dying during Balcony phase
- Fix targeting of 25-man Curse of the Plaguebringer (now has 8 targets, down from 10)
- Fix balcony/ground phase durations to be blizzlike
- Fix an issue where summoned mobs would sometimes not be aggroed automatically
- Get rid of ugly millisecond values in favor of seconds times constant
- Moved the chance to yell on kill to the database
- Prevent AoE abilities from hitting Noth during the balcony phase
- General cleanup of events handling
- Generally make @Nayd happy
(cherry picked from commit 3fc1bb1abf0d4ae7b37507c62a3b57175477ce2f)
# Conflicts:
# src/server/scripts/Northrend/Naxxramas/boss_noth.cpp
- Adjusted doom cast timings as per boss mod timers.
- Add Deathbloom's final tick using spellscript
- Move Spores' Fungal Creep cast handling to Loatheb's cpp instead of handling it in SmartAI
- Fungal Creep should also be cast if the spore expires (important for Spore Loser achievement)
- Remove Fungal Creep from players on reset to avoid cheesy strats
(cherry picked from commit ea1c783b84d4fa489436531667f3c121631b25d4)
This fixes the following bugs:
Escortee NPC quotes are out of order (see #15396 (comment))
Final escort waypoint is located incorrectly and causes the escorted NPC to drop all the way to the bottom of the ocean before quest completion is awarded.
Closes#15396
Signed-off-by: DDuarte <[email protected]>
(cherry picked from commit a83437af3dd03cc2227947ff229da3bf2d5421f0)
Scripts/BossAI: Set the BossAI parent class to make use of this in its _EnterCombat and _Reset methods. Combat pulses happen every 5 seconds.
(cherry picked from commit d57193df444b719757ae1da4a5f19e204074f6ae)
# Conflicts:
# src/server/game/AI/ScriptedAI/ScriptedCreature.cpp
# src/server/game/Entities/Creature/Creature.cpp
Move the removal of the 'distracted' state from SmartAI to UnitAI.cpp.
Fixes and closes#7197 and #15482.
(cherry picked from commit f446538cb16dad3dcd04e79aebc944feefc16275)
Fixed bugs with Sapphiron encounter:
- Sapphiron will now properly re-engage if the previous attempt ended while he was in flight.
- Sapphiron will now properly be hovering while in the air phase instead of standing idly on the ground.
- Move Frost Resistance achievement check from custom script to spell 60539 (Sapphiron Achievement Check), thanks to @Shauren for the heads up.
(cherry picked from commit a90ae075c9de330b40d570aa172708486c0566c4)