Commit Graph

37684 Commits

Author SHA1 Message Date
offl
76e06c769c DB/SAI: Use c_s_g for more big summon groups
Closes #24756

(cherry picked from commit 1e367d7fbe)
2022-01-06 21:57:52 +01:00
offl
40cb0beaec DB/Quest: Update 'Ending Their World' outro event
Closes #24754

(cherry picked from commit b6f40030c4)
2022-01-06 21:54:49 +01:00
Peter Keresztes Schmidt
c4098897a8 game/AI: Convert SelectAggroTarget to enum class (#24818)
* game/AI: Convert SelectAggroTarget to enum class

* game/AI: Rename SelectAggroTarget to SelectTargetMethod

(cherry picked from commit 418c3b1fd5)
2022-01-06 21:53:27 +01:00
Max Drosdo.www
aa409f8993 removed legacy cmake libsdir entry (#24813)
(cherry picked from commit 60e813df6b)
2022-01-06 21:41:48 +01:00
Killyana
f5706073ee DB/SAI: Replace "Disable combat movement" by "attack stop" used in the quest How To Win Friends And Influence Enemies
ref 13c81f55e3

(cherry picked from commit bbb308f628)
2022-01-06 21:40:59 +01:00
Ovahlord
38be5e361e Core/SAI: implement SMART_ACTION_ATTACK_STOP
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction

(cherry picked from commit 152ea60116)
2022-01-06 21:39:37 +01:00
offl
d1b928cca5 DB/SAI: Use c_s_g for some big summon groups
Closes #24753

(cherry picked from commit 12cf7bc099)
2022-01-06 21:39:09 +01:00
offl
9cf466000f DB/SAI: Use c_s_g for Gurgthock's summons
Closes #24751

(cherry picked from commit eedaf9a26e)
2022-01-06 21:38:30 +01:00
offl
7946289974 DB: Add Comment column to creature_summon_groups table
Closes #24745

(cherry picked from commit d644859533)
2022-01-06 21:37:47 +01:00
offl
5662d71708 DB/Instance: Convert some Uldaman scripts to DB
Closes #24744

(cherry picked from commit a117450ce9)
2022-01-06 21:36:29 +01:00
offl
e835b8f6c5 DB/Creature: Standardize creature respawn time part 1
Closes #24740

(cherry picked from commit aa3ccb4657)
2022-01-06 21:35:47 +01:00
offl
13aa017349 DB/Creature: Remove static spawns of Aldor Gryphon Guard
Closes #24739

(cherry picked from commit c7607abd0f)
2022-01-06 21:35:12 +01:00
offl
6a6fd0880e DB/SAI: Properly script Brother Sarno, Karaaz & Griftah
Closes #24738

(cherry picked from commit 45af4a9794)
2022-01-06 21:34:41 +01:00
offl
ca964a0b03 DB/Quest: Convert & update support for 'All Along the Watchtowers' to SAI
Closes #24732

(cherry picked from commit 8bccb258ba)
2022-01-06 21:32:12 +01:00
offl
5f94d0f4c8 DB/Quest: Convert & update support for WP Scourge cauldrons quests to SAI
Closes #24730

(cherry picked from commit d70eb96c85)
2022-01-06 21:31:43 +01:00
offl
c088588701 DB/Quest: Convert & update support for 'Escape from the Catacombs' to SAI
Closes #24728

(cherry picked from commit e47f302fc9)
2022-01-06 21:30:28 +01:00
offl
49e43389b7 DB/Creature: Update Demon Portal & Demon Portal (Zuluhed)
Closes #24727

(cherry picked from commit 7b11610fb7)
2022-01-06 21:29:56 +01:00
offl
eebb463096 DB/Creature: Redeemed Hatchling
Closes #24726

(cherry picked from commit e8a2d4627b)
2022-01-06 21:29:26 +01:00
jackpoz
5886bf7484 Scripts/Commands: Add .debug objectcount <optional map id> chat command
Add .debug objectcount <optional map id> chat command to show the number of Creatures and GameObjects

(cherry picked from commit cd37a17103)
2022-01-06 20:49:28 +01:00
Shauren
1fc9e0172d Core/Spells: Prevent manual cancelling of channelled spells that have SPELL_ATTR0_CANT_CANCEL
(cherry picked from commit dacb1e5802)
2022-01-06 20:48:29 +01:00
Keader
d48909b5d6 Scripts/ShadowfangKeep: Fixed a crash in spellscript
(cherry picked from commit be48fbc32a)
2022-01-06 20:47:11 +01:00
Gildor
23fc9d6d63 Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)
(cherry picked from commit aeb41e67a9)
2022-01-06 20:46:40 +01:00
ForesterDev
3171cd3fa9 Core/AI: refactor SpellHit and SpellHitTarget. (#24691)
* Core/AI: refactor SpellHit and SpellHitTarget.

- now caster/target is WorldObject instead of Unit
- remove SpellHitByGameObject / SpellHitTargetGameObject (handled by SpellHit / SpellHitTarget)
- rename parameters in scripts according parent methods

* Restore logic in Algalon script

* Changed check for REMORSELESS_WINTER hit to avoid dublicate call, because it has TARGET_UNIT_CASTER for effects 0/1 and TARGET_GAMEOBJECT_SRC_AREA for effect 2

* Fix build after merge

(cherry picked from commit e3b232fe0e)
2022-01-06 20:46:25 +01:00
Gildor
f0242d4ec7 Scripts/Naxxramas: Noth the Plaguebringer improvements (#24724)
(cherry picked from commit 1181b636c0)
2022-01-06 20:08:04 +01:00
Keader
4110a06e81 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt (#24717)
Ref: 9f7b464a6a
- Implemented a new SpellScript hook that allow control Resistance/Absorb amount of a damage spell.

(cherry picked from commit d81a9e5bc3)
2022-01-06 19:59:50 +01:00
jackpoz
9286734b55 Core/Misc: Fix static analysis issues reported by Coverity Scan
(cherry picked from commit adc7cd3cee)
2022-01-06 19:47:51 +01:00
Ovah
294657f7dd Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
- manually set flight states via auras and scripts will no longer be ignored
- restored movement template consideration when generating pathings
- renamed IsLevitating to IsGravityDisabled to reflect the referenced movement flag's name

(cherry picked from commit 43ef610fe0)
2022-01-06 19:46:41 +01:00
jackpoz
5af8373cce Core/Misc: Fix Clang 10 build warnings
(cherry picked from commit 48c5c0d7a2)
2022-01-06 19:46:22 +01:00
offl
1e61acaabc DB/Creature: Add missing emote to Dragonflayer Forge Master in heroic mode
Closes #24719

(cherry picked from commit 0eb9b5bfe6)
2022-01-06 19:45:55 +01:00
offl
0fec3317fc DB/Creature: Totem of Spirits
Closes #17183

(cherry picked from commit b938c26090)
2022-01-06 19:45:18 +01:00
offl
8fa2058322 DB/Creature: Improve Deathforge Mine
Closes #24721

(cherry picked from commit 487dae864f)
2022-01-06 19:44:53 +01:00
Keader
4fa0b1b005 Scripts/Ulduar: Codestyle fix
* Making jackpoz happy xD

(cherry picked from commit a72197911e)
2022-01-06 19:44:04 +01:00
Keader
09f611e467 Scripts/BloodFurnace: Fixed Broggok stopping work after wipe
By: Rushor
(cherry picked from commit 00bc6e7d54)
2022-01-06 19:43:54 +01:00
Keader
239f33b4a4 Scripts/Ulduar: Fixed XT002 Heart health regeneration
(cherry picked from commit 05eeaade3e)
2022-01-06 19:42:19 +01:00
Keader
08d3bc7488 Scripts/Pet: Fixed Mirror Image trying attacking invalid targets
(cherry picked from commit 456aaf2cea)
2022-01-06 19:41:22 +01:00
Gildor
2029d21f73 Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement (#24715)
(cherry picked from commit 6c1a874e57)
2022-01-06 19:41:06 +01:00
Shauren
865b47efad Core/Networking: Switch to intrusive variant of MPSC queue to halve the number of memory allocations for packet sending (#24659)
(cherry picked from commit f0060496f9)
2022-01-06 19:38:12 +01:00
offl
7274e43609 DB/SAI: Remove useless event params for linked events
Closes #24707

(cherry picked from commit 0ba62a45e5)
2022-01-06 19:24:11 +01:00
offl
561781a475 DB/SAI: Fix targets for group quests
Closes #24706

(cherry picked from commit 77ae76852b)
2022-01-06 19:20:15 +01:00
Killyana
378aac374d DB/SAI: Fix some SAI targets
(cherry picked from commit fef63de7ff)
2022-01-06 19:17:31 +01:00
Killyana
e9af58d275 DB/Quest: Fix some targets for the quest When the Cows Come Home
(cherry picked from commit f885706413)
2022-01-06 19:17:05 +01:00
offl
95a1189baa DB/SAI: Fix typos in two timed action lists
Closes #24700

(cherry picked from commit 12679fdd08)
2022-01-06 19:16:39 +01:00
offl
1859658b2b DB/SAI: Remove excess event flags from timed action lists
Closes #24701

(cherry picked from commit 9d7f033bf3)
2022-01-06 19:16:10 +01:00
Gildor
f23aa3c866 Scripts/Ulduar: Fix Flame Leviathan movement (#24673)
(cherry picked from commit 3ab970aa47)
2022-01-06 19:15:26 +01:00
offl
c5274417bb DB/Quest: Convert & update support for 'Mark V is Alive!' to SAI
Closes #24686

(cherry picked from commit e48c415156)
2022-01-06 19:15:15 +01:00
offl
a7d03862dd DB/Quest: Convert & update support for 'When the Cows Come Home' to SAI
Closes #24685

(cherry picked from commit 1316ca482d)
2022-01-06 19:14:38 +01:00
offl
688c12fa5b DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
Closes #24675

(cherry picked from commit 0e7cabd7f1)
2022-01-06 19:13:39 +01:00
dr-j
d6c311d9fa DB/GameObject: Add 58 More Netherwing Eggs
Closes #24688

(cherry picked from commit daa7b11ae2)
2022-01-06 19:11:45 +01:00
offl
87b8a9a843 DB/SAI: Fix some wrong values in timed action lists
Closes #24693
Closes #24692

(cherry picked from commit 82dc3a2aef)
2022-01-06 19:10:52 +01:00
Killyana
c253e191ef DB/Creature: Remove Ossirian Crystal Trigger as spawned by script
Closes #24681

(cherry picked from commit 9683ce99eb)
2022-01-06 19:09:58 +01:00