aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-18Core/Unit: rename IsFocusing methodccrs
Workaround prework till actual facing system rework arrives (cherry picked from commit ec9f15a5fff7830bf2aebc517654784a6d54bb74)
2021-12-18Script/Hyjal: prevent Archimode from attacking players while invisible, and ↵Wyrserth
fix his scale (thanks Killyana!). Closes #16424. (cherry picked from commit 9da5e850f63fef2ae44739350a4771930e98cfda)
2021-12-18Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding ↵Wyrserth
if an aura should stack from different casters or not. (#23579) Fixes #23387 and #22818. (cherry picked from commit 0b87dffc3543c6953118d89b04a06fb19a1ab1dd)
2021-12-18Core/SmartAI: SmartAI creatures no longer process health-based hooks after ↵Treeston
death. (cherry picked from commit 1faa54fe8b2690507e4177a9a7373c0b24855291)
2021-12-18Scripts/Spells: Devour Humanoid (#23660)Sorikoff
(cherry picked from commit 0d53a0ba981a2471fcd951465f6be5d073fddd38)
2021-12-17Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????Treeston
(cherry picked from commit c444cb17e10e118e704012e23c86e1b47f94031b)
2021-12-173.3.5 Don't allow to summon dead hunter pets (#23271)Giacomo Pozzoni
* Core/Player: Add support to SMSG_PET_TAME_FAILURE * Core/Pet: Don't summon dead pets when using "Call pet" (cherry picked from commit a0f8ce14e9a7aeceea035a733625cc695909a5bd)
2021-12-17Core/Misc: Fix build warningGiacomo Pozzoni
(cherry picked from commit 543fe77d2e9d8fb94d706513d15981f8a4527e32)
2021-12-17Core/Chat: Custom channel preservation rewrite. Channel data is now loaded ↵Treeston
at startup, and written to the DB periodically, instead of both things happening in real time. (cherry picked from commit fedf1f557b2aa1cbb0f4bc722b24afb59cc30855)
2021-12-17Scripts/FollowerAI: Some cleanup:Treeston
- FollowerAI properly resumes follow after evading. - Removed duplicated getters from CreatureAI (IsEscorted vs IsEscortNPC), they were used to do the same thing - FollowerAI properly assists in combat. - FollowerAI properly despawns if quest is abandoned. - FollowerAI now supports dynamic respawning for escort NPCs. (cherry picked from commit 3d4bebd8d9210fbb84f8fc75742e248071192b09)
2021-12-17Core/Spells: fixed root behaivior of creatures that are being rooted via ↵Ovah
movement template while getting a root aura removed (#23216) * Core/Spells: do not allow root auras to bypass the root movement template state when getting removed * yeah.... (cherry picked from commit d629bad7a19c1f4c4cd9fb4382fadd97b320dc38)
2021-12-17Entities/Unit: fix an unrelated check from doing nothing because somebody ↵Treeston
didn't understand how type-casting works (cherry picked from commit 0b722e23cf0cdbd7b9753ffe77b349930c34779e)
2021-12-17Entities/Unit: Add a missing underflow check to prevent really really low ↵Treeston
damage from underflowing when paired with flat damage modifiers. Closes #23655. (cherry picked from commit a8b1b9a3c6266d589afb378f07c505f79c75a6a4)
2021-12-17Core/GameEvent: Fix OnGameEvent() hook not being called on ↵jackpoz
Creature/GameObject spawned by the event itself Hook broken since it was added in 1b2c413933f19aec82371a5b55cba9c3b3ded43a (cherry picked from commit d9ae19d974a8026b0fd4eb8b1d11fa59c758f5d1)
2021-12-17Core/PetAI: Change an assert to a TC_LOG_ERRORGiacomo Pozzoni
(cherry picked from commit c3619f42a56fb6aaadc15ca63fe95fc0f519428d)
2021-12-17Scripts/ICC: Prevent Professor Putricide from displaying weird behavior ↵Treeston
during the Rotface/Festergut encounters as a result of his boss boundary (cherry picked from commit 7fa990edc6cbae05e8b68da58313fd675ac5fa81)
2021-12-17Core/Combat: Properly unset engagement flag on death.Treeston
(cherry picked from commit 9c603ea87f09c47d52f093ccc73ee75c15eff6f5)
2021-12-17Core/Misc: Add even more RBAC/Language values I need for #23633.Treeston
(cherry picked from commit 5378fc450061a8fe125429925c43b3de22aeaf2b)
2021-12-17Core/Misc: Add RBAC/Language values I need for #23633.Treeston
(cherry picked from commit cb690fc7050a92df4940add57abd4b3bf42a277b)
2021-12-17Core/Misc: Kick a Totem error log upstairs one stack frame to give it access ↵Treeston
to various debug info and make Aokromes happy. (cherry picked from commit e813200e5ef3eaade089cb0e8382905c80b6130d)
2021-12-17Core/Misc: Remove Trinity::Containers::Size (duplicate of advstd::size)Treeston
(cherry picked from commit f1d9a36c5fce23ae9c68e221521a2b492709f8e5)
2021-12-17Scripts/Blood Furnace: Fix infinite loop in Broggok encounterGiacomo Pozzoni
Fix infinite loop in Broggok encounter caused by https://github.com/TrinityCore/TrinityCore/pull/23300 (cherry picked from commit 30a4aca266be7cc065abb6f8ef79c3a3af2f5836)
2021-12-17Core/AI: No longer do strange things when told to enter evade mode while ↵Treeston
there's no need to do so, typically by terrible legacy code. (cherry picked from commit 163f44c1b08cc043b114585922bd08664434bf92)
2021-12-17Core/Threat: Properly update offline states even if all threat references ↵Treeston
are offline. Closes #23639. (cherry picked from commit 55ec3bd73fd2618e4de199c147bbddcb99d11b19)
2021-12-17Core/AI: PetAI now properly signals engagement state. Closes #23640.Treeston
(cherry picked from commit c3dd67dfbb9877fb547af9cce77606861daeeeca)
2021-12-17Core/Spells: Fix infinite loopjackpoz
Fix an infinite loop caused by a mix of item 25498 and liquid damage (cherry picked from commit 9b292f436903e436bfdfdc61d40d2efffad35bca)
2021-12-17Script/CullingOfStratholme: add out-of-combat texts to Postmaster Malown and ↵Wyrserth
fix Arthas' attack animation when he kills the two civilians for the RP event. (cherry picked from commit 2cb1e7b18dcafa3f2ad72fd196d9332e9a551b15)
2021-12-17Core/Arenas: Remove doors in RL, NA and BE when arena has begun (#23606)Gildor
(cherry picked from commit 6d2cd7f6873202877b3cf3685eb14f6690b6c6fb)
2021-12-17Scripts/Defines: cleanup some magic numbers in factions (#23631)ForesterDev
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-17Core/Misc: Replace some abs() with std::abs()Giacomo Pozzoni
Always prefer std:: math function compared to C ones, as done in 7fe7f30521503559dc8aee9f3127e11111f8ccc4 (cherry picked from commit e68ebd33395569e9aa006acd04645973d9c96187)
2021-12-17Core/Spells: Added spellgroup support to HandleModCastingSpeed (#23592)Keader
(cherry picked from commit 4c2f7df4f39cd98eae21bc64ebac59e3d2eea577)
2021-12-17Core/BattlePets: Wrap battle pet related code in a separate namespaceShauren
2021-12-17Core/BattlePets: Misc fixesMeji
* The battle pet's experience and level will now be reflected in the player's UpdateFields * Despawn summoned battle pet when it is caged
2021-12-17Scripts/Spells: Fix priest Mind Bomb (#27415)aquadeus
2021-12-17Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flagsShauren
2021-12-17Core/OPvP: Remove dangling line after 84b7b2e (PR #23625)Kelno
(cherry picked from commit ef3ee63d880240fcefcac81d0f0f44d854b47625)
2021-12-17Script/ScarletEnclave: remove Eye of Acherus control and speed auras from ↵Wyrserth
player when the Eye of Acherus is dismissed. (cherry picked from commit bf8741c53d299a1d167354a174f5e40ae1981551)
2021-12-17!= and == are not the same thing.Treeston
(cherry picked from commit 51cf1c7136741696fed9850b73f30cd45cb095a6)
2021-12-17oops, that wasn't supposed to remain there (0e7c66c follow-up)Treeston
(cherry picked from commit 81fcd2e2d5cbbb884baea7088d9bf1533ba01f15)
2021-12-17Core/Spline: Fix crashjackpoz
Fix crash when calling MoveSpline::ToString() on an empty spline (cherry picked from commit 2bac44c7d04f490e08d209d4d1e17bc51e61eb8b)
2021-12-17Core/AI: No longer override chase movement with follow movement if the ↵Treeston
creature engages before JustAppeared has had a chance to fire. (cherry picked from commit 49b04c0fdd03d060d10f91a597857ec9c3d9f4ed)
2021-12-17Core/Instance: remove wrong raid-only restriction in the logic that kicks ↵Wyrserth
offline players out of instances when the instance is reset. (cherry picked from commit e5615402cc2dbc8cea6ffada0d759a7feeacb4b7)
2021-12-17Core/AI: Finally move the "is creature engaged" flag to be a property of the ↵Treeston
creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time. (cherry picked from commit 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-16Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in ↵Wyrserth
Sethekk Halls. (cherry picked from commit b8d86bba999684998da59f4765d7982cba30ec21)
2021-12-16Core/Misc: Handle timezones for hour-specific events specifieds in ↵Giacomo Pozzoni
worldserver.conf (#23540) * Core/Misc: Handle timezones for hour-specific events specifieds in worldserver.conf * Handle Respawn.RestartQuietTime too * Handle XP.Boost.Daymask too * Core/Misc: Code cleanup * Core/Misc: Code cleanup * Update Util.cpp * Update boosted_xp.cpp (cherry picked from commit aeddd417c460c43d885cb89ceaa6e051c44b1d27)
2021-12-16build fix after d1dc0e2Treeston
(cherry picked from commit c0f8e8535a025b29557385c95338b642fbda39e8)
2021-12-16Core/SmartAI: add missing movement generator type check on ↵ccrs
SmartAI::SetCombatMove ref #21562 (cherry picked from commit 0e3e4353a1824dd6e40ca10a01c4465aa1b1fbad)
2021-12-16Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()ccrs
Since ResumeMovement also works on other MOTION_SLOT_DEFAULT generators (like RandomMG) (cherry picked from commit c8cb866db088837cd7c771059e66d98a46de4fdd)
2021-12-16Core/Misc: Add new centralized location for generic predicates (PR #23607)Ovah
(cherry picked from commit 6e2ca481e5616f0e0c197f051fb8db6f41db4ed6)
2021-12-16Core/Misc: Fix warningsjackpoz
(cherry picked from commit a9f1dc1da72e217874a5191d7740ebec36803b3e)