Closes#21264
ScheduleEvents need happens after remove ImmuneToPc, or it will cause evade.
(cherry picked from commit f1a1acdc89a6521fddca98cc8ef8d6e7ed0b9495)
* Add rotation to .gob info
- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry
(cherry picked from commit 257ae44a20ed40469dd821845de8e27c0af838c7)
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum
- Moved a bunch of enums in SharedDefines.h to the new system
- Miscellaneous utility methods ported
Core/Util: Redesign SmartEnum to properly work for large
enums (>64 entries) and play nice with IDEs (PR #22768)
(cherry picked from commit 338e8ba0fea8b4b15120c96fff15a6c4b1a52593)
(cherry picked from commit f7ca0877a3736000a6e3b4ed09ac5f08b4d8e3f0)
(cherry picked from commit 207093475a177e9fd29696e80fdd06a11324782d)
(cherry picked from commit ee68cf33921944fd3f8c188044906998cf10ff2a)
(cherry picked from commit c16d461e16f0704bb11040faff30953d33ba2188)
(cherry picked from commit f6b0d99e2c0bc22b44d6f3cfdae50cbba7d51de8)
(cherry picked from commit bc1f456125c1b6c90617a514152d69c40ce64886)
High Justice Grimstone's movement script timers improvement in Ring of the Law.
case 6 & case 7 modifications:
- Event_Timer = 5000; // originally 0
Closes#20499 (High Justice Grimstone issue)
(cherry picked from commit 48eba61e90e3958613ceca05bb6a550fce8816ad)
* Atal'Alarion will now despawn as a regular Elite mob
(5 minutes unlooted or 2.5 minutes when fully looted)
instead of 7200 (ms) (7.2 seconds) before this change.
Closes#22531
(cherry picked from commit d24b46139600c74f5e200d9ab1592d7128245113)
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.
(cherry picked from commit af3449e06463b3425df2ce67195fa55492af4151)
- The previous (wrong) spell ID used mana, so it was never cast because Firesworns aren't mana users
(cherry picked from commit 001dd32b5cf6939886b895cb7186df82433dae48)
* Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-prevention area trigger
* Sartura engages players if they try to skip her by walking past down the tunnel
* Clean up the instance script a bit
(cherry picked from commit c8f830ff2b735fb45bf16f4421396709661939f6)
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
(cherry picked from commit 66a87c4642d25f27ca24254cfeb0a0c4b21036b1)
Also removed some UpdateEntry hacks
Followup: b4a1887c4d8df5a7729ed5c4126f6a7655a02127
(cherry picked from commit 92f260c5f9ffbd21c561f16c9ce9e52cbee289b8)