Treeston
f91faa161c
Core/ChatCommands: Implement achievement link parsing
...
(cherry picked from commit a4c666dc3d75d0c77fdeb52a6d2cd21100ba4588)
2021-10-25 15:06:41 +02:00
Treeston
c323758631
Core/Threat: Suppressed threat is now re-evaluated on taunt state update, and taunting units can no longer be suppressed.
...
(cherry picked from commit fdbec8b6398295e75e38bd174318d5e172124905)
2021-10-25 14:17:14 +02:00
Treeston
33c8df9cf1
Scripts/Commands: Rewrite .account commands to new model
...
(cherry picked from commit c59388783a6009301548dae2c29e2a29c71aadf7)
2021-10-25 14:16:49 +02:00
Treeston
6dc35e7beb
Core/ChatCommands: Properly handle single-argument handlers (argument string discarded). Add special handling for on/off booleans.
...
(cherry picked from commit 37489eda93b6fac53a6596979dfab08e04b04523)
2021-10-25 00:05:36 +02:00
Shauren
b13e9f9d61
Core/Misc: Fixed clang 13 warnings, gcc 11 build errors and nopch build
2021-10-25 00:05:05 +02:00
Treeston
0c681b6509
Scripts/Commands: New argument parsing methodology (PR #22363 )
...
- Detect the arguments accepted by the command handler
- Tokenize out those arguments automatically and feed them to the handler
- Unmatched rest of the string can be accepted by trailing char const* or CommandArgs*
(cherry picked from commit 66a87c4642d25f27ca24254cfeb0a0c4b21036b1)
2021-10-25 00:03:23 +02:00
Shauren
b8227f92d5
Core/Entities: Minor refactor to viewer dependent updatefield writing to allow using viewer dependent dynamic updatefields
2021-10-24 13:21:22 +02:00
Shauren
23ec4b4075
Core/DataStores: Hackfix broken db2 files that have invalid id tables
2021-10-24 01:28:40 +02:00
Treeston
f1ecb976ec
Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command.
...
(cherry picked from commit 5843724debc3642434c055e5cf6f29a1eaf65358)
2021-10-23 22:31:27 +02:00
Ovah
def2e699b0
Core/Conditions: allow CONDITION_QUEST_COMPLETE to handle spellclick conditions ( #22371 )
...
This is a needed change in order to make spellclicks functional that are only available when you have a already completed quest.
(cherry picked from commit cd36606027c5fa2353889902c437fa39bb71dfdf)
2021-10-23 21:59:51 +02:00
Keader
bb599a9521
Scripts/Ulduar: Algalon the Observer fixes ( #22320 )
...
(cherry picked from commit ca7ee982db4d25c464acf6daadc150d58dafa016)
2021-10-23 21:58:25 +02:00
Shauren
bfd9c1778f
Core/Misc: Sync Languages.h content between branches
2021-10-23 20:21:38 +02:00
Treeston
af8b4853da
Scripts/Commands: Cleanup and trinity_string for .go instance. Hi shauren.
...
(cherry picked from commit 8e4f6777a28ac7b5d59ff1ff852e5184d877ff96)
2021-10-23 19:53:19 +02:00
Treeston
82ecd32d9c
Scripts/Commands: New command ".go instance". Goes to an instance.
...
(cherry picked from commit 6a0870a9993f5a1016439644d4a9ab3fd89277e5)
2021-10-23 19:08:53 +02:00
Keader
2342361746
Scripts/Misc: Removed more UpdateEntry on InstanceScripts
...
(cherry picked from commit c78f454c0ee74000ab7f77463e8b44ff7480fdec)
2021-10-23 16:14:01 +02:00
Keader
5612a05f3f
Scripts/ICC: Removed not needed entrys added in last commit
...
(cherry picked from commit 7ab8a8b70b6bce42574d6dc9f92156b071ee402f)
2021-10-23 16:12:52 +02:00
Keader
a1ec8ff54b
Scripts/ICC: Fixed Deathbringer after Delay zone script's OnCreatureCreate
...
Also removed some UpdateEntry hacks
Followup: b4a1887c4d8df5a7729ed5c4126f6a7655a02127
(cherry picked from commit 92f260c5f9ffbd21c561f16c9ce9e52cbee289b8)
2021-10-23 16:12:28 +02:00
Shauren
d181c1da75
Core/CrashHandler: Include assertion messages in crash reports
...
(cherry picked from commit 62db1fb683c13b8dde0cc359564e090e0594658f)
2021-10-23 16:02:44 +02:00
Treeston
55cb4f9a6d
Core/Threat: Fear no longer suppresses threat. All confuse effects now suppress threat, even ones that wouldn't break on damage.
...
(cherry picked from commit 704870496f672f628635e45a1cec98a485d86c28)
2021-10-23 16:01:05 +02:00
Treeston
19f24b3e40
Core/Maps: Fix a crash when spawning a spawn group
...
(cherry picked from commit 969436adfe8fc0f1c6a01d422ab7f6aa08486be3)
2021-10-23 16:00:28 +02:00
Treeston
ca5df17dc2
Core/GameObject: Add getter for current Quat rotation
...
(cherry picked from commit 28eeb4bfc982407cff398730ecb1be9712e9ecca)
2021-10-23 16:00:05 +02:00
Treeston
852164132c
Core/Movement: Some improvements to script interfaces for SplineChainMovementGenerator
...
(cherry picked from commit e63e0cb6fc6360e6e80874371dd612c46b0c0482)
2021-10-23 15:59:31 +02:00
Treeston
d57e74b3b5
Core/Scripting: Delay zone script's OnCreatureCreate until the creature has been added to map stores
...
(cherry picked from commit b4a1887c4d8df5a7729ed5c4126f6a7655a02127)
2021-10-23 14:53:14 +02:00
Treeston
fd930d4c83
Core/Maps: Properly re-create map on login for ephemeral player saves. Because it bugged me to no end when testing anything ever.
...
(cherry picked from commit dc86a8e5db549300f7cb7b2243654c105013f929)
2021-10-23 14:52:18 +02:00
Treeston
8760b7322e
Core/Spells: Clean up some assist checks (no behavior change)
...
(cherry picked from commit 83ee145736a39ac1ce8305947f188aeaa13c7b04)
2021-10-23 14:49:43 +02:00
Treeston
d81a74bc98
Core/Spells: Fix an incorrect check that was exempting negative spells from _IMMUNE_TO_x checks. Closes #21929 .
...
(cherry picked from commit 75e7404bba8c68e534ae3216787e424c4f0cb337)
2021-10-23 14:46:53 +02:00
Treeston
00b9c23e28
Core/Entities: Fixed an issue where creatures would not properly assist formation members in certain scenarios. Tagging #21967 .
...
(cherry picked from commit a001bc63b1182babddbb188f7c762c6168a98b5c)
2021-10-23 14:45:40 +02:00
Treeston
34f9666f20
Core/Unit: Some charm fixes:
...
* Properly restore react state after possession expires. Closes #20769 .
* Possessed creatures now don't override player control with random/waypoint motion
* SmartAI creatures now properly re-aggress charmer after charm expires
(cherry picked from commit da21ca80fc35a325df0fb0ef2f687a91121d42de)
2021-10-23 14:44:05 +02:00
Ovah
e88536f258
Core/LFG: fixed random dungeon cooldown ( #22321 )
...
* Core/LFG: fixed random dungeon cooldown
The issue was that queuing up for random dungeons puts you into a queue for a already selected dungeon from the beginning so the dungeonId that we use here is actually the dungeonId that we will enter when out group is complete. We change that and use our selected dungeons as reference instead which contains the random dungeon at the very beginning (if we queued up for random dungeons so we check that too).
(cherry picked from commit bf8c6f220c07a3316fcf0b04ac6a9a77755b9b1d)
2021-10-23 14:37:37 +02:00
Treeston
dd239e8b0f
Scripts/Commands: .npc info now includes react state info
...
(cherry picked from commit 2c030ed5e7dc809e384415716789e0a663352d16)
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 4e5d1b70219d77747e7e6dc31b553a7a1c451ad3)
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 408ce487323504fcdf693b7dfa581b74d5073971)
2021-10-23 02:14:04 +02:00
Treeston
05119fd909
Core/Unit: Random code style/naming adjustments
...
(cherry picked from commit 710488ea2063d384d3b57aeca1eeccec103b9a38)
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 5cea572a9ad524c6f28ff8519bee61d1ff4357d0)
2021-10-23 02:14:04 +02:00
Treeston
395f58d651
Core/Unit: Inline some unnecessary helpers.
...
(cherry picked from commit ce06767ef50e4eca7b9ff834a873f99e6ad381d5)
2021-10-23 02:14:04 +02:00
PolarCookie
9dd2748618
DB: Naxxanar and Voltarus teleporters
...
Closes #22311
(cherry picked from commit 151ed6f684b47053192d75ea30b0b3b9838b6120)
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 bab06993e278f790e9236e874290b403c751e9b5)
2021-10-23 02:14:04 +02:00
Keader
0feb1592bf
Scripts/Uduar: XT002 Rework ( #21566 )
...
Closes #21489
(cherry picked from commit 81a6e2e5101834b4f8950ea8ecc728f5548ab906)
2021-10-23 02:14:02 +02:00
Keader
c2666bd255
Utilities/EventProcessor: Added a overload to AddEventAtOffset accept rand time
...
(cherry picked from commit 4d9c36c8c3bc59afb74ffe336ff121c06812d645)
2021-10-23 00:23:22 +02:00
Keader
37c9553372
Scripts/Black Temple: Fixed some issues on Illidan
...
(cherry picked from commit 0ebb315d6ce420c534dcef9c3af1cbad43c88096)
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 d4ef2529e91043bc719c3238714413fd21c9005c)
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 cdf4040f4fce4f1e5ebb33525c4618845605081c)
2021-10-22 23:51:59 +02:00
Treeston
070bbb6707
Core/Unit: Acquire GetControllingPlayer. Use to fix duel bugs.
...
(cherry picked from commit d2d9f470c388a80d395e9a49a860ceb0b7e27fd3)
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 042f5515e4f3e52b0d2e23d9b9e147041849ce12)
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 0e4a49b0a4c86eb4a2d0d128e24bc8aaabb47e31)
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 5706d49e49733f70a6ea2304b7e3671c16ca0c13)
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 79f0e55dcbe4a978363b4216188dd45e77512d1c)
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 dd54c8012321ecd40fc82f04cf0c98b201bc580e)
2021-10-22 23:17:04 +02:00