Commit Graph

35383 Commits

Author SHA1 Message Date
Treeston
dd239e8b0f Scripts/Commands: .npc info now includes react state info
(cherry picked from commit 2c030ed5e7)
2021-10-23 14:33:21 +02:00
ModoX
437fb2aaba Core/CreatureTexts: Added new field SoundPlayType to enable usage of ObjectSounds within creature_text (#27136)
* Also adjusted Vigilant Quoram texts to use ObjectSounds
2021-10-23 13:10:32 +02:00
ModoX
8b171d7c01 Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY (#27148) 2021-10-23 11:42:47 +02:00
Treeston
b6f4b53407 Core/Threat: Only send SMSG_THREAT_UPDATE if the threat list actually changed
(cherry picked from commit 4e5d1b7021)
2021-10-23 02:14:04 +02:00
Treeston
7a503ff597 Core/Threat: Further tweak to assist threat, all CC now prevents assist threat splitting (not just damage-breakable CC)
(cherry picked from commit 408ce48732)
2021-10-23 02:14:04 +02:00
Treeston
05119fd909 Core/Unit: Random code style/naming adjustments
(cherry picked from commit 710488ea20)
2021-10-23 02:14:04 +02:00
Treeston
392a644dc8 Core/Threat: Threat system adjustments:
* Online states are now re-evaluated before victim update instead of continuously. Closes #22226. Tagging #21501.
* Victim update now happens every 1s as opposed to every server tick unless current target goes away.
* Suppressed threat is no longer re-established until the victim gains additional threat (by hitting the target, for instance).
* Assistance threat is now split between non-controlled units threatened by target, as opposed to all units threatened by target.

(cherry picked from commit 5cea572a9a)
2021-10-23 02:14:04 +02:00
Treeston
395f58d651 Core/Unit: Inline some unnecessary helpers.
(cherry picked from commit ce06767ef5)
2021-10-23 02:14:04 +02:00
Killyana
9755bcb179 DB/Loot: Indurium Mineral Vein
Closes #22317

(cherry picked from commit 073ba8ee5f)
2021-10-23 02:14:04 +02:00
PolarCookie
9dd2748618 DB: Naxxanar and Voltarus teleporters
Closes #22311

(cherry picked from commit 151ed6f684)
2021-10-23 02:14:04 +02:00
ZenoX92
e1120ca233 DB/Quest: Quest Emotes (Hillsbrad Foothills & Alterac Mountains) (Alliance)
Closes #22301

(cherry picked from commit ecc00ed6ed)
2021-10-23 02:14:04 +02:00
ZenoX92
6946b5cab4 DB/Quest: Torek's Assault
Closes #22302

(cherry picked from commit b36b712f53)
2021-10-23 02:14:04 +02:00
illfated
18fd805677 DB/Quest: actual RewardText for The New Horde
Closes #22313

(cherry picked from commit 0dc42c4185)
2021-10-23 02:14:04 +02:00
ZenoX92
d45b66b9e1 DB/Quest: Quest Emotes (Dustwallow Marsh)
Closes #22312

(cherry picked from commit d746c401b5)
2021-10-23 02:14:04 +02:00
ZenoX92
d408d60f0c DB/Creature: Theramore Practicing Guard
Closes #22310

(cherry picked from commit d56f08d584)
2021-10-23 02:14:04 +02:00
Killyana
115332fcaa DB: Fix some DB errors
(cherry picked from commit 2df068ec38)
2021-10-23 02:14:04 +02:00
Killyana
0e1cc3c71a DB/Script: Update guid object related to "Cleansing Witch Hill"
Ref #22262

(cherry picked from commit 7346793bcd)
2021-10-23 02:14:04 +02:00
Ovah
b2eef8903b Core/Maps: initialize PositionFullTerrainStatus to avoid having issues with those variables (#22315)
(cherry picked from commit bab06993e2)
2021-10-23 02:14:04 +02:00
Keader
0feb1592bf Scripts/Uduar: XT002 Rework (#21566)
Closes #21489

(cherry picked from commit 81a6e2e510)
2021-10-23 02:14:02 +02:00
Keader
c2666bd255 Utilities/EventProcessor: Added a overload to AddEventAtOffset accept rand time
(cherry picked from commit 4d9c36c8c3)
2021-10-23 00:23:22 +02:00
Keader
37c9553372 Scripts/Black Temple: Fixed some issues on Illidan
(cherry picked from commit 0ebb315d6c)
2021-10-23 00:22:53 +02:00
Treeston
a5989dcee9 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
(cherry picked from commit d4ef2529e9)
2021-10-23 00:11:44 +02:00
Shauren
ab95c5e9d7 Core/Creatures: Restored old initialization order: AI after movement
Closes #22307

(cherry picked from commit cdf4040f4f)
2021-10-22 23:51:59 +02:00
Treeston
070bbb6707 Core/Unit: Acquire GetControllingPlayer. Use to fix duel bugs.
(cherry picked from commit d2d9f470c3)
2021-10-22 23:51:36 +02:00
Treeston
e4e8c1c59c Core/AI: Clean up charm AI handling, we now have two unique_ptr instead of a crapton of booleans
(cherry picked from commit 042f5515e4)
2021-10-22 23:47:51 +02:00
Treeston
6a91fe3fbe Core/Creature: Fall back to combat list if calling for help without threat list
(cherry picked from commit 0e4a49b0a4)
2021-10-22 23:21:01 +02:00
Treeston
f6ceb4bf0c Scripts/SmartScripts: _SET_IN_COMBAT_WITH_ZONE and _CALL_FOR_HELP no longer use a target. Because that feature made no sense and was unused.
(cherry picked from commit 5706d49e49)
2021-10-22 23:20:36 +02:00
Treeston
6b8329f6af Core/Creature: Some adjustments to Creature::CallForHelp. Now works even if the Creature hasn't selected a victim yet.
(cherry picked from commit 79f0e55dcb)
2021-10-22 23:17:41 +02:00
Treeston
fff5a32a13 Core/LFG: Order group members before creating LFG group (leader > tank > healer > dps). Closes #16244.
(cherry picked from commit dd54c80123)
2021-10-22 23:17:04 +02:00
jackpoz
b6f28a7ebc Core/Packets: Reduce memory footprint of cached queries (#22297)
Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit()

(cherry picked from commit deabd4ab45)
2021-10-22 23:15:27 +02:00
Killyana
8c17cdf095 DB/GameObject: Restore deleted objects
(cherry picked from commit 6e8070ae33)
2021-10-22 23:05:32 +02:00
ZenoX92
6099c07680 DB/Quest: Feast at the Blue Recluse
Closes #22291

(cherry picked from commit 8ad08aea91)
2021-10-22 23:02:34 +02:00
ZenoX92
eb241db187 DB/Quest: Move the Sunken Treasure to SAI
Closes #22290

(cherry picked from commit 42fec4a698)
2021-10-22 21:50:04 +02:00
ZenoX92
82d5b7c744 DB/Creature: Stonemaul Spirit
Closes #22286

(cherry picked from commit 1b93ad790d)
2021-10-22 21:47:04 +02:00
Killyana
ad5dd6cc9e DB/Creature: Risen Wintergarde Miner
Closes #16306

(cherry picked from commit db060c406f)
2021-10-22 21:42:06 +02:00
PolarCookie
8c9e5cd3f3 [3.3.5] Core/Loot/Gameobject: Tempspawned Gameobjects after looting (#22124)
* spell spawned chest non-despawn fix

* fix the consumed game objects

(cherry picked from commit 97371533bf)
2021-10-22 21:39:28 +02:00
DanVS
1195e2cf1a Scripts/Scarlet Enclave: Death Comes From On High
(cherry picked from commit afc25d22ef)
2021-10-22 21:38:42 +02:00
Killyana
389791d497 DB/Creature: Steamrigger Mechanic spawns
(cherry picked from commit c4166dfd00)
2021-10-22 19:13:16 +02:00
Killyana
fe23cb46ad DB/Spell: Flaming Spears
Ref #1596

(cherry picked from commit 1da9c040c9)
2021-10-22 19:11:41 +02:00
Treeston
5d48e8db7d Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f
(cherry picked from commit c00a2efb21)
2021-10-22 13:29:34 +02:00
Seyden
8f097e4425 Core/Scripts: Implement script name reloading
* Authored by Seyden
* Co-authored by Naios
* We thank Shauren for your helpful feedback
2021-10-22 12:52:37 +02:00
Aokromes
972105183a DB/Instances: Added missing templates for some BfA dungeons
closes by mdX7
2021-10-22 10:37:05 +02:00
Treeston
6a5edf0472 Core/AI: Some cleanup to DoZoneInCombat and Malygos' AI that I found while working out #22226.
(cherry picked from commit eb1972f21d)
2021-10-22 00:48:20 +02:00
Killyana
2d72e79ac4 DB/Quest: Suntara Stones
Closes #3305

(cherry picked from commit a8dd266704)
2021-10-22 00:46:57 +02:00
Treeston
6f0e58cce0 Core/Movement: Prevent NO_PATH evades from incorrectly happening in a few places. Closes #22226.
(cherry picked from commit 86bba6421b)
2021-10-22 00:42:04 +02:00
Treeston
0c3690db91 Core/SmartAI: SetRun fix for SAI, because for some reason it has like 95% of escortai code duplicated??? shitshow zz
closes #21463

(cherry picked from commit f95a383293)
2021-10-22 00:41:41 +02:00
Treeston
45766c3d6e DBError follow-ups:
* broadcast_text mismatch (6eb7f06) is now a _INFO since Aok isn't nearly as fast as fixing as he claimed.
* SmartAI invoker misuse (482328b and a3c85c8) are now blocking errors

(cherry picked from commit 38d3b35561)
2021-10-22 00:41:07 +02:00
Treeston
58000148d3 Core/AI: EscortAI::SetRun now also adjusts already-in-progress waypoint paths, as opposed to only affecting future path loading. Closes #21290.
(cherry picked from commit 121346f1f9)
2021-10-22 00:40:20 +02:00
ZenoX92
9a34952705 DB/Creature: Stonemaul Spirit
Closes #22286

(cherry picked from commit 7d6c3d2f6c)
2021-10-22 00:39:26 +02:00
ZenoX92
4e1f35e935 DB/Creature: Apprentice Morlann
Closes #22276

(cherry picked from commit 8607660f1b)
2021-10-22 00:38:14 +02:00