aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-23Core/Player: Do not remove auras from Gamemasters in arenas (#21568)Gooyeth
(cherry picked from commit 92b8a870bf423b439806ab39a8d5af0485e60ed8)
2021-08-23Core/Conditions: validate object types when conditioning implicit spell ↵ariel-
targets with CONDITION_OBJECT_ENTRY_GUID Closes #21569 (cherry picked from commit 34c3962b09dbb2b7a11e4ff0c08b2ab05ff63762)
2021-08-23Core/Entities: ghouls start with full energyariel-
(cherry picked from commit 0c1e485e13d065b26e24b4226044246ae8ca0e4d)
2021-08-23Scripts/Command: build fix for horrible outdated boost version used by travisariel-
(cherry picked from commit 68dde9f8c5467c5983078b190e58105f99dad75c)
2021-08-22Core/Maps: Fixed outdoors check (#21551)Jeremy
(cherry picked from commit 367db4e1d641b56d8d7df83320c14b283bd007ce)
2021-08-20Core/Achievements: Several criteria fixes (#26839)Meji
2021-08-18Core/Spells: explicitly disable non proccing auras when generating default procsariel-
Closes #21529 (cherry picked from commit ad796318e8c34df177a935892f27c6a7b4f2f901)
2021-08-18Core/Auras: remove too strict checks in area auras, since a few aren't owned ↵ariel-
by its caster Closes #21528 (cherry picked from commit 2d10429a2d788d6b3aead19bd91ed662bad38751)
2021-08-18Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all casesariel-
Updates #21367 (cherry picked from commit 23808fe349e78118461c08ebe78c8892391be236)
2021-08-18Core/Auras: added sanity checks for area auras having a different owner unit ↵ariel-
than caster Closes #21517 (cherry picked from commit 54e841888621ce2ea6fbfde2f86842ec088cd575)
2021-08-17Core/PacketIO: Do not send hotfix Status::Valid when we don't have a hotfix ↵Shauren
blob for current locale
2021-08-16Core/Misc: Fix cherry-pick errorsShauren
2021-08-16Core/Quests: Fixed quests not working after reloggingShauren
Closes #26823
2021-08-15Core/Battlegrounds: Update BattlemasterListFlags (#26819)Jeremy
2021-08-15Core/Spells Implement targets 133, 134, 135 : ↵Traesh
TARGET_UNIT_LINE_CASTER_TO_DEST_*** (#26786)
2021-08-14Core/AreaTrigger Update box searching to handle oriented boxes (#26772)Traesh
2021-08-14Core/Battlegrounds: Change Battleground* argument to BattlegroundQueueTypeId ↵Jeremy
(#26806)
2021-08-11Core/Items: Implemented secondary shoulder transmog appearanceShauren
2021-08-08Core/Movement: Correct distance checkingChaouki Dhib
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not. (cherry picked from commit 0fb133013c0c1c2c7f47c215435990822454d8f8)
2021-08-08Core/Creature: Temporarily let Creatures violate dynspawn assumptions for ↵Treeston
pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix. Tag #21519. (cherry picked from commit 9fc6b13027d2d66a99b6bee49d3add23f2c0c8af)
2021-08-08Core/Creature: Add another aggressive compatibility mode assertion to catch ↵Treeston
faulty dynspawn code. (cherry picked from commit 3eab2d7efcc225696fe32f94687fd8e7b6755a2a)
2021-08-08Core/Globals: use proper type for smallintariel-
(cherry picked from commit c9b730c767072225fdc2142908455c1d26e91fa8)
2021-08-08Core/VMap: Use fuzzy equality and gridmap tolerance for floor-finding. ↵Treeston
Closes #21338. Supersedes #21479. (cherry picked from commit ec916db294760576ef4466d7e558f038dacecf20)
2021-08-08Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add ↵Treeston
WorldObject::IsOutdoors, basic member access. Ref #21479. (cherry picked from commit e79c595b695ea5f35b8324efbb7741ccb102bce9)
2021-08-08Core/Threat: Fix taunt logic relying on unspecified behavior by unordered ↵Treeston
boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again. Closes #21499. (cherry picked from commit 71b5ed6832ac4162754ec50f53cd76305f8a187a)
2021-08-08Core/GameObject: implemented gameobject_overrides table to change faction ↵ariel-
and flags values on a per-spawn basis Updates #20957 Closes #20958 (cherry picked from commit 34967e9c32b2c7e871bb93f41609a3b08ad92931)
2021-08-08Core/GameObject: kill uninitialized, unused field from ↵ariel-
GameObjectTemplateAddon struct (cherry picked from commit 02739c2cbb1c6956e26a21120ddef42d017923c2)
2021-08-08Core/Entities: kill unused return value from Unit::HandleSpellClickariel-
- AI hook will now receive the result by copy, as modifying it had no effect - Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo> (cherry picked from commit 98d6258efdc07b53808ba6177e5427c65163bc0d)
2021-08-08Core/Auras: check conditions against referer caster, just as spells doariel-
Closes #21492 (cherry picked from commit 83292cd983474753393017c4f7ac3ba509fc4c83)
2021-08-08Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> ↵Treeston
SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse. (cherry picked from commit 0850b5ff39b187d8a1adb032dfd7900d4474cfaf)
2021-08-08Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy ↵Treeston
hack gameobjects, ref 27e7906. (cherry picked from commit 9f92896c52dfdaaad3a7eb66a780a7415dc12546)
2021-08-08Core/GameObject: fix stupid ridiculous junk legacy hack code with negative ↵Treeston
gobj respawn time to work again (cherry picked from commit 27e7906814f2696863f5ab0488c59ffa347d8cc9)
2021-08-08Core/Scripts: remove hack that caused aura to not be applied and saved twice ↵ariel-
on owned auras, causing an error on save - This is handled by group stack rules actually - Also reset removed aura counter when cleaning removed auras Closes #21486 (cherry picked from commit 1074a9b053c7d1fbff1321bf95b15d7be1ee669f)
2021-08-08AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID (hi kilyana)Treeston
(cherry picked from commit 691c67f0be09095a34421043baf245fdf28e5d04)
2021-08-08Core/Spawning: Actually check spawn group state before processing a respawn. ↵Treeston
It feels like that is something that should've been noticed at some point. Also remove CreatureScript::CanSpawn since nobody uses it, and spawn groups do the same thing. (cherry picked from commit 94b5d9bfa1195ad7c32cf51a665b55514dac0938)
2021-08-08Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction ↵ariel-
dispel effect - Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount. - This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly Closes #21393 (cherry picked from commit 3753ec56476d597b180968eb673cb20776785f31)
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