Commit Graph
2549 Commits
Author SHA1 Message Date
ccrs a73e6a7438 Scripts/PoS: move boss_krickandick into new script definition
(cherry picked from commit d27fd717c14e096d7120ac967d295d93816054c6)
2021-12-18 23:22:08 +01:00
ccrs d3ddb3726a Core/AI: 06443e3 followup
cause its not "that" horrible

(cherry picked from commit a71c5f4c7f35b074397abfcc9b925e80720f8c75)
2021-12-18 23:03:00 +01:00
jackpoz d5d04a6c55 Core/Misc: Fix C++17 build errors
(cherry picked from commit 30823f9b79b4ad16f96e90692a900f68a7f63c0a)
2021-12-18 22:51:50 +01:00
ForesterDev 4a47e1c6be Core/Defines: define UNIT_FLAG_SWIMMING (#23630)
(cherry picked from commit c03c88d0c02c5dda9f14dec1ed151ca30a92118e)
2021-12-18 22:50:52 +01:00
Giacomo Pozzoni 3da3683a90 Scripts/Kologarn: Fix "stuck in combat" issues (#23866)
Fix players stuck in combat with NPC_ARM_SWEEP_STALKER and/or both arms after killing the boss.

(cherry picked from commit fed030da190c9c53ad013d3e460ba1afbe1f02a2)
2021-12-18 22:47:49 +01:00
Keader db03975a57 Scripts/ICC: Fixed some issues with Rotface Oozes (#23845)
(cherry picked from commit a108f2ba61db47d60dc6698ec202dfd0a6574ac4)
2021-12-18 22:40:29 +01:00
Keader e5accfa71a Scripts/ICC: Fixed Death Plague (Frost Giant) (#23847)
(cherry picked from commit 8210b4a53976266f12585a2a4f546b33e25343af)
2021-12-18 22:40:16 +01:00
Keader 03a1b03633 Scripts/Forge of Souls: Fixed spell Soul Sickness (#23843)
(cherry picked from commit 34ee2effc89dc5bb34b4873dbfed6081ea8cb685)
2021-12-18 22:37:30 +01:00
Keader 9abdc4ee3d Scripts/ICC: Fixed Tear Gas not getting removed of Abomination in phase change of PP (#23846)
(cherry picked from commit 16fde1ffad38306f1f21eab6496f4826d6ed3498)
2021-12-18 22:33:47 +01:00
Giacomo Pozzoni 02c2ee9a43 Scripts: Fix crossfaction combat issue (#23818)
* Scripts/PitOfSaron: Fix Martin Victus combat in crossfaction groups

Fix Martin Victus attacking players in crossfaction groups because it was spawned as summon of the boss, triggering DoCombatInZone()

* Scripts/ForgeOfSouls: Fix guards combat in crossfaction groups

Fix Devourer of Souls guardians attacking players in crossfaction groups because they were spawned as summons of the boss, triggering DoCombatInZone()

* Scripts/Misc: Fix no PCH build

(cherry picked from commit ef694cc251844d34a64ae03f79d28a5c76719f6b)
2021-12-18 22:27:40 +01:00
Killyana f6e176b7d7 Instance/Script: Gorkun Ironskull & Martin Victus
(cherry picked from commit 8e3862cfbd9ee677866fbbee60c3b96ee3f4868a)
2021-12-18 22:21:41 +01:00
Gildor 6c239a8612 Scripts/Icecrown Citadel: Remove duplicated Spell enum (#23810)
(cherry picked from commit a392216d209c6c4184581eca58e014c8babe24e1)
2021-12-18 22:19:35 +01:00
Artamedes e3cb89c168 Scripts/PitOfSaron: Make sure ick stops moving when casting Explosive Barrage (#23768)
(cherry picked from commit 88e74ac3855ebd5ba818c3b12899337829ce2999)
2021-12-18 21:45:15 +01:00
Artamedes a2e792f0bc Scripts/PitOfSaron: Fix Krick sometimes stuck in combat after finish kill Ick (#23767)
(cherry picked from commit a17c83bde84a9f54ad5702f40ff9dd8b54e0afe0)
2021-12-18 21:45:06 +01:00
Artamedes 8fbaab7337 Scripts/Ulduar: Fix Stormcaller Brundir walking into walls (#23755)
* Scripts/Ulduar: Fix Stormcaller Brundir walking into walls

* Cleanup and fix logic + review

* Review: remove autos

(cherry picked from commit 876a8487301088fec1580e7c9ef6bf98783d9d7d)
2021-12-18 21:44:43 +01:00
Treeston 0bffed380d Scripts/ICC: Professor Putricide no longer tries to add threat on units it cannot add threat on because of immunity flags. Instead, its AI manually controls the engagement state. Should close #23727.
(cherry picked from commit 23fd193e4e489bb5f231653987e98ba24448832b)
2021-12-18 21:31:31 +01:00
Keader 9d3dd3db84 nopch fix
(cherry picked from commit 10f6e3818578410246750c6fce53d189ad05bee4)
2021-12-18 21:18:56 +01:00
Keader f2e03dc9e5 Core/Scripts: Proper fix Gal'Darah Puncture remove
(cherry picked from commit cbc01f35b6b80c1069b2274a619c8f7a3ff730c7)
2021-12-18 21:18:44 +01:00
Keader b7503b6c76 Fix nopch build
(cherry picked from commit 1886507e7f91249a335978e2fa1a859e93d56ffa)
2021-12-18 21:16:51 +01:00
Keader 2d0d0a3e58 Scripts/Gundrak: Fixed Puncture when Gal'darah die
(cherry picked from commit 130a3859ecdcb0ad9eba180641b2e4ffbca83613)
2021-12-18 21:16:40 +01:00
Keader 7c2665bdca Scripts/Gundrak: Added a missing entry in Gal Darah Stampede Charge script
Noob Keader, Shame !

(cherry picked from commit 61ad87d1069a1ed44f7ae50f3c0646102b3ccb9a)
2021-12-18 21:15:40 +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 a5e73e41c0e813e674bb0a644e0052052435494e)
2021-12-18 15:28:45 +01:00
Treeston 14c38a1c52 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff.
(cherry picked from commit 4a219eda07c353139608065f7d0a016094ee4ce0)
2021-12-18 11:36:50 +01:00
ccrs a58881d6da Core/Unit: rename more methods
Workaround prework till actual facing system rework arrives

(cherry picked from commit 85ad0befc51879627f865c86a6b415ca12401fe3)
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 ec9f15a5fff7830bf2aebc517654784a6d54bb74)
2021-12-18 00:25:14 +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 7fa990edc6cbae05e8b68da58313fd675ac5fa81)
2021-12-17 22:46:06 +01:00
ForesterDev 529ca2dd5d Scripts/Defines: cleanup some magic numbers in factions (#23631)
(cherry picked from commit 0c317498a57b3983de61d381d684a77176b281e4)
2021-12-17 20:48:31 +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 0e7c66cb4c7ff7d44e232d0b50703a48605ffd24)
2021-12-17 00:23:33 +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 e7cf24d2630058128e556b7d5bbb36f4a810695f)
2021-12-16 21:20:39 +01:00
Treeston eee950cdd7 Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
- Map::RemoveRespawnTime(SpawnObjectType, LowType, doRespawn) split into Map::Respawn and Map::RemoveRespawnTime, without the extra boolean
- Map::RemoveRespawnTime(RespawnInfo*) merged into Map::DeleteRespawnInfo(RespawnInfo*) and is now private
- Map::DeleteRespawnInfo(void) renamed to Map::UnloadAllRespawnInfos to properly describe what it does
- Map::ProcessRespawns now actually saves the delayed respawn time to DB if the respawn was delayed
- Map::AddRespawnInfo now takes const reference, and returns success as a boolean
- Map::AddRespawnInfo no longer offers an unused "replace" parameter
- Map::DeleteRespawnInfo no longer offers a variety of unused private overloads
- Map::SaveRespawnTime no longer offers a tantalizing writeDB parameter. Parameter is now called "startup" to properly describe what it does.
- Map::SaveRespawnInfoDB now takes RespawnInfo reference instead of all the various fields. Still public because compatibility mode. QQ.
- Map::GetWorldObjectBySpawnId sanitized
- Map::GetXRespawnTime methods sanitized to all go through Map::GetRespawnTime

(cherry picked from commit d60082ae866d77a12a9e6d09dfce27fc1cb5df90)
2021-12-16 01:33:09 +01:00
Treeston fc9908d163 warning fix f2cd721 follow-up
(cherry picked from commit be96d8242c0b8abf909862a577d04a9f8e18560a)
2021-12-15 00:17:32 +01:00
Treeston 9491650401 Scripts/Naxxramas: Thaddius no longer evades on transition, and some general cleanup to that script. Fixes #23026.
(cherry picked from commit f2cd721d5358f7febf36dc757f5e3e9693a6a7b6)
2021-12-15 00:17:32 +01:00
Wyrserth 569660a933 Script/TheOculus: adapt Mage-Lord Urom's script to use EventMap, fix various issues with Teleport and Empowered Arcane Explosion, add missing heroic-mode spell Frost Buffet.
Closes #19452.

(cherry picked from commit 37862942ce61ceffe5440d67efe7db553fa22f9b)
2021-12-14 22:13:56 +01:00
Gildor e0f3255f90 Scripts/Icecrown Citadel: Ensure Deathbringer Saurfang cast Frenzy (#23559)
(cherry picked from commit a0a64b10b53e74c0cfaa518f196150c622e75bd2)
2021-12-14 00:07:14 +01:00
Wyrserth 9cfa2ed71e Script/HallsOfLightning: fix mistake related to Shattering Stomp in Volkhan's script, introduced in 3bb0abcd525218c0423421979177675004787707.
Closes #23337.

(cherry picked from commit a8b8a43b8d86f0039f4b4ac2c251d55ba3b6a4ed)
2021-12-13 00:42:20 +01:00
ccrs 2e4f38d949 Scripts/ICC: cleanup ReadSaveDataMore definition
(cherry picked from commit 4c398743b9ea67090dcb390643a7aa5bd49348c3)
2021-12-13 00:42:19 +01:00
ccrs 3bc4fc65b9 Scripts/ICC: 3dbf3fe followup
repeat timer typo

(cherry picked from commit b19a23a5c6b7d6cac972ebb2e917dc378f61c993)
2021-12-13 00:42:19 +01:00
ccrs 8be1927d31 Scripts/ICC: base support for Ymirjar Vrykuls AI
(cherry picked from commit 3dbf3fed7c10b5808d2c20bdd3a8a3598ddd7cf6)
2021-12-13 00:42:19 +01:00
ccrs 9d84b56df1 Scripts/ICC: 1eb2aef followup
(cherry picked from commit 3e9b55361842337156a38d17200200b30ebb62ae)
2021-12-13 00:42:19 +01:00
ccrs bb321ccb02 Scripts/ICC: move Sister Svalna to her own file
I've almost guttered her, so lets try it more gently this time

(cherry picked from commit 1eb2aef1791df5942b3760162d5180cb0bdb51ec)
2021-12-13 00:42:19 +01:00
ccrs 5e3ba5e96f Scripts/ICC: 94b60ff followup
(cherry picked from commit eb6ea57e7f04b38bb0b02b158d08a926c88a3058)
2021-12-13 00:42:19 +01:00
ccrs 70fd6e7398 Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling
(cherry picked from commit 22b3b21ae3e60c1f38b8e3bf1d7cd50ee5efca21)
2021-12-13 00:42:18 +01:00
ccrs cadbf42ea4 Misc: some corrections after recent merges
(cherry picked from commit 626a24822b3c6a5d5b9a4b29861ecf393fd9288b)
2021-12-13 00:42:18 +01:00
Sorikoff 7b08125c23 Scripts/Spells: Remove Collapsing Cave Aura (#23533)
* Scripts/Spells: Remove Collapsing Cave Aura

* Rename 9999_99_99_99_world.sql to 2019_06_29_00_world.sql

(cherry picked from commit 8d1a5fa1266dc98438cabfb1ced7891791245ff0)
2021-12-13 00:42:18 +01:00
jackpoz 841630fcc3 Core/Misc: Fix static analysis issues reported by Coverity Scan
(cherry picked from commit de88691e257af0bf078d9be74ab3bb578f016547)
2021-12-13 00:42:18 +01:00
Sorikoff 88457030cc Scripts/Spells: Deathbolt (#23531)
* Scripts/Spells: Deathbolt

* Rename 9999_99_99_99_world.sql to 2019_06_28_01_world.sql

(cherry picked from commit 62b2c379b37b843076eb4df379e7de86b18303eb)
2021-12-13 00:42:18 +01:00
Keader adc16ffbdc Script/FoS: prevent Wailing Souls from becoming desynched in the Devourer of Souls encounter.
(cherry picked from commit 079b77b5fc466f806cb64206881f0034cce61670)
2021-12-13 00:42:17 +01:00
Shauren 9951b53808 Core/Misc: Fixed some gcc warnings 2021-12-12 19:19:15 +01:00
ccrs a4da12119e Scripts/Misc: couple corrections to the recent PRs
(cherry picked from commit 4a8736b82924acf109970d317aa493b19914cea1)
2021-12-12 02:16:01 +01:00
Treeston 38d7c1530a Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490.
(cherry picked from commit 1158f267df22c0782fb5f20f7de31f5643ac0b58)
2021-12-12 02:09:15 +01:00