aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-29Core/Objects: Don't consider SMSG_UPDATE_OBJECT packets that contain only ↵Shauren
destroyed objects as empty
2022-01-29Core/Objects: Cleanup SmoothPhasing code - move to separate files and better ↵Shauren
integrate it with visibility system
2022-01-29Core/Objects: Implement SmoothPhasing part of CreateObject and replacing ↵Seyden
visible objects
2022-01-29Core/Objects: Properly choose between "Destroyed" or "OutOfRange" during ↵Shauren
visibility update
2022-01-29Core/Objects: Add overridable function UpdateObjectVisibilityOnDestroyShauren
2022-01-28Build: Disable Visual Studio 2022 MSBuild resource manager to make compile ↵Shauren
take only as much time as it does in Visual Studio 2019
2022-01-28Core/Spells: Exclude empty mods from affecting spells and ignore ↵Shauren
PointsIndexX mods for spells that don't have any effect at that index
2022-01-28Scripts/Spells: Fix shaman Lava Surge proc (#27667)Robingad
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-27Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts ↵Robingad
and add Lava Burst Overload (#27676)
2022-01-27DB/Gossip: Restore gossip_menu_option Box* values that were wrongly set by ↵Shauren
88659dcebf9f033cd99e87595151f42fbcd96310
2022-01-27Scripts/Spells: Fix shaman Earthquake (#27620)Robingad
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-27DB/GameObject: Remove duplicate board spawn in Stormwindshamage
* removing cata era one Closes #27672
2022-01-27DB/Creature: Fixed sheath state of Apprentice Mages in Wizards Sanctum ↵ModoX
(Stormwind)
2022-01-27SQL: Fix 2022_01_26_45_world.sql for mysql 5.7Shauren
2022-01-26Core/Gossip: Sync naming and db structure with 3.3.5Shauren
2022-01-26Core/ChatCommands: Do not parse partial strings for numeric paramters (PR ↵Peter Keresztes Schmidt
#25259) Check if integral/floating point type arguments were parsed successfully. std::stoull will happily parse floating point strings until the decimal separator and return the value. Make sure for all parsing methods that we actually parsed the whole token. This allows to use handler arguments like Variant<uint32, float> which will be populated with the right type depending on the token value (e.g "10" vs "10.0"). (cherry picked from commit 7edad0d601a7ae925cba850c5a23019f99be2a1e)
2022-01-26Core/SAI: Spell casts that cannot be executed because the unit is currently ↵Giacomo Pozzoni
casting another spell will be retried asap with priority over other events (#25238) * Core/SAI: Spell casts that cannot be executed because the unit is currently casting another spell will be retried asap with priority over other events * Core/SAI: Re-sort the events only when needed * Fix some priority reset and wrong mEventSortingRequired handling * Code cleanup. Sort only events loaded from db (not stored events, not timed action list). * Code cleanup. Raise priority of failed casts so they are retried before other spells * Keep priority of the action fails and is rescheduled on next update * Don't try recasting a spell in SMART_ACTION_CAST if there are multiple targets and at least 1 was successful (cherry picked from commit ca25e8d0199730c0976ebc37317e9407aceccc34)
2022-01-26Core/ChatCommands: Honor exact matches during enum arg parsing (PR #25255)Peter Keresztes Schmidt
(cherry picked from commit df29f605959aa449a3962199ee1cac3e09e05e38)
2022-01-26Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256)Peter Keresztes Schmidt
* Core/Shared: Make Emote enum smart * Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (cherry picked from commit 86dc58974a46b554042f33df674e3e40ef0cec1e)
2022-01-26Core/DB: Move every gameobject that uses the spawntimesecs < 0 hack into the ↵Treeston
legacy spawn group (cherry picked from commit b74dc4754d8c1edb81e9564beea1783bdd39d87c)
2022-01-26Core/Warden: Fix for LUA_STR_CHECK (#25247)scizzydo
The check above is what I use to actually get a real result for LUA_STR_CHECK, which when I used variables that would have a string to them it actually fails the check. When checking for items like a function if it exists of course it won't work... In addition, fixing the Unk2 to Unk3 causes people to be able to adjust the address of the check to the address 0x00419210 to make warden perform the FrameScript__Execute to run lua on the client. This seems to be the big request like in https://github.com/TrinityCore/TrinityCore/issues/23035 (cherry picked from commit 4125a81bb132c8d108f5bb07787f00a9fadf5838)
2022-01-26Core/ChatCommands: Add support for enum type arguments (PR #25242)Peter Keresztes Schmidt
(cherry picked from commit 5e40eb20e2789b86d4786d86b4bbb8ae83de5e1e)
2022-01-26Core/Unit: Make HandleEmoteCommand typesafe (#25249)Peter Keresztes Schmidt
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter * Scripts/HoR: Fix wrong emote during escape event * Core/Unit: Make improve type safety of HandleEmoteCommand Change argument type to the expected enum type Emote * Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE UNIT_NPC_EMOTESTATE is no flag field (cherry picked from commit 6c7837f947ff4eb5110a116a371daa6f9e2b3bbe)
2022-01-26Core/Spells: Mark constructors of Spell/AuraScript handlers as explicit (#25248)Peter Keresztes Schmidt
Mostly to make clang-tidy happier (cherry picked from commit 34d403e83f42304332f89ffc73549f6f2c695ccd)
2022-01-26Core/Quests: Sync comments/log with 3.3.5Shauren
2022-01-26Script/Quest: The Light of Dawn (#25243)Aokromes
remove incorrect check, source: https://www.wowhead.com/spell=53606/the-light-of-dawn Flags Can be used while dead https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830 https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127 (cherry picked from commit 681c738c61cdf64728fcd86d7598666ab2fd8199)
2022-01-26DB/Creature: Add script & waypoints to Warden TreelosRushor
Closes #13055 (cherry picked from commit 40e47778316b492e2e51f6b82d82420faf82259b)
2022-01-26DB/Creature: Add CREATURE_FLAG_EXTRA_NO_COMBAT to Toxic Tunnel (Naxxramas)offl
Closes #16490 (cherry picked from commit 9d11c25e18286df9f3c21ac5bbe6b369b75da0cf)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 19)Cerveciento
Closes #25245 (cherry picked from commit afd2146ad2336e853aa88f8283dedbfbf0ae8710)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 18)Cerveciento
Closes #25241 (cherry picked from commit e9a1f747fc6c3a1f9d3988dc85ecaceb9dff50db)
2022-01-26Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units ↵Giacomo Pozzoni
(#25229) * Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units * Update PassiveAI.cpp Restored logic that removes loot flag while being possessed * Restored logic that removes loot flag while being possessed (cherry picked from commit 298d7994850dfc777c56a7672042d78074b67f3d)
2022-01-26DB/Quest: Update support for 'The Plains of Nasam' (11652)offl
Closes #23695 (cherry picked from commit dc7691a54913fc6fbd6c77e241662e00f441c33b)
2022-01-26DB/Creature: Remove some wrong spawnsoffl
Ref #23791 (cherry picked from commit 2b8f314183c52958a4ad7c9cc7affec18ec39852)
2022-01-26DB/Creature: Fix gold value for world bossesoffl
Source https://github.com/cmangos/tbc-db/commit/d10a189755188633a6c9c3a2fc45d8d2729dfee1 (cherry picked from commit 4c4e3b956fb3872e7327827311766e8063b413ed)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 17)Cerveciento
Closes #25240 (cherry picked from commit 5188f723b4c9c2a32badbd5bdb7e315fcd2de37f)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 16)Cerveciento
Closes #25237 (cherry picked from commit 870e7549986d22f3e55cf70239672ccac0b700d6)
2022-01-26DB/Creature: Fix gold value for TBC raid bossesoffl
Closes #19262 (cherry picked from commit 8ed3efd820d6a3dc63bafa59f2f6352774784648)
2022-01-26Scripts/Naxxramas: Adjust Frogger event timer (#25214)Gildor
* Scripts/Naxxramas: Adjust Frogger event timer Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit 7035a9caf12c72d6710bfec71dc2641eccf82eaf)
2022-01-26Script/Quest: fix (More) Torch Catching (#24907)Rothend
* Script/Quest: fix (More) Torch Catching. Closes #24893 Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit a375f15ae26472202daf02c88d292f2ce6a1470f)
2022-01-26Core/Warden: Warden refactors (PR #25235)Treeston
(cherry picked from commit 6116e5b38522ccfb00f6c941c75482e05b4c0799)
2022-01-26DB/Locale: Add missing esMX quest localesoffl
Copied from already added esES locales since they're almost always similar (cherry picked from commit cce1ccdd5cb59070a48562504a0d4d476fd9aad2)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 15)Cerveciento
Closes #25234 (cherry picked from commit ca9ce8a70bfa565576436f73fdc2b564e7c8d083)
2022-01-26DB/Creature: Sindragosa's Fall Wyrm Reanimator/Frost Brood Spawn eventsdr-j
Closes #25231 (cherry picked from commit be8affa5be04fb5cc2dc00919f208908345ea220)
2022-01-26DB/Locale/esES+esMX Texts missing in quests (Part 14)Cerveciento
Closes #25228 (cherry picked from commit b8f21d4540425137704f05a0acdd8f8773d168eb)
2022-01-26DB/SAI: Rework support for corrupted & cleansed plants from Felwoodoffl
Closes #4960 (cherry picked from commit 2ff51396c008a7eeffa6ed596e84b2f3cd616b1d)
2022-01-26Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not ↵Giacomo Pozzoni
switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure) (#25226) * Core/SAI: Fix creatures casting with flag SMARTCAST_COMBAT_MOVE not switching to melee when the school of the spell they are trying to cast gets silenced (and other cases of spell failure) * Core/SAI: Retry casting after 500ms if a cast failed Fixes #24914 (cherry picked from commit 63a6e1e0480df659e773a3df5e1acc2027ebcf15)
2022-01-26Core/Misc: Code cleanupjackpoz
(cherry picked from commit dd28cecda36ed3912be39d0c3caefef910db707d)
2022-01-26DB/Texts: Add correct BroadcastTextId and comments to some creature textsoffl
(cherry picked from commit 39f2d2d1cf4d79ec9f34f92ac999332d10b04e90)
2022-01-26DB/Texts: Add correct BroadcastTextId and comments to some creature texts, ↵offl
reoder some texts and add missing (cherry picked from commit cf57ea2045af37f044a31be34ded8851bd670cea)
2022-01-26Scripts/Command: Fix .mmap loc always printing command usagejackpoz
(cherry picked from commit 0eb49a3cc91a11ca98cce819dd189f1519684c5f)