Commit Graph
36354 Commits
Author SHA1 Message Date
Killyana c77a4e6281 DB/Quest: Slain by the Wretched
Closes #23332

(cherry picked from commit d333cd0ccfdaaab822eae4a6f5cc0d47ce521875)
2021-12-09 00:16:04 +01:00
Killyana 200db638ee DB/Quest: Jack Likes His Drink
From https://github.com/azerothcore/azerothcore-wotlk/commit/b97e6f36c6ae21c9b0539e68086863a6e6e74892
By sluggor

(cherry picked from commit 5f1d9fc3047f0d11c6ef59d6d905b1b36c311d74)
2021-12-09 00:14:48 +01:00
Wyrserth 9d865f7536 Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.

* Forgot to change this in last-second rename.

* Apply suggested changes, thanks Shauren!

(cherry picked from commit 8bc5451864570c07eff6d427846335044f85a509)
2021-12-09 00:13:59 +01:00
jackpoz 049606e31e Core/MovementGenerator: Add more details to asserts
Implement GetDebugInfo in MovementGenerator, PathMovementBase, FlightPathMovementGenerator, WaypointMovementGenerator.
Add an additional assert in FlightPathMovementGenerator::DoEventIfAny(), the input node must not be null

(cherry picked from commit 9da81239596bf798b1beafc5ddeaeb37dcc330ff)
2021-12-08 23:51:21 +01:00
Wyrserth 1edd93bc0c Core/Script: add script hook to allow overriding of a vehicle passenger's exit position (#23322)
* Core/Script: add script hook to allow overriding of a vehicle passenger's exit position.

* Allow to change orientation, and fix nopch.

* Keep original orientation, thanks jackpoz!

* Update Unit.cpp

Code cleanup

* Update Unit.cpp

(cherry picked from commit 88c6c61b95ac2b2f911b519136770479d31de27d)
2021-12-08 23:51:07 +01:00
jackpoz 2cade0e6e3 Core/Channel: Sanitize channel names
(cherry picked from commit 7b8f294c024230451f82ff67150e11fc31b61293)
2021-12-08 23:47:07 +01:00
jackpoz 97249ff7b4 Core/Channel: Fix CRT Debug Assert triggered with invalid channel names
(cherry picked from commit f0bd90cc35098475b20e736cf98885c99c04be3d)
2021-12-08 23:43:19 +01:00
Killyana 3796978a8f DB/Quest: The Wrath of Neptulon
(cherry picked from commit 22888f80e98dc7b96769ece590ea87166cef908e)
2021-12-08 23:40:56 +01:00
Killyana d036411cd7 DB/Creature: Scryer Cavalier
(cherry picked from commit d1e3de15d9e5648dc518e0aee09ef2bd7a5bd6f8)
2021-12-08 23:38:46 +01:00
Killyana 1ccb3fa847 DB/Creature: Add Grip immunity to Nightbane
(cherry picked from commit c946966275f1f7aab19bcfb80589cc9b6491f3df)
2021-12-08 23:37:57 +01:00
Killyana 438cedb711 DB/Creature: Lightsworn Elekk Rider
(cherry picked from commit f41761551459a247540979ef8f650842f9fd9410)
2021-12-08 23:37:26 +01:00
Giacomo Pozzoni 6e28ecd22e Core/Movement: Fix assertion triggered in SplineChainMovementGenerator
Fix an assertion triggered in SplineChainMovementGenerator happening when a new generator is added while last spline of the SplineChainMovementGenerator is being processed but is not finalized yet.
Fix #23077

(cherry picked from commit 5d7f0eef6e2f89d5dbeb0a702f7a35c95626240e)
2021-12-08 23:35:01 +01:00
Killyana f45befd607 DB/Creature: Black Temple Battle Sensor
(cherry picked from commit 1cc7944f725f0863eb76ef9bab1808fc8fccec17)
2021-12-08 23:34:50 +01:00
dr-j b0b9492e44 DB/Creature: Wolver Orphan & Oracle Orphan event in Dalaran
Closes #14621

