Commit Graph
2724 Commits
Author SHA1 Message Date
offl db601a92b5 Scripts/Utgarde Pinnacle: Update Gortok Palehoof to new model (#26370)
* Scripts/Utgarde Pinnacle: Update Gortok Palehoof to new model

* RegisterGameObjectAI > RegisterUtgardePinnacleGameObjectAI

Co-authored-by: offl <[email protected]>
(cherry picked from commit ba7f11c5f68cff714aacc54f0afb86fd0fe78ba3)
2022-03-08 16:08:19 +01:00
offl 90eaa5fcb6 Scripts/VoA: Update remaining scripts to new model (#26372)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 3ece1ee87cd4f17725c4cdd975707dbab065a292)
2022-03-08 16:05:56 +01:00
offl af09757833 Scripts/Utgarde Keep: Update Ingvar to new model (#26369)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 8d9f24bb18395f6af318e053677c0266d5ca1e4d)
2022-03-08 16:04:06 +01:00
offl 84236d7ce1 Scripts/Violet Hold: Update Cyanigosa to new model (#26371)
Co-authored-by: offl <[email protected]>
(cherry picked from commit 94299a3ae929ed92787c8ebdb10df3b13b678c98)
2022-03-08 15:58:04 +01:00
offl f87aa64a14 Scripts/Ahn'kahet: Herald Volazj texts (#26202)
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 1a624cad36f3067481ca54563a322cb85f90ad11)
2022-03-07 20:59:28 +01:00
offl 581a573c09 Scripts/Misc: Let core take care of Feign Death related flags
(cherry picked from commit 62594c62f6bb6420ae1c0582ebf52beff4711609)
2022-03-07 20:25:57 +01:00
Shauren fc456f7512 Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
(cherry picked from commit a34519bded8ae45705e7dddf6346008eea88ed39)
2022-03-06 23:58:00 +01:00
Keader d9b7a40d43 Script/Ulduar: Fixed conflict with Random Aggro Periodic spell (#26184)
(cherry picked from commit 06c1f728baca8e584fee8a10cb9e793abc5475bf)
2022-03-06 23:34:36 +01:00
jackpoz c6c0baa25c Scripts/Ulduar: Apply renames of #25529
Apply renames of #25529 to review that PR easier

(cherry picked from commit 7635f3f948b8cdc0c9992f741cb163f204749c59)
2022-03-06 23:08:53 +01:00
Gildor bb34a9456e Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements (#25997)
* Scripts/UtgardePinnacle: Svala Sorrowgrave Ritual improvements

* remove unneded fall
thx @offl

* apply @Ovahlord feedback

* prevent svala fall (visual) when ritual start after wipe

* svala should be disarmed before teleport when ritual start

* apply @Ovahlord feedback
* Use DoCastSelf
* Remove unneded AttackStart when finish ritual
* Use SetDisableGravity properly

(cherry picked from commit 0675be4bc3c59142cd47b64f71857e019208e957)
2022-03-06 20:23:59 +01:00
offl cdd2875649 DB/Creature: Remove UNIT_FLAG_PACIFIED
Ref #25764

(cherry picked from commit a9c83d556635a51c13cea5e231e879a67d2e77ff)
2022-03-06 19:39:10 +01:00
jackpoz 3886c82d0f Scripts/EoE: Attempt to fix players getting stuck after dying
Attempt to fix players getting stuck after dying caused by a hack that calls SetControlled(true, UNIT_STATE_ROOT) by calling the opposite when a dead player leaves the instance, i.e. on releasing.
Close #24458

(cherry picked from commit dc21ac342ec3293ecf37b6a87244c46a39ff687f)
2022-03-06 19:00:26 +01:00
offl 8e9e15629f Core/Scripts: Verify & migrate spell school immunities to DB
Some already are stored in DB. Looks like they all are still valid for master

(cherry picked from commit 1ed79d7a2e61bf98178954a427cd4b7acd6c4509)
2022-03-06 16:30:51 +01:00
Giacomo Pozzoni a66b968f91 Core/Misc: Fix static analysis issues (#25924)
* Core/Misc: Fix static analysis issues

* Fix infinite loop in ".debug send opcode"
Fix using uninitialized memory in ".debug send opcode"

(cherry picked from commit 661f554b9e08a3721227f1e4a4fe6fd74e43a1f4)
2022-03-06 01:35:01 +01:00
offl 1d09bd112a DB/Creature: Remove UNIT_FLAG_STUNNED in more cases
Ref #25764

(cherry picked from commit 7b79adf5b1c9e482d061076065687ab8d058e59c)
2022-03-06 00:05:49 +01:00
offl 701a3927c1 DB/Creature: Remove remaining UNIT_FLAG_PACIFIED part 1
Ref #25764

(cherry picked from commit 95a2b906b0bce6756c28334b6dadd051879c8587)
2022-03-05 22:42:48 +01:00
wotlk-enthusiast 850d60c4b3 Scripts/Utgarde Pinnacle: Svala Sorrowgrave Intro and Ritual of the Sword (#24503)
* Scripts/Svala SorrowGrave - Fix broken intro event and Ritual of the Sword

* Added missing header for non-PCH build.

* Added error checking for Svala's targeting, and tightened up the timing on the intro event.

* Update WorldDB\Creature_Template_Movement for Svala

* Fix movement during intro and ritual event

* Rename SQL file for merge

Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit a225717b99b6d1befcfe40f3001bfb1efcf8a9d8)
2022-03-05 22:39:32 +01:00
offl 08782f4f8a DB/Creature: Add UNIT_FLAG2_UNK1 (CREATURE_DIFFICULTYFLAGS_2_HIDE_BODY)
(cherry picked from commit 27722d42ef5a1da24eee7bc2278b4d708ce9e116)
2022-03-05 22:21:25 +01:00
Kargatum 373ed8f46b Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line

* worldserver.conf

(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
2022-03-05 20:07:57 +01:00
jackpoz abbac041bf Scripts/ICC: Fix teleporter not removing players from Gunship
A more generic solution might be better, maybe depending on spell flags

Ref #25652

(cherry picked from commit 0ad1854d1c6a3b6ff93e71272c919f1f5f11d5ed)
2022-03-05 17:03:54 +01:00
offl c7f64a70a0 DB/Spell: Add effects to more spells from Violet Hold
Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged

(cherry picked from commit 8ca575ed52fb4ee8149302ecf33b4bb0c33e5eb5)
2022-03-05 16:58:55 +01:00
offl 2e7277ada4 Core/Scripts: Add missing spells to Violet Hold
(cherry picked from commit bb94aec9759f05f7d4c91b7e2c5288c302897b3a)
2022-03-05 16:21:22 +01:00
Jildor b3b635c6c8 DB/Instance/Ulduar: Add missing spells for heroic mode
Closes #25637

Closes #25638

Closes #25639

Closes #25640

(cherry picked from commit ef9576c7bbb42e0aa818a606284da25ea15999c4)
2022-02-28 23:57:58 +01:00
Keader 649716f827 Scripts/ICC: Some fixes in Valkyr Shadowguard (#25572)
- Added missing transformation spell
- Fixed Soul Siphon casted in random targets. It should always cast in top threat player.
- Fixed combat reach of transformation

(cherry picked from commit 5fee99bdbcabefca9b27308053f68d947c169b22)
2022-02-28 21:37:37 +01:00
Keader ab189bfc42 Scripts/ICC: Fixed Chocking Gas killing Abomination (#25565)
(cherry picked from commit 3c0766df545f4c2d2d045272f37087deccea458d)
2022-02-28 21:36:21 +01:00
Keader f6409efcf6 Scripts/UtgardPinnacle: Implemented Beast's Mark (#25557)
(cherry picked from commit 182fcc919eadb1c58d76767545327a7fb3b2b3a4)
2022-02-28 17:00:20 +01:00
Keader ec3cb55d2f Scripts/IcecrownCitadel: Implemented Vampiric Might spell (#25556)
Closes #21294

(cherry picked from commit dadc0c98c098e0a9555124dc042687a80c89b79a)
2022-02-28 16:59:09 +01:00
Gildor ad7ed08c07 Scripts/Ulduar: Implemented Realm First! Death's Demise (#25530)
* Scripts/Ulduar: Implemented Realm First! Death's Demise

* comment line

* Rename 9999_99_99_99_world.sql to 2020_10_08_01_world.sql

Co-authored-by: offl <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit ce2d4413049548ad9e5ed61d09eaa204cf0952fe)
2022-02-28 16:01:25 +01:00
Ovah d1594c7295 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished (#25522)
* added support for calling the hook when completing a channeled spell as well

(cherry picked from commit 77aa058504e1ee99b560176d70bcf452c7e3d4f7)
2022-02-28 14:21:08 +01:00
ForesterDev 513eb0acb9 Scripts/ICC: update Icecrown Citadel scripts to new model (#25439)
(cherry picked from commit 54b9bb75e47df4491d13b89c28f93dbe3b005dec)
2022-02-27 00:28:25 +01:00
ForesterDev 25bca7bef3 Scripts/ICC: update Gunship Battle scripts to new model (#25438)
(cherry picked from commit 2e1a6aefd0e1cb62dfbe63ae3accc312c2afd519)
2022-02-27 00:28:25 +01:00
Traesh 543a7b79c3 Core/Maps: Add Map::DoOnPlayers helper function (#25233) 2022-02-16 23:54:26 +01:00
Shauren 439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +01:00
Shauren ad4f4bfab7 Core/Misc: Minor game include cleanup 2022-02-13 00:49:10 +01:00
ForesterDev 51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72c702637d10cce19e121435308e8410)
2022-02-06 00:22:36 +01:00
Shauren 111a80bbbf Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them
(cherry picked from commit d704b89163267cb7b3fe6769acebfab3de762c6d)
2022-02-06 00:14:57 +01:00
ForesterDev 97a5c29e8a Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model (#25436)
(cherry picked from commit 1c41c5285a89d7a4038f71c0f5c40dbc1009b3c1)
2022-02-05 22:58:23 +01:00
ForesterDev 8422442ed0 Scripts/ICC: update Blood Queen Lana'thel scripts to new model (#25434)
(cherry picked from commit def58965e8516978594a5d960c603932d34b7b2d)
2022-02-05 22:56:12 +01:00
Maks Szokalski bc04acb726 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp

(cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-02-05 22:18:19 +01:00
Houston 0124284957 DB/Misc: Move & update some VoA scripts to SAI, add waypoints (#25419)
Co-authored-by: Houston <[email protected]>
Co-authored-by: offl <[email protected]>
(cherry picked from commit ca9c7467673505663135ade6c33bf92a6f90534a)
2022-02-05 15:57:54 +01:00
Houston edf511a551 Scripts/Icecrown: Small event of the down Nerub'ar Broodkeep (#25410)
Updates #25193
Co-authored-by: Keader
Co-authored-by: Ovahlord (sucker)

(cherry picked from commit f8db738e8da008ccb48f79f5dd10ebbd81750f5f)
2022-02-05 15:50:46 +01:00
NoName ee620856ad Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <[email protected]>
Co-authored-by: Ovahlord <[email protected]>
Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
2022-02-05 15:40:31 +01:00
Treeston 358dc78e47 Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful.
(cherry picked from commit 0c7f6ac89fcc5fdc7f4435a6c1b673c752eb1e41)
2022-02-05 14:53:54 +01:00
Treeston 75e5c44638 Scripts/IcecrownCitadel: correct Rimefang's script name
(cherry picked from commit fc3feebee9e26ec5bc21a46f37b5affe416582c6)
2022-02-05 13:32:55 +01:00
jackpoz d561a69122 Scripts/Obsidian Sanctum: Fix portals not being visible
Change NearestGameObjectEntryInObjectRangeCheck to allow returning GameObject not spawned.
Fixes other occurrences where a similar issue exists.

(cherry picked from commit ca2159bf405fb96a8eba9f1e58bda7ee6c7eb247)
2022-02-05 12:04:35 +01:00
Shauren a0edc1fb1b Scripts/Icecrown Citadel: Finish script registration refactoring - RegisterSpellScriptWithArgs
(cherry picked from commit 600a6b5f681c0f5864f9e9e37559965742e22ca9)
2022-02-05 11:50:57 +01:00
Shauren f3300899d8 Scripts/Icecrown Citadel: Fix scriptname conflict
(cherry picked from commit b63fa9c42f26f3d80d9ace93654de0bac425f8cd)
2022-02-05 11:42:54 +01:00
ForesterDev 2ac0960f3f Scripts/ICC: update Lich King scripts to new model (#25396)
* Scripts/ICC: update Lich King scripts to new model

* fix build

(cherry picked from commit d04bdd0316c5c158da4ec0461b714d04321e8f57)
2022-02-05 11:42:35 +01:00
ForesterDev d250640c6b Scripts/ICC: update Sindragosa scripts to new model (#25395)
(cherry picked from commit deec517239311f06ce4bfa62a930b1b874ef058a)
2022-02-05 11:24:09 +01:00
ForesterDev ceec4ecf35 Scripts/ICC: update Professor Putricide scripts to new model (#25394)
* Scripts/ICC: update Professor Putricide scripts to new model

* fix build

(cherry picked from commit 0b0d5e9beaf0cc2b7c94e0884a4269899c55691c)
2022-02-05 11:10:39 +01:00