Commit Graph
37095 Commits
Author SHA1 Message Date
Giacomo Pozzoni ce25c212e0 Scripts/Ulduar: Attempt to fix Yogg-Saron not evading on wipe (#24055)
(cherry picked from commit 039534d1dbcde60b72c5b570be8e4cb5abb4f647)
2021-12-20 21:24:51 +01:00
Alan Deutscher cd72ecce78 Scripts/Spells: fix Turkey Timer duration (#24048)
* spell_gen_turkey_marker::OnPeriodic: Pop expired stack timestamps from tracking list.

* Be a bit more explicit about the data type of removedCount.

* Formatting nudge.

* Remove brackets.

(cherry picked from commit a0c07655eb6b42a2e1fd9319d53c7ed7f2c585d8)
2021-12-20 21:24:37 +01:00
xvwyh 9b79d1b410 Core/DynamicObjects: Restore the ability of DynamicObjects to be world objects which was accidentally removed in f0f4a620fb breaking Far Sight (#24046)
Fixes #17081

(cherry picked from commit d4ba47a76e71a0ac103a1ff9b892593bc9c6a67a)
2021-12-20 21:22:37 +01:00
Killyana 01023320cf DB/Gossips: Fix gossips for Elder Runetotem & Elder Darkhorn
Closes #24056

(cherry picked from commit f1c338f1371efe6e8a6b11dc45f3d450bc658d13)
2021-12-20 21:22:18 +01:00
Killyana 40c7ffcd99 DB/Creature: Add some equipments
(cherry picked from commit a08e5e38e9d15e9cbd028ff86d1fbc1bf5288f3e)
2021-12-20 21:17:42 +01:00
Killyana c7137060ad DB/Creature: Skybreaker Lieutenant/Kor'kron Lieutenant
Spawn Kor'kron Lieutenant in the correct position for the horde

(cherry picked from commit 54c00ecca196c9e4eb6b11d245d7cee22def4cd9)
2021-12-20 21:12:10 +01:00
Killyana e091cbddb1 DB/Creature: Fix Argent Crusader equipments
(cherry picked from commit e29a2e9003e2032eb5268781235e763546660f34)
2021-12-20 21:11:01 +01:00
ccrs 25a987496c Scripts/ICC: include missing call from UnitAI::JustExitedCombat override in npc_green_dragon_combat_trigger
(cherry picked from commit 330cbb55fb8597cd3adc09f15a753024b4c956cb)
2021-12-20 21:10:33 +01:00
Killyana 53ec61701f DB/Creature: Add and fix some equipments
(cherry picked from commit f656ffd7d0ac3440b099e842b6fe4252a1a95c09)
2021-12-20 21:10:20 +01:00
Shauren e43a02668f Scripts/Icecrown Citadel: Removed unneccessary combat hacks from Valithria Dreamwalker
(cherry picked from commit c188d4db8548544f089d53d944104e7d9ffdbb0e)
2021-12-20 21:07:50 +01:00
Killyana e9ba28afc9 Quest/Scripts: Remove some hacks from "Trolls Is Gone Crazy!"
(cherry picked from commit a149261e94b676cf090b37d085578e08d0ebffd0)
2021-12-20 21:07:28 +01:00
Killyana 18c53d4d18 Typo
(cherry picked from commit d5926a93572777f1881d6ab57a3d60fccd7df5a4)
2021-12-20 21:06:38 +01:00
Killyana c0039e614e DB/Creature: Remove Captured Rageclaw DB spawns as summoned by a script
(cherry picked from commit 0e20c63b22b1f4b33596d3c731c24d4ae090e9c3)
2021-12-20 21:05:56 +01:00
Shauren bfde919694 Tools/mmaps_generator: Replace hardcoded map ids with db2 data checks 2021-12-20 20:50:28 +01:00
Giacomo Pozzoni dd929665e5 Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon (#24036)
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon

Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards)

* Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long

(cherry picked from commit 29bf280e3496cf13c24ccb20e37da29d3bfa74d9)
2021-12-20 20:35:37 +01:00
Killyana fd26526972 DB/Creature: Update Marksman Bova & Korim position
(cherry picked from commit 43b247e17e8f5df4eda74578499f5a9758c3852b)
2021-12-20 20:23:30 +01:00
Killyana a23eaa06db DB/Spawn: Remove wrong Herald spawn used in Alterac Valley from Exodar
(cherry picked from commit 52c9d7231cb5f03d7f46eb2b351b2504564fd1b3)
2021-12-20 20:22:47 +01:00
Killyana 4085e36642 DB/Spawn: Remove the npc Quel'Delar summond by a spell
(cherry picked from commit e375c8a093541ad45cbf62cff9f6e30360ecee86)
2021-12-20 20:21:29 +01:00
Sorikoff c7866dccee DB/Quests: Update some Death Knight quests localization
Closes #24041

(cherry picked from commit b2305dbf2af2a5eeb3582a7ef829d08a59e58668)
2021-12-20 20:20:53 +01:00
Killyana 5cc88bf173 DB/Misc: Some Cosmetics in Shattrath
(cherry picked from commit f17bef6150cb68ad75d52a995eac6e104d115ed2)
2021-12-20 20:19:48 +01:00
Keader 174f4bad3d Scripts/Blood Furnace: Fixed Broggok reset issues and some little improvements
Closes #23658

(cherry picked from commit 1bdc792559fbf4fa713fce40cdcf012e63fdc741)
2021-12-20 20:18:55 +01:00
Killyana 93e446d9d7 DB/Misc: Spawn Quel'Delar related phase in Quel'Danas and SunWell
Ref #4866

(cherry picked from commit c93045940c061e98b1f8aaac6a162710d560e217)
2021-12-20 20:17:33 +01:00
Giacomo Pozzoni 7c97fa4449 Scripts/Misc: Fix build warnings
(cherry picked from commit 37ffdc05b23f079af3e22d7042f6ffe240e69cd5)
2021-12-19 23:31:30 +01:00
Killyana 00e5bda8d5 DB/Creature: Remove a wrong emote 193
(cherry picked from commit 57b72b4f80ce5c4f0f0788e04351f47fa7872b63)
2021-12-19 23:31:20 +01:00
Killyana cb39b551d4 DB/Creature: Nexus-Prince Haramad
(cherry picked from commit 3bc6fb9fe3c6f3c981513795ea5414d0b3956fc4)
2021-12-19 23:30:47 +01:00
Killyana 9a75d68e3d DB/Misc: Add some cosmetics to Mana tombs entrance
Captain Kaftiz event
Add a missing gob
Remove a wrong spawn
Add a cosmetic cast to a Consortium Engineer

(cherry picked from commit 23ad4efe6ebc094b7806995a65d7ca4b0d654d28)
2021-12-19 23:30:09 +01:00
Killyana 86d17dbf35 DB/Creature: Dawnblade Hawkrider
(cherry picked from commit b1f50af03721c4f915a224d8b8c00ab4cf08056d)
2021-12-19 23:28:24 +01:00
Killyana 71e474e14f DB/Spawns: Remove "Hand of the Deceiver" spawns as summoned by a script
(cherry picked from commit 434cdb1fa0f5d2ea282c044771b96c9b0ad17f53)
2021-12-19 23:27:12 +01:00
Sorikoff 14f7a310ab DB/Quests: Update Death Knight quests locales
Closes #24039

(cherry picked from commit 465db82cd96a05ca3b2a1b5ecf59e4287968e3fe)
2021-12-19 23:21:20 +01:00
Killyana a8e4b66c99 DB/GossipMenu: Remove some custom gossips
(cherry picked from commit 739383b52e4dfc710d9878cc85a45d20c2c23ecb)
2021-12-19 22:41:47 +01:00
Killyana 07046d0cf0 DB/Gossips: Remove a custom gossip from some Innkeepers
(cherry picked from commit 87e1f7366a6b73475f4ca893d0e7a22651c5c1ad)
2021-12-19 22:40:46 +01:00
Killyana 3f3abe9ad0 Creature/Script: Add text target for npc_shadowfang_prisoner
(cherry picked from commit 10ba39e62644c0d071013d50775790307de807c2)
2021-12-19 19:49:52 +01:00
Killyana e67e52fe2f DB/Gossips: Remove more outdated custom gossips
(cherry picked from commit 39fa513e714d83761e5d04f908b411e22c40d385)
2021-12-19 19:29:28 +01:00
Killyana b9980f61bd DB/Gossip: Set the correct gossip menu id to Tharnariun
(cherry picked from commit fd47da4598c737b05dfb1b3f09954cf09426ac64)
2021-12-19 19:14:52 +01:00
dr-j 034aecca66 DB/Quest: Move "Gyromast's Revenge" to SAI
Closes #24034

(cherry picked from commit a04a80b906172a2d696beca21db095c519c24962)
2021-12-19 19:12:08 +01:00
Killyana e04f3dfd6f DB/Gossips: Remove outdated custom gossips
(cherry picked from commit 8c29c997e6bc949d044cadc7e53c15c1a4016282)
2021-12-19 19:07:48 +01:00
Killyana b2eac05bf2 DB/Creature: Guchie Jinglepocket
(cherry picked from commit e4be992791f95cf5b8f2049ac89f097cc1c171c5)
2021-12-19 19:05:55 +01:00
Shauren d44d218046 Core/Phasing: Delete old and unused enum 2021-12-19 18:12:28 +01:00
Shauren 68a25f5e9b Core/Scripts: Add missing implementation for samePhase argument of ScriptedAI::ForceCombatStopForCreatureEntry 2021-12-19 18:12:12 +01:00
ccrs d7571e5d1f Scripts/ICC: little bit of cleanup in Valithria after the "recent" changes
(cherry picked from commit 7ffe0185711095b0f62a5edf1e1819935d02851c)
2021-12-19 18:05:23 +01:00
Killyana 956a342845 Core/Movement: Remove a wrong set SetWalk from HomeMovementGenerator
(cherry picked from commit 9f057d708267935053d94bdded9ea9efc10d1dd3)
2021-12-19 17:44:10 +01:00
Killyana a7cf209428 Core/Creature: Clear creature focus after an evade
(cherry picked from commit a32aeceb0da5d691eb655e80eb9ea7b32fc44839)
2021-12-19 17:44:00 +01:00
Giacomo Pozzoni d095d4afe9 Fix fleeing speed to 66% run speed (#24025)
* Core/Movement: Fix fleeing speed to 66% run speed

Fix fleeing speed to 66% run speed until the creature starts returning home

* Fix build

* Don't check speed type

* Don't apply speed reduction twice

* Fix no-pch (1st try)

* Make sure every spell focus is interrupted when seeking assistance

(cherry picked from commit 4ccf01de3947f50629c20192da3f99cb8c693b35)
2021-12-19 17:39:25 +01:00
Killyana d946d74ff9 Core/AI: Fix creatures not updating their target properly once engaged
Closes  #21562

(cherry picked from commit 7fb74326205acbc5c0fa6b2aa9731d891e788d64)
2021-12-19 15:54:20 +01:00
Giacomo Pozzoni 8d32849b34 Core/MMaps: Fix charge underwater/falling (#24010)
* Core/MMaps: Fix charge underwater

Fix charge sometimes returning "no path available" when swimming/underwater.
Fix charge selecting a destination point 4 yards above swimming/underwater targets

* Allow falling units to charge targets that are below (lower Z coordinate)

* Disable "raycast" pathfinding as it's not blizzlike.

This might show some strange paths when charging with a target in front.
It also fixes some falling undermap issues.

This Reverts 272009ebee

* Remove Z offset when charging a target as it never made sense

(cherry picked from commit 88a14251e2765880e90cb41be7919cd39e3308e2)
2021-12-19 15:54:09 +01:00
Keader 80dbecbd56 Scripts/ICC: Fixed Valithria Archmages casting while dead
After 9c603ea87f09c47d52f093ccc73ee75c15eff6f5, dead creatures will tick UpdateAI
Closes: #24012

(cherry picked from commit 2f31119ea337aedecc593b6bb687ad73390db3a2)
2021-12-19 15:51:30 +01:00
Giacomo Pozzoni 292df30394 Core/Movement: Fix wrong orientation set when pausing movement (#23986)
* Core/Movement: Fix wrong orientation set when pausing movement

* Update MoveSpline.h

* Update Unit.cpp

(cherry picked from commit e698c17a2688385e62744cdf5eb37b12b9e304fa)
2021-12-19 15:48:43 +01:00
Eridium 2b27278516 Spell/Script: Egg Nog (#24007)
Closes  #23996

(cherry picked from commit b60786a91610d2c841b4d61c360a2cdd97a49118)
2021-12-19 15:48:29 +01:00
Killyana a09d5d4854 Creature/AI: Reset CoolDowns on evade
Closes  #24008

(cherry picked from commit cb11ad97fb9eb6202b54913b0f522eda4935d533)
2021-12-19 15:46:40 +01:00
Michael 72e61625bc additional output for additem command (#24006)
* additional output for additem command

when removing items with additem:

if the user provides an amount too large of a negative amount, the command will now output the amount of items that could not be destroyed.

* renamed sql file to hopefully avoid conflicts

* added clarification to failure string

* changed unneeded else if condition to else

* code style; braces

* Update and rename 9999_99_99_99_world.sql to 2019_12_28_01_world.sql

(cherry picked from commit 6b19f4a0ab1f77ea969a080a6eea0379baf9f8df)
2021-12-19 15:46:20 +01:00