aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-08Core/Auras: restrict target map update only to area auras as player requires ↵ariel-
to have auras registered on load Closes #21472 (cherry picked from commit 7cff1b540c96d9e2cf82b244cc0d1618bf5b090f)
2021-08-08Core/Unit: clear charmed/possessed state before returning client control. ↵ariel-
Works like a charm Closes #21471 (cherry picked from commit fc678bb3c21d6c5a87a840c7bbf596eaea1cffc3)
2021-08-08Core/Vehicles: fix crashariel-
- Aura could be removed in Unit::SetCharmedBy (StopMoving->Relocate->ProcessTerrainStatusUpdate->RemoveAurasWithInterruptFlags) - By not passing AuraApplication parameter execution continued with a removed application leaving vehicle in a invalid state (m_sharedVision not empty) Closes #18281 (cherry picked from commit eb7d22d23eedb0d1b5374f80518cd7994d7c7b3a)
2021-08-08Core/Entities: unit states cleanupariel-
- Added new UNIT_STATE_FOCUSING for creature focus system, this will stop creatures adding/clearing the UNIT_STATE_CANNOT_TURN mask (eg UNIT_STATE_STUNNED if stunned while focusing a spell) - Added UNIT_STATE_CHARMED that gets set/removed on any charm type (UNIT_STATE_POSSESSED is only for possess as it's name suggests) - The new states are checked against mask to know whenever client needs to regain character control Closes and fixes #21460 (cherry picked from commit ba27711145d1b015578aedb48ea8532b4f0bec75)
2021-08-08Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die ↵Wilcalaf
while invisible preventing players from looting. (#21436) (cherry picked from commit 2dd5735bd9c4212e0009c9d4db0da34cc1541862)
2021-08-08Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option. (cherry picked from commit db5c9867e2ffde3657f53bc155b474c5d46884dd)
2021-08-08Core/Misc: ASSERT() cleanupjackpoz
Move some functions calls out of ASSERT() calls. ASSERT() should only apply checks without modifying any object and without having any side effect. (cherry picked from commit 572eab1c355d9298ee640ebd7439f55366224fb8)
2021-08-08Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase.sirikfoll
(cherry picked from commit 076bd11002c0fe7ed893497e582a40b7f46320e6)
2021-08-08Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent ↵ariel-
but no active pet (cherry picked from commit 1ac87b6c6024b06c361d550795d041ea4b7e5a6c)
2021-08-08Core/Spells: Execute item casts immediately instead (#21396)Cannix
(cherry picked from commit 7e71b4535a0e927ecdee30489e5a3c0b6f247559)
2021-08-08Core/Entities: remove grid-wide visibility from setActive and implement ↵Wyreth
another method for it (#20725) (cherry picked from commit 56874b44f0625f80442ea906f487e3253bdd16eb)
2021-08-08Core/Misc: Fix static analysis issuesjackpoz
Fix static analysis issues reported by Coverity (cherry picked from commit d3d0640a8d61e9a216876b7f1b114673893b2bc8)
2021-08-08Partial: Core/Entities: Reduce the probability of units dropping under the ↵Jeremy
map (#21322) Reduce the probabilty of going under the map (cherry picked from commit 9e0faace9a5114fc2324c2c601ba943272e0d6ff) Revert "Core/Entities: Reduce the probability of units dropping under the map (#21322)" (cherry picked from commit 2dadbda24ac1c2e6ff3dad650c7e25f4b3322342)
2021-08-08Core/Spells: Use caster as chat source in Spell::EffectSendChatMessageShauren
2021-08-08Core/Battlegrounds: Remove duplicate info from GroupQueueInfo (#26759)Jeremy
- BgTypeId - ArenaType - IsRated Those are fields that are already present in the field m_queueId
2021-08-08Core/Misc: ASSERT() cleanup - followup of cherry pick ↵Shauren
572eab1c355d9298ee640ebd7439f55366224fb8
2021-08-08Core/Units: Fixed crash in Unit::CalcArmorReducedDamage when called from ↵Shauren
periodic aura tick if caster is no longer in world Closes #26776
2021-08-08Core/Misc: Updated SpellCastResult, GameError and HotfixStatus enumsShauren
2021-08-08Core/DataStores: 9.1.0 db2 structuresShauren
2021-08-08Core/PacketIO: 9.1.0 opcodes and packet structuresShauren
2021-07-22Core/Auras: Fix incorrect use of GetUnitOwner() in DynObjAura::FillTargetMapShauren
Closes #26735
2021-07-21Core/Auras: Skip estimated points calculation for ↵Shauren
SPELL_EFFECT_PERSISTENT_AREA_AURA Closes #26731
2021-06-24Core/AuctionHouse: Fixed paying for commoditiesShauren
Closes #26621
2021-06-23Core/AuctionHouse: Fixed buying commoditiesShauren
Closes #26110 Closes #26619
2021-06-22Core/SAI: Move enum to the correct fileKillyana
(cherry picked from commit 8aa10f6c65ba7fc8363a663b305fede95d0ccb58)
2021-06-22Core/Events: update holiday code and remove misleading log (event date is ↵ariel-
the one from game_event) - add siign to DBC struct member CalendarFilterType as it was being used as such - kill localtime usage as it's deprecated Closes #18542 (cherry picked from commit 5b4287e6832da32539a49e68f6a5ab0ee55854b3)
2021-06-22Core/Scripts: implemented Fungal Decay & Tail Stingariel-
Refs #18542 (cherry picked from commit 7dc78d8e3f437ad7f3ad40bf1ef6801ac1ed5fc2)
2021-06-22Core/Auras: remove obsolete check that was preventing some auras to proc ↵ariel-
even if they met conditions otherwise (cherry picked from commit 5f38b9234070dbbb2a0968eee2dcbae5af9c1e9f)
2021-06-22Scripts/Ulduar: Fixed amount of Mole Machines in Razorscale 10 manKeader
(cherry picked from commit f609589e22f86a803ea86e311fd8b5ca636e08a4)
2021-06-22Core/SAI: Add an action_param3 to "summon gob" to control when the object ↵Killyana
will despawn 0 - For despawn when creature dies or time runs out 1 - For despawn after time Closes #11601 (cherry picked from commit ca4f1e334a98cbd810168b24714c46201079fc5a)
2021-06-22Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes ↵Treeston
on normal mode (match DBM). This closes #15367, no matter what ccrs' bong says. (cherry picked from commit 789f3c5d37477fb2794bec47d154e6c0390ff776)
2021-06-21Core/Spells: prevent creatures to focus channeled spells without ↵ariel-
SPELL_ATTR1_CHANNEL_TRACK_TARGET - Creatures stuck here wouldn't try attacking because of this - Remove one workaround in halion script, now it's unneeded Ref #11311 (cherry picked from commit 29f7258dc824659cb2de81c5ff3b3b3853de2a8b)
2021-06-21Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419)Gooyeth
(cherry picked from commit 42a11e97d5ef785bfe0e41f74469da3ec7aec697)
2021-06-21Core/Combat: Unify combat permitted checks between CvC and PvC - only ↵Treeston
require "not friendly" in all cases. Fixes Yogg-Saron encounter. Closes #21380. Also some bonus cleanup to Yogg's script to make transition cleaner. (cherry picked from commit 4da9321d2bdde17ddf1a55b92ab130216e9af27b)
2021-06-21Scripts/SmartAI: SetData now has an invoker (if the setting is done by ↵Treeston
something using SmartAI). Also, some refactors. SMARTAI IS SUCH A FUCKING CLUSTERFUCK I SWEAR. (cherry picked from commit cfc77fd84355d28737f3f85f2ba318be5caacdea)
2021-06-21Core/Scripts: Add bossId in state error log. (#21421)Gooyeth
(cherry picked from commit b9aec3b4d3ea7a2a98214d6a9b923b3a9675fd4d)
2021-06-21Core/Auras: make area and dynauras condition compliant by using the ↵ariel-
spellarea searcher instead of script searchers Closes #17317 (cherry picked from commit f1f6976f91952806f8b2bcc23fbbef5a8075fe73)
2021-06-21Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under ↵ariel-
certain conditions, missing a target change Closes #21390 (cherry picked from commit a145a14166d12cd14a0018171fd4dd818b3a2fe5)
2021-06-21Core/Spells: fixed server being too overzealous with autoshotariel-
- Interrupting it when casting another spell and switching targets Ref #21390 (cherry picked from commit 93cbe815cb6dfc1cd7535db2cabf81d42bf60da7)
2021-06-21Core/Scripts: Fixed some delayed enrageKeader
Closes #15367 (cherry picked from commit 63c436f5fb6924b872050cf5838a4052d9034935)
2021-06-21Core/Scripts: implemented Seed of Corruption scaling damage toleranceariel-
(cherry picked from commit df5afca27859058f725c3dc9964d967aa89ff756)
2021-06-20Core/Spells: Port refactors from 1826437c094966ae339a154844df8587b2122888ariel-
(cherry picked from commit 1826437c094966ae339a154844df8587b2122888)
2021-06-20Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.Treeston
(cherry picked from commit 264d4e1d30debcf6feacee3d29982875672a7bbe)
2021-06-20Entities/GO: GameObjects now support (delayed) despawning in a reasonable ↵Treeston
manner. Closes #21406. (cherry picked from commit f071fa9e931533c28e6b9d8b0e38ed8878ce2b45)
2021-06-20oops, now it builds (and a bonus refactor that annoyed me)Treeston
(cherry picked from commit 2cd5992f37fe386786ddd906cd4dd691125ad2b6)
2021-06-20Scripts/SmartAI: Forward invoker to invoked action list actions. Also ↵Treeston
JustAppeared -> InitializeAI. (cherry picked from commit 6fb0bc10387b73836cea9a3c0eaaafcf58794b7d)
2021-06-20Scripts/TheBarrens: Fix "The Escape" (863) - I don't think this one ever ↵Treeston
worked, honestly. (cherry picked from commit 0e401c7d963f983d31573d108ccd2343fda40094)
2021-06-20Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log ↵Treeston
errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now. Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker. (We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.) (cherry picked from commit 482328bddf1c5fcd367268525d2f904793239bc9)
2021-06-20Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. ↵Treeston
Fixes and closes #21156. (cherry picked from commit ac8b9be5d67ccaba3f51663eeccca60ae86cea5b)
2021-06-20Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade ↵Treeston
issues. Tag #20310. (cherry picked from commit fe3b4de1cd2a0924674c34d439f682c95d3a784a)