aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2021-12-11Scripts/Icecrown Citadel: Fixed Heroic Attempts logic (#23379)Keader
(cherry picked from commit 136964769db509d1a2238f863d57e61651d97fae)
2021-12-10Script/Dalaran: don't allow Dalaran faction guards to teleport a player that ↵Wyrserth
has the Trespasser! debuff. (#23373) (cherry picked from commit 5016f588d5f20ef8eb0f3da9c3c92bbac8e132ee)
2021-12-10Scripts/ZulGurub: general instance related refactoring/updatingccrs
plus couple event-spells-ai related corrections plus codestyle cleanup (cherry picked from commit 7b2defe5a0e645ab88e48df2d8e5417e4977d41c)
2021-12-10Script/Quest: implement event for the quest Orabus the Helmsman (#23346)Wyrserth
* 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-10Spell/Script: Stasis FieldKillyana
Closes #23355 (cherry picked from commit 7dd87e3df44c1c5b9b8ffb9652911d46d6676c38)
2021-12-10Script/GunDrak: fix order for yell and altar texts on death for two bosses ↵Wyrserth
(#23357) (cherry picked from commit 65aea13c252b22003a41ff7f6fba7139b6681768)
2021-12-10Script/Creature: implement spell effect for the item Prototype Neural ↵Wyrserth
Needler used on Imprisoned Beryl Sorcerer (#23349) * Script/Creature: implement spell effect for the item Prototype Neural Needler used on Imprisoned Beryl Sorcerer. * Rename 9999_99_99_99_world.sql to 2019_06_03_02_world.sql (cherry picked from commit eb5d1d32485bc305e53d7a3229467050b02a1b0e)
2021-12-10Script/Creature: calculate Traveler's Tundra Mammoth's NPCs' exit position ↵Wyrserth
based on current player's position (#23344) * Script/Creature: calculate Traveler's Tundra Mammoth's NPCs' exit position based on current player's position. * Comment out unused argument. (cherry picked from commit d71a0608bfa93b0733489fc138431ec0918220af)
2021-12-09Scripts/HallsOfLightning: Fix Volkhan spamming in chat when wiping at 10% healthjackpoz
Ref #23082 (cherry picked from commit 2d5387ea425fc4c31d664fcccad02c83a9f41aa0)
2021-12-09Scripts/Stratholme: Baron Rivendare rewrite (#22572)Nitair
* Adding last state of rivendare rewrite * Fix aura beeing removed on reset, fix death pact * Not needed * SQL: Changed remove/inset into update, fixed delete at conditions part * Typo * Remove link spell, fix blank lines, change magic numbers to enum * Test changes with SpellScript and DoCastSelf * Revert SpellScript and moved DoCastSelf for the aura into UpdateAI part * Damn, copyright. * Fix Unholy Aura * Fix again (does attack now / does cast if encounter resets) * Adding handling of the aura to the db * Rename 2018_99_99_99_world_335.sql to 2019_05_31_02_world_335.sql (cherry picked from commit ee5101fbf74b0fa924a8467ee766b39c1d06875b)
2021-12-09Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects ↵Wyrserth
while under the effect of a damage immunity aura (#23319) * Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura. * Forgot to change this in last-second rename. * Apply suggested changes, thanks Shauren! (cherry picked from commit 8bc5451864570c07eff6d427846335044f85a509)
2021-12-08Core/Channel: Fix CRT Debug Assert triggered with invalid channel namesjackpoz
(cherry picked from commit f0bd90cc35098475b20e736cf98885c99c04be3d)
2021-12-08Creature/Script: npc_tallhorn_staglactoseti
Ref #2623 (cherry picked from commit bfffa5d45e9d07636930e89916986edf7c086c1e)
2021-12-08DB/Creature: Hydross the unstable npc triggersKillyana
Update the correct channel spell SPELL_BLUE_BEAM and spawn triggers used to cast it (cherry picked from commit 2829f5fb9ce4d61ae6e88cf65ed7302985e5cf36)
2021-12-08DB/Creature: Dark Portal Dummy 1.30Killyana
(cherry picked from commit fdec429f189ac88381b1ba9f8d83ef5f4f9e0017)
2021-12-073.3.5 gameobject summoner (#23289)Giacomo Pozzoni
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*) * Scripts/Misc: Fix build * Core/TempSummons: Rename GetSummoner() to GetSummonerUnit() * Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too * Fix build * Core/TempSummons: Allow GameObject to be owner of TempSummon * Core/TempSummons: Add support to SAI for GameObject owner of TempSummon * Scripts/Misc: Fix no-pch build * Core/TempSummons: Implement PR comments (cherry picked from commit 797fba98e95da1236465a15061ec4122d7ec33fe)
2021-12-05Core/Misc: Fix static analysis issues reported by Coverityjackpoz
(cherry picked from commit a0bd68cf465517786d16bcb145ed3fc8bc5b5b98)
2021-12-05Core/Spell: add proper cooldowns to some spells used by vehicles (#23260)Wyrserth
* Core/Spell: add proper cooldowns to some spells used by vehicles, thanks to jackpoz and sirikfoll. * Add Wing Buffet and Stampy's Stompy-Stomp. * Add Tag Greater Felfire Diemetradon and Touch of Darkness. * Rename 9999_99_99_99_world.sql to 2019_05_17_00_world.sql (cherry picked from commit 4d04344b414adc965bd2760d3f30338bcce70431)
2021-12-05Instance/Script: Blood FurnaceKillyana
Ref #23285 (cherry picked from commit 9435caa8d110ebfec894c7f99541f77dc6a83ff1)
2021-12-05Scripts/Northrend: couple cosmetic corrections after 552720accrs
(cherry picked from commit 7025b0065646e0d70ba2ca0ef807ff4e9d8612ce)
2021-12-05Scripts/Northrend: improvements for quest Get Me Outa Here! (11673) (#20753)Wyreth
* Script/Quest: improvements for quest Get Me Outa Here! (11673). * Happiness for our Travis overlord * Update 9999_99_99_99_world_quest_get_me_outa_here.sql * Update zone_borean_tundra.cpp * Update 9999_99_99_99_world_quest_get_me_outa_here.sql * Update 9999_99_99_99_world_quest_get_me_outa_here.sql * Fix hook that got renamed * Update 9999_99_99_99_world_quest_get_me_outa_here.sql * Rename 9999_99_99_99_world_quest_get_me_outa_here.sql to 2019_05_11_08_world.sql (cherry picked from commit 552720a993cd02e47956cf99e41715b244e0b0eb)
2021-12-04Scripts/Icecrown Citadel: Fixed a edge case in Blood Quickening questKeader
killer can be a pet (cherry picked from commit a639a99c6c43a6e74883fb03a3a3ec5334da1db3)
2021-12-04Scripts/Icecrown Citadel: The Lich King's Last Stand quest kill credit (#23239)Demonid
Closes #8919 (cherry picked from commit d1c5b3c89792a429f0b07bf5b146540082803745)
2021-12-03Remove deprecated codeKillyana
(cherry picked from commit fe311260f7fab3b6fb4d7dd2ee88826820379d94)
2021-12-02Core/Scripts: Fix Skadi dismount issuesirikfoll
Closes #23005 (cherry picked from commit fe3bf57aba9a5009e7e17922391a0d9374915ab5)
2021-12-02Scripts/Spells: Fix implementation of #22332 (#23228)Giacomo Pozzoni
Change the way #22332 moved spell damage calculations from SpellEffectDMG to scripts, using OnEffectLaunchTarget and SetEffectValue instead (cherry picked from commit 20772dbf5d10c6ec2891a068fb556c9f5fc7d324)
2021-12-02Quest/Script: Breakfast Of ChampionsKillyana
Set both Earthshaker Drum Events to 50% (cherry picked from commit 14445088ea0b03d556619a9e5cd5f138cca09561)
2021-12-02Core/Misc: Fix some GCC 8 warningsjackpoz
(cherry picked from commit 26b6cb0584b50a2540e977cac8fa040c82fe7bb4)
2021-12-02Scripts/Commands: Add .debug asan commandsjackpoz
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools) (cherry picked from commit 71d15ea25be3e86646faaa3266617a0b8177972f)
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)