(cherry picked from commit 64dabaad8007f632388f6147a24cacd453a365fc)
2021-12-08 23:34:02 +01:00
Killyana d45bc9b47b DB/Creature: Outland Children's Week Dark Portal Trigger
(cherry picked from commit 2717b72f3e18788f0e02e38a847801b4d04155f1)
2021-12-08 23:32:55 +01:00
Killyana 69d5093c66 DB/Creature: Ethereum Avenger
(cherry picked from commit c99193325bf403dee392c8d1048b3e4a7cbb7cea)
2021-12-08 23:32:02 +01:00
Killyana 2139c07aab DB/Creature: Arcane Burst
(cherry picked from commit 16bf11ab20fcd5e3984dd90d011d13f56288d1ea)
2021-12-08 23:31:02 +01:00
Killyana eab9d57108 DB/Creature: Eclipsion Hawkstrider
(cherry picked from commit e8b7cc6e1ccda1bb1d9561c94d4f74ca1effe410)
2021-12-08 23:30:29 +01:00
Killyana b16fa8f493 DB/Creature: Dragonmaw Nether Drake
(cherry picked from commit f024c0d2f7347ecd9c472caf0e6a263781084311)
2021-12-08 23:29:43 +01:00
Killyana 952d48bf46 DB/Creature: Enslaved Doomguard
(cherry picked from commit 4f6bf01a19e055fb3e158dedc47de8e98557bd1e)
2021-12-08 23:28:03 +01:00
Ovah 0d433b1bc8 Core/Players: out of range group updates will now get sent every 5 seconds instead of as soon as they are available to reflect retail behaivior. (#23323)
* according to sniffs the group update packet for out of range members has a fixed 5 seconds interval instead of spaming packets like crazy for example when updating positions. On 4.x and above this will fix a very nasty and ugly fps drop
* validated with 4.3.4 and 3.3.5 sniffs

(cherry picked from commit 635cefc67e25c4318d67bf557b66958081c02ac4)
2021-12-08 23:22:12 +01:00
lactoseti 6b2e40257a Creature/Script: npc_tallhorn_stag
Ref #2623

(cherry picked from commit bfffa5d45e9d07636930e89916986edf7c086c1e)
2021-12-08 23:20:51 +01:00
Killyana 2bf8ffd5d9 DB/Quest: Vyletongue Corruption
Ref #21078

(cherry picked from commit 6023d7e7e10b970033c322b6de902e9eae42561b)
2021-12-08 23:19:53 +01:00
Wyrserth 2344671af5 Core/Console: start CliRunnable thread after all log messages have been printed. (#23321)
(cherry picked from commit d8ce37e0c90a3da2d42a09d33523e4403aab2723)
2021-12-08 21:55:04 +01:00
Ovah 09fe78dd59 Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified (#23298)
* Core/GameObjects: goober gameobjects may reset only if they have a lock id

Tests have shown that Goobers without a lock id (Data0=0) are not allowed to reset their go state such as the teleporters in Ulduar and Icecrown Citadel. The tests has been expanded by checking 4.x goobers as well and the perfect example that confirms that result is the Ancient Bell for Atramedes' intro which also is not suposed to reset after using it.

* Core/GameObjects: allow to reset goobers without a lock id if a reset time is defined

* fixed a typo

(cherry picked from commit a70845c93de0902c4c6fa55ff10293f7e3679ac5)
2021-12-08 21:54:41 +01:00
jackpoz e9aed3e442 Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO
Add another value to event_param1 for SMART_EVENT_GOSSIP_HELLO to support all cases of OnGossipHello/OnReportUse in GameObjects:
- event_param1 set to 0: execute the action for both OnGossipHello and OnReportUse. This might result in the action being executed twice when clicking the GameObject
- event_param1 set to 1: execute the action for only OnGossipHello
- event_param1 set to 2: execute the action for only OnReportUse

(cherry picked from commit 9e58ef6940c78d92f1553cf7ab75e87a6e2cf112)
2021-12-08 21:33:58 +01:00
sirikfoll 6afa2fe45f DB/Quest: No Place to Run
Closes #22719

(cherry picked from commit f1ab05ab46a559f99bf5c086228eb011dff10f02)
2021-12-08 21:33:45 +01:00
Killyana aaa181e85f DB/SAI: Update gossip hello event for game objects to trigger only in OnReportUse() and not OnGossipHello()
The only remaining case is the gob 188596 as apparently it triggers OnReportUse() only

(cherry picked from commit 64786995d5bad10a2677f07b1f23dd9372c9fb48)
2021-12-08 21:33:13 +01:00
Killyana 122584ae58 DB/Spell: D.I.S.C.O.
(cherry picked from commit 346514b50d8051e3ed0786a9644c01ec0086d85f)
2021-12-08 21:04:19 +01:00
Killyana d69847fbdd DB/Quest: Improvements for Death From Below
(cherry picked from commit 069d3c3952f12a2a535a790dc1a54d19ec6d42fb)
2021-12-08 20:44:35 +01:00
Kittnz 9c2ce24c8a Core/Weather: Define WEATHER_STATE_DRIZZLE state
(cherry picked from commit cf05c3dd2c8fd27e0cb7a7e76913ba46cbee0a2c)
2021-12-08 20:37:10 +01:00
Killyana 8f1020ec78 DB/Creature: Hydross the unstable npc triggers
Update the correct channel spell SPELL_BLUE_BEAM and spawn triggers used to cast it

(cherry picked from commit 2829f5fb9ce4d61ae6e88cf65ed7302985e5cf36)
2021-12-08 20:36:43 +01:00
Killyana e2e18ddd1a DB: Typo in the previous commit
(cherry picked from commit 3731c4be958666af24a67aa7e7de1f9972f9f46d)
2021-12-08 20:35:27 +01:00
Killyana 229d35adba DB/Creature: Dark Portal Dummy 1.30
(cherry picked from commit fdec429f189ac88381b1ba9f8d83ef5f4f9e0017)
2021-12-08 20:31:38 +01:00
Killyana 5b724ebfe3 DB/Misc: Eclipsions Npcs
(cherry picked from commit ba20ca75f87ce8dc2896d6de73cfb712fa1481d2)
2021-12-08 20:31:32 +01:00
Killyana f0df2186c8 DB/Quest: Portals of the Legion
(cherry picked from commit 6910dc4d9c61c4ae9cf47cf73e188d79bf8e3247)
2021-12-08 20:28:37 +01:00
Shauren a937767289 Core/Misc: Exclude boost 1.78 and newer from boost_1_73_process_windows_nopch hack 2021-12-08 19:02:59 +01:00
Shauren df2d0f3670 Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces 2021-12-08 19:02:33 +01:00
Shauren e2de5000ac Core/Movement: Defined movement force type enum 2021-12-08 19:02:02 +01:00
Shauren 8341082ac4 Core: Updated allowed build to 9.1.5.41359 2021-12-08 00:33:14 +01:00
funjoker 833e179985 Core/Misc: Add helper table phase_name and improve .npc info and .gps
.gps and .npc info now displays names for known phase names
2021-12-07 20:38:26 +01:00
Gildor 9752ef4d6e Core/Spells: Fix spells with Health Leech effect, now check damage absorb when calculate Heal (#23312)
Closes: #23311
(cherry picked from commit ad89472fe3512b4a5f4160240154fd5b11a3b07c)
2021-12-07 00:31:48 +01:00
jackpoz 6034992dff Core/SmartAI: Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVENT_SUMMON_DESPAWNED for GameObject owners
(cherry picked from commit 507a56d62764f63113d35dfcca9273b8d0b16cc5)
2021-12-07 00:31:26 +01:00
Killyana 5d6ea73276 DB/Misc: Remove some auras related to channel spell and add the proper script to Eclipsion Spellbinder & Eclipsion Archmage
Also fix some cosmetic mounts

(cherry picked from commit 1e1d626da0e0dd8263ea3e1d7e7890074be7335c)
2021-12-07 00:30:03 +01:00
Killyana 00696b5eeb DB/Quest: Test Flight: The Zephyrium Capacitorium
It fix also the 3 other Test Flight quests
Closes #17840

(cherry picked from commit e06521a9b550048d5437334482a1026e83b9fd29)
2021-12-07 00:28:28 +01:00
Killyana 5bc324d6ba DB/GameObject: Fix wrong rotations
Closes #23306

(cherry picked from commit 142cefdfd703045a11c1130e4b525602583e63f8)
2021-12-07 00:27:11 +01:00
Giacomo Pozzoni 5f545f5402 3.3.5 gameobject summoner (#23289)
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Core/TempSummons: Implement PR comments

(cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
2021-12-07 00:02:03 +01:00
jackpoz 54044bda82 Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED
Fix SMART_EVENT_SUMMON_DESPAWNED not working when event_param1 was set to any value other than 0

(cherry picked from commit 457fc224733cc78cedc5e956442a9f5d7bd2f049)
2021-12-06 23:27:45 +01:00
Shauren 9005bdc684 Core/GameObjects: Validate rotation quaternion at startup
Ref #23306

(cherry picked from commit 9dbedb6b644860020e5abd369fb59c63f49727b8)
2021-12-06 23:27:05 +01:00
Killyana de19555c89 DB/Creature: Floating Skull
(cherry picked from commit 716c14846f859e6130edb412b6a9f5793f0f959b)
2021-12-06 23:27:00 +01:00