Commit Graph
6037 Commits
Author SHA1 Message Date
Martin Topholm dc0728b9a0 Script/BlackrockDepths: fix Ironhand Guardian's Gout of Flame spell cast. (#21816)
(cherry picked from commit 4529a94e0d093fb01c6ae4a98dade46ce75f82a9)
2021-12-14 21:19:01 +01:00
ForesterDev 104ec7a81a Core/Unit: Implement more helper methods (#23555)
(cherry picked from commit c44fb37f74347e3b6d399c941716971503af4cf8)
2021-12-14 20:42:32 +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
ForesterDev 27886c7f5d Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender (#23520)
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender

* fix merge

* Add virtual methods for Unit class

(cherry picked from commit b47bb59e2a3e42aff3793517ef94f51678b54905)
2021-12-13 00:42:20 +01:00
ccrs 4e6c59dca7 Core/Unit: rename several getters to follow codestyle
uint8 GetLevel()
        uint8 GetLevelForTarget(WorldObject const* /*target*/)
        void SetLevel(uint8 lvl)
        uint8 GetRace()
        uint32 GetRaceMask()
        uint8 GetClass()
        uint32 GetClassMask()
        uint8 GetGender()

(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Sorikoff b8d675eba7 Scripts/Spells: Dimensional Ripper - Everlook (#23547)
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
Wyrserth 819f8b1a2d Script/DarkmoonFaire: fix logical error in go_darkmoon_faire_music.
Closes #23548.

(cherry picked from commit 028d16a812bd3ff56f19da919ca1a35e7523fe8c)
2021-12-13 00:42:19 +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
Shauren 116285818b Core/Misc: Corrected file headers 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 fc6dc06513 Build: fix error
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/npc_arthas.cpp:583:132: warning: format specifies type 'unsigned int' but the argument has type 'float' [-Wformat]
                TC_LOG_TRACE("scripts.cos", "npc_arthas_stratholmeAI::AdvanceToState: has snapback for this state, distance = %u", target.SnapbackPosition->GetExactDist(me));
                                                                                                                              ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                                              %f
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/common/Logging/Log.h:176:56: note: expanded from macro 'TC_LOG_TRACE'
    TC_LOG_MESSAGE_BODY(filterType__, LOG_LEVEL_TRACE, __VA_ARGS__)
                                                       ^~~~~~~~~~~
/var/lib/jenkins/jobs/tc_335_release_clang40_boost_1.63.0_nopch/workspace/src/common/Logging/Log.h:159:32: note: expanded from macro 'TC_LOG_MESSAGE_BODY'
                    check_args(__VA_ARGS__);                            \
                               ^~~~~~~~~~~

(cherry picked from commit 303811399f289184a5080207007ea1c906f6a4ba)
2021-12-13 00:42:18 +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 996b7c1f0e Scripts/Spells: Ultrasafe Transporter: Toshley's Station (#23537)
* Scripts/Spells: Ultrasafe Transporter: Toshley's Station

* Rename 9999_99_99_99_world.sql to 2019_06_29_01_world.sql

(cherry picked from commit 33b4ad5a89cae0d3d527b58e1a438772450d7e32)
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
Sorikoff ea4c1ae7d0 Scripts/Spells: Dimensional Ripper - Area 52 (#23505)
* Scripts/Spells: Dimensional Ripper - Area 52

* Rename 9999_99_99_99_world.sql to 2019_06_28_00_world.sql

(cherry picked from commit 63f548921c268cc9f30af68bf9b41c80df0492ac)
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
Wyrserth 902a6f17dc Script/CoS: fix DB error and remove wrong on-death text for Chrono-Lord Epoch.
(cherry picked from commit 22b222b44e2f26900568af2ebdb92bf19185cfb9)
2021-12-13 00:42:17 +01:00
Aokromes 30cec73c61 Coding standards (#23514)
* Coding standards

* revert part

(cherry picked from commit fe744977c917957e112704ccd66e228b826b3f7a)
2021-12-13 00:42:17 +01:00
ccrs eda6e5c316 Script/CoS: full instance rewrite (#23388)
(cherry picked from commit ca6228067507f19db230d415a1d088e5c0b5b808)
2021-12-13 00:42:16 +01:00
Shauren f61de627e5 Core/Commands: Fixed crash in .npc showloot 2021-12-12 19:19:29 +01:00
Shauren 9951b53808 Core/Misc: Fixed some gcc warnings 2021-12-12 19:19:15 +01:00
Meji 1a84641549 Core/BattlePets: Added default cooldown to revive battle pets (#27383)
* Added SpellHistory function to retrieve remaining category cooldown
* Changed SpellHistory::ModifySpellCooldown to allow adjusting only regular spell cooldown without touching category
2021-12-12 18:35: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
Treeston 35e55f1089 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). Fixes #17981.
(cherry picked from commit dbe3bbefe734f8824e8f07c302e256f0d446b974)
2021-12-12 00:31:15 +01:00
Sorikoff 799fba7fd1 Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind (#23463)
* Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind

* Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind"

This reverts commit a8055960

* Revert "Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind""

This reverts commit a5be792b

* Fix NoPCH

* Clean up

* Clean up

* fixup! Clean up

* Caster -> Target

* Rename 9999_99_99_99_world.sql to 2019_06_22_01_world.sql

(cherry picked from commit ac7c72d63392cc246d2cd4ab64f558f2bf0970bf)
2021-12-11 23:01:46 +01:00
Sorikoff aa407adf3e Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster (#23456)
* Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster

* Fix NoPCH

* Correct header

* fixup! Clean up

* Rename 9999_99_99_99_world.sql to 2019_06_22_00_world.sql

(cherry picked from commit 40b09e3df144304562a63f33d16e25bbde5079fd)
2021-12-11 22:58:16 +01:00
Sorikoff 8fc52bc5e5 Scripts/Spells: Migrate Teleporting to Script (#23458)
* Scripts/Spells: Migrate Teleporting to Script

* Rename 9999_99_99_99_world.sql to 2019_06_21_02_world.sql

(cherry picked from commit e9d803ccee2fb5d229babbf6c2c4a17b1986edb0)
2021-12-11 22:28:55 +01:00
Keader ba606753bd Scripts/Icecrown Citadel: Fixed some bugs on Blood Orb object and trash mobs around him
Followup: 394b119664bc16dc5376f1404925b6d0b5a26876
(cherry picked from commit 3b0743ea67687937a1e6ba75ae9ef5e7fb996355)
(cherry picked from commit f9a366628a17263852634a1095edcdb79a8b383e)
2021-12-11 21:37:53 +01:00
Killyana 0993b491dd DB/Quest: A Visit With The Ancestors
Closes #23284

(cherry picked from commit a3dec9068bda1a3145e526eaa69c1e38fa3f2fe3)
2021-12-11 16:32:05 +01:00
Keader b3493935b6 Core/Scripts: Fixed a reference error introduced in 394b119664bc16dc5376f1404925b6d0b5a26876
(cherry picked from commit 70cbedd75dff077fa75e25c4c467f0efd4bb6252)
2021-12-11 14:56:14 +01:00
Keader f749b3a2e9 Scripts/Icecrown Citadel: Fixed Blood Orb Game Object (#23397)
Close #18005 and Update #18529

(cherry picked from commit 394b119664bc16dc5376f1404925b6d0b5a26876)
2021-12-11 14:55:18 +01:00
Sorikoff c8d0e0fd6d Scripts/Isle of Quel'Danas: Thalorien Dawnseeker (#23382)
* Scripts/Isle of Quel'Danas: Thalorien Dawnseeker

* Kill warning

* Kill warning

* Fixes

* Code style

* Code style

* Accident

* Prevent Out of Bound & spelling

(cherry picked from commit e87f8b1aacafb640fba19375dc0bcb8e34870534)
2021-12-11 14:51:31 +01:00
Wyrserth ae43820ca0 Core/Commands: implement commands to look up a map/item/quest name for a given id (#23416)
* Core/Commands: implement commands to look up a map/item/quest name for a given id.

* Add entry to updates table.

* Rename 9999_99_99_99_auth.sql to 2019_06_16_00_auth.sql

* Add missed change, thanks jackpoz!

* Update auth_database.sql

(cherry picked from commit ce3dcdcb1ad1887fb3a531aaea09482c12b5e4f3)
2021-12-11 14:12:54 +01:00
Wyrserth 6b7bc82641 Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast. (#23401)
Also prevent double skill-up because of duplicate UpdateCraftSkill() calls.

(cherry picked from commit 2315d43b2c1f478bd5f612e39f3a938bf6640ab6)
2021-12-11 12:06:54 +01:00
Keader 42ad1b86a1 Core/Misc: Implemented Icecrown Citadel buff disable (#23394)
Closes #8576
Closes #7940

(cherry picked from commit 94b60ff0ef7ee908e9ab4660f6dce0dcfe3f13e8)
2021-12-11 11:59:54 +01:00
Keader 79d4a0f8aa Scripts/Icecrown Citadel: Fixed Heroic Attempts logic (#23379)
(cherry picked from commit 136964769db509d1a2238f863d57e61651d97fae)
2021-12-11 01:27:48 +01:00
Wyrserth 88d5b91c05 Script/Dalaran: don't allow Dalaran faction guards to teleport a player that has the Trespasser! debuff. (#23373)
(cherry picked from commit 5016f588d5f20ef8eb0f3da9c3c92bbac8e132ee)
2021-12-10 22:47:33 +01:00
ccrs 41dba7c456 Scripts/ZulGurub: general instance related refactoring/updating
plus couple event-spells-ai related corrections
plus codestyle cleanup

(cherry picked from commit 7b2defe5a0e645ab88e48df2d8e5417e4977d41c)
2021-12-10 22:45:42 +01:00
Wyrserth db6fdef3d7 Script/Quest: implement event for the quest Orabus the Helmsman (#23346)
* Script/Quest: implement event for the quest Orabus the Helmsman.

Thanks Wyreth for the original script.

* Fix coordinates that I inverted by mistake.

* Rename 9999_99_99_99_world.sql to 2019_06_04_04_world.sql

(cherry picked from commit b5e04c892084567ccbeacdb1500f0488f1eb48b8)
2021-12-10 21:38:27 +01:00
Killyana adb5535483 Spell/Script: Stasis Field
Closes #23355

(cherry picked from commit 7dd87e3df44c1c5b9b8ffb9652911d46d6676c38)
2021-12-10 21:37:45 +01:00
Wyrserth b6d28b5497 Script/GunDrak: fix order for yell and altar texts on death for two bosses (#23357)
(cherry picked from commit 65aea13c252b22003a41ff7f6fba7139b6681768)
2021-12-10 21:16:10 +01:00