Treeston
0c4a2a33fd
Core/Misc: Add even more RBAC/Language values I need for #23633 .
...
(cherry picked from commit 5378fc4500 )
2021-12-17 22:42:02 +01:00
Treeston
5bb0cce3a2
Core/Misc: Add RBAC/Language values I need for #23633 .
...
(cherry picked from commit cb690fc705 )
2021-12-17 22:40:34 +01:00
Treeston
2b65dbbeab
Core/Misc: Kick a Totem error log upstairs one stack frame to give it access to various debug info and make Aokromes happy.
...
(cherry picked from commit e813200e5e )
2021-12-17 22:36:55 +01:00
Treeston
3388cea685
Core/Misc: Remove Trinity::Containers::Size (duplicate of advstd::size)
...
(cherry picked from commit f1d9a36c5f )
2021-12-17 21:57:41 +01:00
Giacomo Pozzoni
77eaa2c1ac
Scripts/Blood Furnace: Fix infinite loop in Broggok encounter
...
Fix infinite loop in Broggok encounter caused by https://github.com/TrinityCore/TrinityCore/pull/23300
(cherry picked from commit 30a4aca266 )
2021-12-17 21:52:33 +01:00
Treeston
3269c42789
Core/AI: No longer do strange things when told to enter evade mode while there's no need to do so, typically by terrible legacy code.
...
(cherry picked from commit 163f44c1b0 )
2021-12-17 21:50:47 +01:00
Treeston
0e13ed412a
Core/Threat: Properly update offline states even if all threat references are offline. Closes #23639 .
...
(cherry picked from commit 55ec3bd73f )
2021-12-17 21:46:33 +01:00
Treeston
1759502f5d
Core/AI: PetAI now properly signals engagement state. Closes #23640 .
...
(cherry picked from commit c3dd67dfbb )
2021-12-17 21:46:23 +01:00
jackpoz
e6e73b7b13
Core/Spells: Fix infinite loop
...
Fix an infinite loop caused by a mix of item 25498 and liquid damage
(cherry picked from commit 9b292f4369 )
2021-12-17 21:44:04 +01:00
Wyrserth
15f6056bac
Script/CullingOfStratholme: add out-of-combat texts to Postmaster Malown and fix Arthas' attack animation when he kills the two civilians for the RP event.
...
(cherry picked from commit 2cb1e7b18d )
2021-12-17 20:50:03 +01:00
Gildor
46c0f0d8fe
Core/Arenas: Remove doors in RL, NA and BE when arena has begun ( #23606 )
...
(cherry picked from commit 6d2cd7f687 )
2021-12-17 20:48:47 +01:00
ForesterDev
529ca2dd5d
Scripts/Defines: cleanup some magic numbers in factions ( #23631 )
...
(cherry picked from commit 0c317498a5 )
2021-12-17 20:48:31 +01:00
Giacomo Pozzoni
2a63135d37
Core/Misc: Replace some abs() with std::abs()
...
Always prefer std:: math function compared to C ones, as done in 7fe7f30521
(cherry picked from commit e68ebd3339 )
2021-12-17 20:33:48 +01:00
Keader
ca71fc7b6c
Core/Spells: Added spellgroup support to HandleModCastingSpeed ( #23592 )
...
(cherry picked from commit 4c2f7df4f3 )
2021-12-17 20:31:57 +01:00
Shauren
e8b3dda4a0
Core/BattlePets: Wrap battle pet related code in a separate namespace
2021-12-17 14:23:43 +01:00
Meji
446997cdf2
Core/BattlePets: Misc fixes
...
* 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-17 14:23:43 +01:00
aquadeus
01ac538cd2
Scripts/Spells: Fix priest Mind Bomb ( #27415 )
2021-12-17 12:27:12 +01:00
Shauren
05037bd936
Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flags
2021-12-17 12:18:43 +01:00
Kelno
f3b0325758
Core/OPvP: Remove dangling line after 84b7b2e (PR #23625 )
...
(cherry picked from commit ef3ee63d88 )
2021-12-17 00:33:35 +01:00
Wyrserth
f6df334bb6
Script/ScarletEnclave: remove Eye of Acherus control and speed auras from player when the Eye of Acherus is dismissed.
...
(cherry picked from commit bf8741c53d )
2021-12-17 00:29:59 +01:00
Treeston
4c754de7a8
!= and == are not the same thing.
...
(cherry picked from commit 51cf1c7136 )
2021-12-17 00:29:31 +01:00
Treeston
c6834a1de6
oops, that wasn't supposed to remain there ( 0e7c66c follow-up)
...
(cherry picked from commit 81fcd2e2d5 )
2021-12-17 00:29:21 +01:00
jackpoz
e998a1169d
Core/Spline: Fix crash
...
Fix crash when calling MoveSpline::ToString() on an empty spline
(cherry picked from commit 2bac44c7d0 )
2021-12-17 00:27:09 +01:00
Treeston
a4c2c0fb1d
Core/AI: No longer override chase movement with follow movement if the creature engages before JustAppeared has had a chance to fire.
...
(cherry picked from commit 49b04c0fdd )
2021-12-17 00:25:59 +01:00
Wyrserth
a2b1b3e2aa
Core/Instance: remove wrong raid-only restriction in the logic that kicks offline players out of instances when the instance is reset.
...
(cherry picked from commit e5615402cc )
2021-12-17 00:24:22 +01:00
Treeston
c13d83796f
Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged. Fixes #17981 and #23602 for real this time.
...
(cherry picked from commit 0e7c66cb4c )
2021-12-17 00:23:33 +01:00
Wyrserth
3efc2caf96
Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
...
(cherry picked from commit b8d86bba99 )
2021-12-16 22:58:41 +01:00
Giacomo Pozzoni
493fe066f6
Core/Misc: Handle timezones for hour-specific events specifieds in 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 aeddd417c4 )
2021-12-16 22:35:44 +01:00
Treeston
611ddfee3c
build fix after d1dc0e2
...
(cherry picked from commit c0f8e8535a )
2021-12-16 22:16:07 +01:00
ccrs
e94dca132b
Core/SmartAI: add missing movement generator type check on SmartAI::SetCombatMove
...
ref #21562
(cherry picked from commit 0e3e4353a1 )
2021-12-16 22:10:54 +01:00
ccrs
f1ef2f73a4
Core/SmartAI: allow more Unit::ResumeMovement calls on JustReachedHome()
...
Since ResumeMovement also works on other MOTION_SLOT_DEFAULT generators (like RandomMG)
(cherry picked from commit c8cb866db0 )
2021-12-16 22:08:01 +01:00
Ovah
879e7094b7
Core/Misc: Add new centralized location for generic predicates (PR #23607 )
...
(cherry picked from commit 6e2ca481e5 )
2021-12-16 22:05:20 +01:00
jackpoz
17bf908847
Core/Misc: Fix warnings
...
(cherry picked from commit a9f1dc1da7 )
2021-12-16 22:04:25 +01:00
jackpoz
2c3cdf67c2
Core/MovementGenerator: Add more asserts
...
(cherry picked from commit 9ed35e2108 )
2021-12-16 22:04:12 +01:00
jackpoz
f65edd1130
Core/MovementGenerator: Add more details to asserts
...
Include movespline in Unit::GetDebugInfo() and the Player owner in FlightPathMovementGenerator::DoEventIfAny() assert
(cherry picked from commit 560b7e3397 )
2021-12-16 22:03:52 +01:00
Ovah
a24a5e7778
Core/Movement: add a velocity argument for the spline chain meta table (PR #23575 )
...
(cherry picked from commit 3f7b2252a1 )
2021-12-16 22:03:35 +01:00
OcelotGear
65abf9b482
Script/Hunter: fix Snake Trap's snakes' initialization.
...
Closes #23570 .
(cherry picked from commit 085f40a278 )
2021-12-16 22:01:40 +01:00
Wyrserth
434ef51c10
Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
...
Closes #23570 .
(cherry picked from commit 55570be661 )
2021-12-16 22:01:10 +01:00
Wyrserth
537b425377
Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
...
Closes #281 .
Signed-off-by: Wyrserth <wyrserth@protonmail.com >
(cherry picked from commit 5f5d2028df )
2021-12-16 21:57:19 +01:00
Treeston
e270351a16
Scripts/Commands: Adjust .list respawns to use enum iteration. Add enum iteration capability to SpawnObjectTypes.
...
(cherry picked from commit b64834c3f5 )
2021-12-16 21:41:24 +01:00
Wyrserth
8b71e65f20
Core/Achievement: don't increase ACHIEVEMENT_CRITERIA_TYPE_RECEIVE_EPIC_ITEM counters for items bought back from vendors.
...
(cherry picked from commit a58955d88c )
2021-12-16 21:20:39 +01:00
Wyrserth
96bca1fe2b
Script/BoreanTundra: move Pile of Fake Furs' script (related to quest Unfit for Death) from ItemScript to SpellScript.
...
Closes #21890 .
(cherry picked from commit e7cf24d263 )
2021-12-16 21:20:39 +01:00
Wyrserth
1f8a6bac87
Core/GameObject: do not allow players to interact with gameobjects that use the "Point" icon.
...
Updates #21890 .
(cherry picked from commit c52c0f0b7d )
2021-12-16 21:20:38 +01:00
Wyrserth
cc0a9d1fe9
Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
...
Fixes cases where people would get strange errors like "You are not high enough level for that quest" when entering WotLK instances.
(cherry picked from commit a4ddb30489 )
2021-12-16 21:20:38 +01:00
Treeston
093223d7b4
Core/DB: Add RBAC for .debug poolstatus, because I need it for the pooling branch.
...
(cherry picked from commit a82bbeb101 )
2021-12-16 21:20:38 +01:00
jackpoz
488d59aef3
Core/Misc: Fix no-pch build
...
(cherry picked from commit 504e452450 )
2021-12-16 21:20:38 +01:00
Treeston
8b78f50556
Core/DB: Merge pool_creature, pool_gameobject and pool_pool into a single pool_members table.
...
(More pooling prep, I really don't want to have any sql update files in that PR if I can help it.)
(cherry picked from commit 45bc91c238 )
2021-12-16 21:20:38 +01:00
Treeston
6f6cf975e4
Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
...
(cherry picked from commit 293ba08d21 )
2021-12-16 21:20:38 +01:00
Treeston
bd7aae928e
Core/Chat: Properly reload saved channel settings from DB after 8c16f31.
...
(cherry picked from commit 2c1b87ca29 )
2021-12-16 21:20:38 +01:00
Treeston
9fa5c71409
Core/DB: Add a world state for daily quest reset time to characters. Not used right now, but written to allow easier transition later.
...
(cherry picked from commit 1277c54263 )
2021-12-16 21:20:38 +01:00