Commit Graph

36335 Commits

Author SHA1 Message Date
Killyana 952d48bf46 DB/Creature: Enslaved Doomguard
(cherry picked from commit 4f6bf01a19)
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 635cefc67e)
2021-12-08 23:22:12 +01:00
lactoseti 6b2e40257a Creature/Script: npc_tallhorn_stag
Ref #2623

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

(cherry picked from commit 6023d7e7e1)
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 d8ce37e0c9)
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 a70845c93d)
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 9e58ef6940)
2021-12-08 21:33:58 +01:00
sirikfoll 6afa2fe45f DB/Quest: No Place to Run
Closes #22719

(cherry picked from commit f1ab05ab46)
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 64786995d5)
2021-12-08 21:33:13 +01:00
Killyana 122584ae58 DB/Spell: D.I.S.C.O.
(cherry picked from commit 346514b50d)
2021-12-08 21:04:19 +01:00
Killyana d69847fbdd DB/Quest: Improvements for Death From Below
(cherry picked from commit 069d3c3952)
2021-12-08 20:44:35 +01:00
Kittnz 9c2ce24c8a Core/Weather: Define WEATHER_STATE_DRIZZLE state
(cherry picked from commit cf05c3dd2c)
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 2829f5fb9c)
2021-12-08 20:36:43 +01:00
Killyana e2e18ddd1a DB: Typo in the previous commit
(cherry picked from commit 3731c4be95)
2021-12-08 20:35:27 +01:00
Killyana 229d35adba DB/Creature: Dark Portal Dummy 1.30
(cherry picked from commit fdec429f18)
2021-12-08 20:31:38 +01:00
Killyana 5b724ebfe3 DB/Misc: Eclipsions Npcs
(cherry picked from commit ba20ca75f8)
2021-12-08 20:31:32 +01:00
Killyana f0df2186c8 DB/Quest: Portals of the Legion
(cherry picked from commit 6910dc4d9c)
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 ad89472fe3)
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 507a56d627)
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 1e1d626da0)
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 e06521a9b5)
2021-12-07 00:28:28 +01:00
Killyana 5bc324d6ba DB/GameObject: Fix wrong rotations
Closes #23306

(cherry picked from commit 142cefdfd7)
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 797fba98e9)
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 457fc22473)
2021-12-06 23:27:45 +01:00
Shauren 9005bdc684 Core/GameObjects: Validate rotation quaternion at startup
Ref #23306

(cherry picked from commit 9dbedb6b64)
2021-12-06 23:27:05 +01:00
Killyana de19555c89 DB/Creature: Floating Skull
(cherry picked from commit 716c14846f)
2021-12-06 23:27:00 +01:00
Killyana 3c522bc97c DB/Creature: Warder/Defender Corpses
Ref #21102

(cherry picked from commit dd6b968251)
2021-12-06 21:55:35 +01:00
Killyana 48333a10a0 DB/Creature: Tidewalker Warrior
(cherry picked from commit 17057dbf3d)
2021-12-06 21:54:13 +01:00
Killyana e74936f257 DB/Creature: Shadowmoon Villager
And fix some auras and equipements

(cherry picked from commit c478d0cc7c)
2021-12-06 21:53:24 +01:00
Killyana 9693cae39f DB/Quest: Items of Power
Closes #6388

(cherry picked from commit 0a9fe2753b)
2021-12-06 21:46:35 +01:00
Killyana 32915b6b23 DB/Creature: Wrath-Scryer's Felfire
Used in spell=35770 by Wrath-Scryer Soccothrates, the boss has half of his abilities missing or not scripted

(cherry picked from commit aeda85bc89)
2021-12-06 20:23:10 +01:00
Killyana 5d4fc2a613 DB/Creature: Kaylaan & Fallen Vindicator
(cherry picked from commit 01cb07a1c7)
2021-12-06 20:22:03 +01:00
Killyana 6f5a7613c6 DB/Creature: Death Watcher/Entropic Eye
(cherry picked from commit f8bb6eb14d)
2021-12-06 20:15:53 +01:00
Killyana 88e45fbad8 DB/Creature: Duro Control Console
(cherry picked from commit 9f9d5f4ebd)
2021-12-06 20:14:32 +01:00
Killyana 1c7b8d3aba DB/SAI: Overseer Seylanna
And remove some wrong spawns

(cherry picked from commit b3478c42c6)
2021-12-06 20:13:43 +01:00
Killyana 8dbc871c1c DB: Fix rotation and state for Nether Collector Tube and add Coruu Control Console
(cherry picked from commit 1a569bdec5)
2021-12-06 20:12:45 +01:00
Shauren 6ebd4eb202 Core/Misc: Fixed dynamic build 2021-12-06 10:24:29 +01:00
Killyana 1c5420faff DB/Creature: Event Generator Old Hillsbrad
(cherry picked from commit 8b6d2ecaac)
2021-12-06 00:18:09 +01:00
Killyana 5556ef10fc DB/Creature: Little Jimmy Vishas
The event with Renault Mograine and Sally Whitemane and a Captured Critter is not scripted

(cherry picked from commit 94c331a427)
2021-12-06 00:18:03 +01:00
Killyana 4d9420cd26 DB/Creature: Nova Terra
(cherry picked from commit bb82a5a248)
2021-12-06 00:15:14 +01:00
Killyana d926ec2913 DB/Creature: Aldor Spawn Controller
(cherry picked from commit a00e416840)
2021-12-06 00:13:21 +01:00
Killyana 0699b479c4 DB/Creature: Fix some Waypoints
(cherry picked from commit 87a44450b5)
2021-12-06 00:11:45 +01:00
ccrs 14712653dd Core/PetAI: apply some movement related corrections
Unit::StopMoving() is evil, and so is MotionMaster::Clear()

the first can really mess up existing movement generators
the second can interrupt "controlled" movements... can do it literally mid-air

(cherry picked from commit e4a1556e09)
2021-12-05 23:01:22 +01:00
ccrs 4765668718 Core/Handlers: apply some movement related corrections
Unit::StopMoving() is evil, and so is MotionMaster::Clear()

the first can really mess up existing movement generators
the second can interrupt "controlled" movements... can do it literally mid-air

(cherry picked from commit c826ec0a3c)
2021-12-05 23:00:39 +01:00
ccrs a41cac45f4 Core/Handlers: random PetHandler cosmetics & codestyle
(cherry picked from commit 48208b8dde)
2021-12-05 23:00:15 +01:00