aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2021-12-02Scripts/Guards: Fix infinite loop in npc_air_force_botsjackpoz
Fix infinite loop in npc_air_force_bots happening when aura 38067 was removed, triggering MoveInLineOfSight() that would add back the aura. Only 1 aura add/remove for guard for player is allowed now. (cherry picked from commit 844e7ee9262a5ba035ac9e8a6ffc298fb97fd3a9)
2021-12-02Core/Object: Range check (#23179)Jozef Dúc
* Should solve #23062. All credits to @xvwyh * Remove unused variables * Remove unused variable * Cast int32 to uint32 * Remove G3D headers from core header file * Change door distance * Update GameObject.cpp Add newline * Update GameObject.h Indentation (cherry picked from commit 32e1de39a26628dcb64bc21ad415afb2ad938925)
2021-12-02Scripts/Commands: add some missing checks for .guild create command (#23201)ForesterDev
* Core/Conditions: implement CONDITION_GAMEMASTER * Scripts/Commands: add some missing checks for .guild create command (cherry picked from commit ae8750716f63ddc41f21bb38ceafe949d7260f0e)
2021-12-02Scripts/Trial of the Crusader: Fixed Resilience will Fix achievementKeader
Broken by 2362e9c79410c689afc10266b94f7e78c88bbddc (cherry picked from commit f163c2f96a28e799ec0bc881c7e5f4091719a59b)
2021-12-02Scripts/Scarlet Enclave: Unworthy Initiate (#23195)Sorikoff
(cherry picked from commit 4468a538ff9bd73ed008864391b0ee4fb3172b9f)
2021-12-02Scripts: Minor improvements to recently migrated scripts (#23189)Sorikoff
Ref: 2cfaeb14004cfbb5500855472ad89ab9238df13d (cherry picked from commit 90d4254a875de7ea4e6aaed7a39effb6b2a73abf)
2021-12-02Scripts/Spells: Fixed a console error inspell_dru_lifebloomKeader
Closes #23192 (cherry picked from commit 961bc9d829e18004e3071837a67f5acdfdd7dd2c)
2021-11-30Spell/Script: Kill logs spam for spell_ioc_parachute_icKillyana
Closes #23163 (cherry picked from commit c318b3e16d482654112c528d100edddaf6d4e0fe)
2021-11-30Scripts/Spells: Migrate Some Scripted Spells to Scripts (#23185)Sorikoff
* Migrate spells to scripts * Simplify code * I need to sleep * Update chapter1.cpp * Use actual damage * No need in null check here (cherry picked from commit 2cfaeb14004cfbb5500855472ad89ab9238df13d)
2021-11-26Core/Scripts: Fix Blood summon position (#23088)Gustavo
* Core/Scripts: Fix Blood summon position Updates #13162 (cherry picked from commit cc3293c0023b36434747190103a1f0ffee0f8488)
2021-11-26Core/Misc: Warning fixes (/W4) (#23149)Gustavo
* Core/Misc: Warning fixes (/W4) (cherry picked from commit 50f122de778bca324d0f4c81f1e8eb30b90a7314)
2021-11-24Core/Misc: Fix static analysis issuesjackpoz
Fix static analysis issues spotted by Coverity Scan (cherry picked from commit 750d89beed38f4af9efa3699b79f2950f430bfdd)
2021-11-24Core/Misc: Fix GCC 8 warningsjackpoz
(cherry picked from commit 1d04a3b216901671eae0104547715a570b1ff3ab)
2021-11-24Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus, not $n (#23122)Trond B. Krokli
* Scripts/Wailing Caverns: make Disciple of Naralex say Mutanus the Devourer Disciple of Naralex should say "This Mutanus the Devourer is a minion from Naralex's nightmare no doubt!" instead of using $n caused by a missing target in the Talk() script command. (cherry picked from commit a040d484437b2f12ce88dc4372bfacc18204c8fc)
2021-11-24Scripts/Borean Tundra: link gossip content for NPC Iruk from DB (#23118)Trond B. Krokli
- remove hardcoded text (deprecated method) - add already existing DB gossip content to enum - correct spell enum from spell_creature_ to spell_create_ - replace case switch with if statement (only one boolean case) Extra script file update: - remove SD comment line 22 (outdated info, replaced by SAI) (cherry picked from commit 7cb31aa4820d02fa5779483bec9455a00954902c)
2021-11-24Spell/Script: Guard's MarkLangerz82
Closes #16888 (cherry picked from commit e840d4967eae376d1bb888ae471056d05c2f0acc)
2021-11-24Core/Spell: SpellAura Redux (#22794)PolarCookie
* typo and correction * spell aura no longer shared between targets _spellAura isolated * SPELL_AURA_CONTROL_VEHICLE is not strictly single target spell Steam Tank Control and Wyrmrest Commander units can reseat themselves again * Rename 9999_99_99_99_world.sql to 2019_03_08_00_world.sql (cherry picked from commit ec3cb05d7fbc5cef60d000af910dc39dd3af92bf)
2021-11-24Scripts/Northrend: 482e0da followupccrs
add a little bit of tolerance (cherry picked from commit a00636261570c7e053ec4ed0844c196b10529978)
2021-11-24Scripts/Northrend: 482e0da followupccrs
(cherry picked from commit 3eecadcebf11f7418b6cdcf5d3602cea5e4e60f7)
2021-11-24Spell/Script: Specify a target for Azure Dragon: On Death Force Cast ↵Killyana
Wyrmrest Defender to Whisper to Controller - Random (cherry picked from commit e5470ab1ee32b97e07e979950665a7ede66603e0)
2021-11-24Creature/Script: DaegarnKeader
Remove the incorrect SAI and move it to cpp (cherry picked from commit 482e0dad30ccb88ae4d518fc205f1cd76202fed7)
2021-11-24Core/Misc: PORT CURSED REFACTORS FROM e69570dd7662848ae38628c4af71cce002dd1c3dShauren
WHO ON EARTH THOUGHT IT WAS A GOOD IDEA TO ADD REFACTORS TO A CHERRY-PICK COMMIT???
2021-11-24Scripts/Trial of the Crusader: Fixed Slime Pool visual effectKeader
Closes #21660 (cherry picked from commit e1aafddc2e90c01d0e2511518d7c23ac6baca935)
2021-11-24Spell/Script: Freezing CircleKeader
Closes #11312 See the original issue before cherry pick (cherry picked from commit 990ad000f8e869e55353e6531d9e38f23104bcd6)
2021-11-24Core/Movement: Allow using walk when chasing v2 (#23073)Sorikoff
* Allow walk when chasing (cherry picked from commit dbadb6369cf0b6d394fffaa1dedc612dfb5cbe2a)
2021-11-24Scripts/Ulduar: Mimiron improvementssirikfoll
Closes #23043 Fix Aerial hover Some visual issues (cherry picked from commit a8033420299d75bbcfd6efec610ec7f34f01bf75)
2021-11-24Allow walk when chasing (#23069)Sorikoff
(cherry picked from commit c2f2db08aa4f729fbd5b21528a215f6df0c131b6)
2021-11-24Core/Commands: Don't re-add active quests with ".quest add" commandjackpoz
(cherry picked from commit f17120cc784ee1f52a24424a78a64d71ad73b713)
2021-11-23Scripts/MGT: Kael'thas intro can now be skipped when not killing the trash ↵Ovah
pack in his room Scripts/MGT: Kael'thas will now despawn at evade Cherry picked from https://github.com/Ovahlord/TrinityCore/commit/f6e9ff5ca4ed1a174052b350db0802e1fca9a1aa https://github.com/Ovahlord/TrinityCore/commit/ed8c1830f58e0b9db629bbae9ee80f8ad76331e5 (cherry picked from commit c10c8c6bba27625e49016de8c1a1cc9fa7944fa5)
2021-11-23Scripts/Illidan: Fixed Parasitic shadowfiends reproducing like rabbitsKeader
(cherry picked from commit a617cc40977b7b019f79a198daebede90c59f5c1)
2021-11-23Scripts/Scarlet Enclave: Stable Master Kitrik's spell Repo (#23023)Sorikoff
(cherry picked from commit f0f4d0280daf81a841c30332f608f7acdfb1f374)
2021-11-23Core/Misc: Added lambda support to EventProcessorShauren
Closes #22909 (cherry picked from commit 813f693768ee94864b0d24423b9265bde2c9903d)
2021-11-23[3.3.5] Commands: lookup player shows which character is online (#23039)TheWinchesters
* Show 'online' for every online player in lookup player commands (cherry picked from commit a0056951f7e425341760ebf3a7770477ef7f4446)
2021-11-23Core/Misc: Fix issues reported by static analysisjackpoz
Fix issues reported by Coverity Scan (cherry picked from commit 2fda1572d214d0b114e0291106363f49c2d3179e)
2021-11-23Scripts/Scarlet Enclave: Grand Theft Palomino (#22967)Sorikoff
* Grand Theft Palomino * Cosmetic issues * Address CR (cherry picked from commit d5f565f42992d5142b30c7fbd694f8a5b1245f4c)
2021-11-23DB/Quest: Sniff Out the EnemySorikoff
Closes #23006 (cherry picked from commit 806dd940cec8352cc3a619b9cab39c95d7b86e59)
2021-11-23Scripts/Magister Terrace: Fixed a enum mistakeKeader
(cherry picked from commit 33b0654f8eb7aedf2a5a7d6b88f222ce31d20331)
2021-11-23Core/Misc: Fixed shaman elementals and magister terrace first boss accessKeader
(cherry picked from commit 6545cd33b91468de7c1b4beb77cdeb4ecb77f501)
2021-11-23Scripts/Utgarde Keep: Fix Ingvar Evading (again)Keader
UNIT_FLAG_NON_ATTACKABLE makes ingvar become a invalid target and lose threatlist, so me->IsThreatened() will return false. We dont need it at all, since UpdateAI will handle evade already. (cherry picked from commit 71dde16ce9a9c7904a2902ae288b3f05851224ac)
2021-11-23Scripts/Temple of Ahn Qiraj: Scripted doors of AQ40Keader
Doors added in https://github.com/TrinityCore/TrinityCore/commit/1ba09572b5a49d5cd247cdca47109d3325ec12f3 (cherry picked from commit 06078e30c6f1d6e2ab1dcecbba15127b07b32bb7)
2021-11-23Scripts/Magister Terrace: Update InstanceScript and more fixesOvah
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4 (cherry picked from commit 1b346485e40ddee958c116579d93bcff063021a5)
2021-11-23Scripts/Magister Terrace: Felblood Kaelthas rewriteOvah
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003 (cherry picked from commit 00958c9178781ac11a9dcabd034ed2e82120fad6)
2021-11-22Scripts/Black Temple: Mother Shahraz fatal attraction need be randomKeader
Higher distance showed in my sniffs is 48 yards (rounding 50 yards). If someone find more then that, please let me know. Ty killerwife (cherry picked from commit fd69c133b10e289167f34438cb34fb5d4a141b4c)
2021-11-22Scripts/Black Temple: Fixed some issues in Illidari CouncilKeader
Ty killerwife for all help :) (cherry picked from commit ef6240312ceb08f253a492db88eebd182925211f)
2021-11-21Scripts/ICC: npc_suppresser correctionsccrs
closes #22908 (cherry picked from commit c5423fa474273400982b277c82bb38385b2798e1)
2021-11-21Core/Commands: Fixed creature/gameobject move commands not updating which ↵Shauren
cell they belong to Closes #22720 (cherry picked from commit ec1cfa36f4c286ad8037516460a4e99ea5d7a5ed)
2021-11-21DB/Creature: Update Lord Victor Nefarius gossips with the correct entryKillyana
Closes #22946
2021-11-21Core/Unit: rename & cleanup GetCreatePowersccrs
it hurted my eyes too much (cherry picked from commit 954fd2639a5745c8f5165f329f64a143c6ffc5f7)
2021-11-213.3.5 UnitAI (#22911)Giacomo Pozzoni
* Core/AI: Revamp how UnitAI changes are applied Revamp how UnitAI changes are applied by storing current AI in a variable and all previous AIs plus current in a stack. The callers can push/pop AIs on the stack that will take effect only in next Unit::Update() call. The current AI will be a valid object for the whole duration of Unit::Update() and until next Unit::Update() call. * Core/AI: Apply new AI change code * Core/AI: Fix build * Core/AI: Fix crash on Creature::AIM_Create() * Core/AI: Fix crash * Core/AI: Restore ASSERT * Core/AI: Fix UnitAI not being popped properly when restoring a charmed AI (cherry picked from commit 8f9654d8176646c3076482477fc4b91011fb83cc)
2021-11-21Scripts/Borean Tundra: Corastrasza gossip menu improvements (#22942)Trond B. Krokli
- split the quest status check, the quest gossips are different - remove old hardcoded text (deprecated method) - enumerate already existing DB gossip menu option items (cherry picked from commit a8558c4361a7e3560c094886ef3072d46c64de44)