Commit Graph

26588 Commits

Author SHA1 Message Date
Sorikoff
66f5275d26 Scripts/Spells: Runic Healing Injector (#23690)
* Scripts/Spells: Runic Healing Injector

* Rename 9999_99_99_99_world.sql to 2019_08_08_00_world.sql

(cherry picked from commit 382f563571)
2021-12-18 19:15:11 +01:00
Sorikoff
26f0c1182a Scripts/Spells: Port Part of Druid Scripts to New Script Registration (#23691)
(cherry picked from commit 996d4f7cc4)
2021-12-18 19:11:34 +01:00
Treeston
7704d8fc7a Scripts/Commands: Add .go boss, and do a usability pass over .go instance to match it.
(cherry picked from commit 57b36dfdc6)
2021-12-18 16:13:24 +01:00
Treeston
c7e7c52c1a Scripts/Commands: Cleanup some output from .go instance
(cherry picked from commit 4320a021e9)
2021-12-18 16:00:20 +01:00
Treeston
dcf9854e6a coverity
(cherry picked from commit 268384d2af)
2021-12-18 15:49:44 +01:00
Treeston
a8ceed265a typo fix in comment
(cherry picked from commit 4fcb322010)
2021-12-18 15:47:18 +01:00
ccrs
31bf529667 Core/Creature: 4a219ed codestyle followup, for real this time
(cherry picked from commit 30f4aabf64)
2021-12-18 15:39:58 +01:00
Sorikoff
cd0fb6edbf Scripts/Blackrock Depths: Use DB Texts for Doom'rel (#23681)
* Scripts/Blackrock Depths: Use DB Texts for Doom'rel

* Quick Fix

(cherry picked from commit 33807a065a)
2021-12-18 15:36:00 +01:00
Treeston
28942db431 Common/Util: Sorry about that unexpected downtime at 3AM last night, everyone. (We call them happy little features.)
(cherry picked from commit a4d5b24874)
2021-12-18 15:33:44 +01:00
Treeston
51fbda4223 Core/Pooling: Quest pooling rewrite: (PR#23627)
- Split quest pooling from PoolMgr (into QuestPoolMgr)
- Proper saving/restoring on server restart
- No more hacking into sObjectMgr to insert/remove available quests

(cherry picked from commit a5e73e41c0)
2021-12-18 15:28:45 +01:00
Giacomo Pozzoni
6d5086da17 Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle (#23646)
* Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle

* Get the root vehicle to set the phase to all accessories. Attempt to get the accessories to stay mounted on the vehicle.

* Fix the accessories to stay mounted on the vehicle

(cherry picked from commit 15e85f882f)
2021-12-18 14:08:25 +01:00
Treeston
a90073dadd no idea what happened there (4a219ed follow-up)
(cherry picked from commit b159921099)
2021-12-18 11:37:33 +01:00
Treeston
a18268156a Core/Chat: Always save channel info to database on shutdown if persistence is enabled.
(cherry picked from commit 2d74652b5b)
2021-12-18 11:37:14 +01:00
Treeston
14c38a1c52 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff.
(cherry picked from commit 4a219eda07)
2021-12-18 11:36:50 +01:00
Treeston
82d62a3d4c This is not the critical chat system bug fix you were looking for. No sir. (Oops.)
(cherry picked from commit 6a330214a1)
2021-12-18 11:27:02 +01:00
Treeston
87c2d247d9 Core/Misc: Rewrite some old name handling functions that use raw buffers to no longer be old name handling functions that use raw buffers.
(cherry picked from commit 309851ea24)
2021-12-18 11:25:59 +01:00
aquadeus
da8d6b5180 Scripts/Spells: Fix Incanters Flow (#27395) 2021-12-18 11:24:10 +01:00
ccrs
44e9572a77 Core/Creature: add a const spell-focus-check method and remove a nasty const_cast from IsMovementPreventedByCasting()
closes #23670
maybe #22857 ?

(cherry picked from commit 8e88f4501d)
2021-12-18 00:35:14 +01:00
ccrs
4db13853f7 Core/Unit: rename more things
Workaround prework till actual facing system rework arrives

(cherry picked from commit 3a4021be50)
2021-12-18 00:34:15 +01:00
ccrs
a58881d6da Core/Unit: rename more methods
Workaround prework till actual facing system rework arrives

(cherry picked from commit 85ad0befc5)
2021-12-18 00:29:38 +01:00
ccrs
be4ed9152c Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives

(cherry picked from commit ec9f15a5ff)
2021-12-18 00:25:14 +01:00
Wyrserth
75114dd820 Script/Hyjal: prevent Archimode from attacking players while invisible, and fix his scale (thanks Killyana!).
Closes #16424.

(cherry picked from commit 9da5e850f6)
2021-12-18 00:11:44 +01:00
Wyrserth
2f2de26311 Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not. (#23579)
Fixes #23387 and #22818.

(cherry picked from commit 0b87dffc35)
2021-12-18 00:09:49 +01:00
Treeston
3db58c4d96 Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
(cherry picked from commit 1faa54fe8b)
2021-12-18 00:03:55 +01:00
Sorikoff
1fd0ba816f Scripts/Spells: Devour Humanoid (#23660)
(cherry picked from commit 0d53a0ba98)
2021-12-18 00:01:56 +01:00
Treeston
87786b1ebc Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????
(cherry picked from commit c444cb17e1)
2021-12-17 23:57:18 +01:00
Giacomo Pozzoni
92fc09b1b5 3.3.5 Don't allow to summon dead hunter pets (#23271)
* Core/Player: Add support to SMSG_PET_TAME_FAILURE

* Core/Pet: Don't summon dead pets when using "Call pet"

(cherry picked from commit a0f8ce14e9)
2021-12-17 23:56:51 +01:00
Giacomo Pozzoni
e26b31509e Core/Misc: Fix build warning
(cherry picked from commit 543fe77d2e)
2021-12-17 23:23:30 +01:00
Treeston
8839fa3fe2 Core/Chat: Custom channel preservation rewrite. Channel data is now loaded at startup, and written to the DB periodically, instead of both things happening in real time.
(cherry picked from commit fedf1f557b)
2021-12-17 23:22:13 +01:00
Treeston
8c3eb07889 Scripts/FollowerAI: Some cleanup:
- 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 3d4bebd8d9)
2021-12-17 23:05:55 +01:00
Ovah
d01a22f58e Core/Spells: fixed root behaivior of creatures that are being rooted via 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 d629bad7a1)
2021-12-17 22:55:50 +01:00
Treeston
4330b7c921 Entities/Unit: fix an unrelated check from doing nothing because somebody didn't understand how type-casting works
(cherry picked from commit 0b722e23cf)
2021-12-17 22:54:01 +01:00
Treeston
970a89a8c3 Entities/Unit: Add a missing underflow check to prevent really really low damage from underflowing when paired with flat damage modifiers. Closes #23655.
(cherry picked from commit a8b1b9a3c6)
2021-12-17 22:50:25 +01:00
jackpoz
dad86f5bce Core/GameEvent: Fix OnGameEvent() hook not being called on Creature/GameObject spawned by the event itself
Hook broken since it was added in 1b2c413933

(cherry picked from commit d9ae19d974)
2021-12-17 22:48:01 +01:00
Giacomo Pozzoni
18e394c993 Core/PetAI: Change an assert to a TC_LOG_ERROR
(cherry picked from commit c3619f42a5)
2021-12-17 22:46:46 +01:00
Treeston
917d9b7621 Scripts/ICC: Prevent Professor Putricide from displaying weird behavior during the Rotface/Festergut encounters as a result of his boss boundary
(cherry picked from commit 7fa990edc6)
2021-12-17 22:46:06 +01:00
Treeston
6b1ca0ca12 Core/Combat: Properly unset engagement flag on death.
(cherry picked from commit 9c603ea87f)
2021-12-17 22:45:55 +01:00
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