Commit Graph
6166 Commits
Author SHA1 Message Date
Treeston 94a79bac7a Core/Misc: Some refactoring, #23603 prep: (#23676)
- Split SpawnMetadata off from SpawnData
- No longer allocate Creature/Gameobject objects in ObjectGridLoader just to check their typeid and delete them afterwards

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 9304e496cbf6ab6c028671fb8526c732ae5d799f)
2021-12-21 15:16:26 +01:00
Sorikoff 6433ed6014 Scripts/Spells: Gift of the Harvester (#24111)
* Scripts/Spells: Gift of the Harvester

* Scripts/Spells: nopch

* Scripts/Spells: nopch

* Scripts/Spells: validate

* Rename 9999_99_99_99_world.sql to 2020_02_01_03_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit e10239311c95866f9316521b570f8600c08a2ff5)
2021-12-21 00:48:30 +01:00
Sorikoff e882635774 Scripts/Borean Tundra: Iruk (#24117)
* Scripts/Borean Tundra: Iruk

* Apply suggestions from code review

Co-Authored-By: Trond B. Krokli <[email protected]>

* Update 9999_99_99_99_world.sql

* Rename 9999_99_99_99_world.sql to 2020_02_01_01_world.sql

Co-authored-by: Trond B. Krokli <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 8c443ae39fe142491919e7cb50425163493d40ce)
2021-12-21 00:12:13 +01:00
Sorikoff 3daeb28420 Scripts/The Barrens: Beaten Corpse (#24124)
* Scripts/The Barrens: Beaten Corpse

* Rename 9999_99_99_99_world.sql to 2020_02_01_00_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 74d19691a56355c5932913ee7e5553d5125b1126)
2021-12-21 00:11:39 +01:00
Killyana e57967aa3f DB/Creature: Plagued Dragonflayer Tribesman & Plagued Dragonflayer Rune-Caster & Plagued Dragonflayer Handler
Closes #24122

(cherry picked from commit c86d4404c8ae1961e15f36b294d505f067a272e9)
2021-12-21 00:08:43 +01:00
Killyana ac4df1d856 Spell/Script: Fix Prison chain for Unworty Initiate
Closes #24089
The spell 54613 is not used in the game

(cherry picked from commit 0ec2a5fd745c7bd12e96f1870689ce52751b467a)
2021-12-20 23:52:52 +01:00
Sorikoff a463e7f1bd Scripts/Ebon Hold: How To Win Friends And Influence Enemies (#24090)
* Scripts/Ebon Hold: How To Win Friends And Influence Enemies

* Scripts/Ebon Hold: Improve SQL!

* Scripts/Ebon Hold: Final touch

* Scripts/Ebon Hold: Actually final touch

* Rename 9999_99_99_99_world.sql to 2020_01_26_04_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 13c81f55e3314fede78acfbb72a47384961d1f25)
2021-12-20 23:47:37 +01:00
Sorikoff d37547e769 Scripts/Borean Tundra: Plug the Sinkholes (#24085)
* Scripts/Borean Tundra: Plug the Sinkholes

* Scripts/Borean Tundra: Improve SQL

* Scripts/Borean Tundra: Remove item script

* Rename 9999_99_99_99_world.sql to 2020_01_26_03_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 552a638e3110bedea1b2e80a7a4a2a71401d9c17)
2021-12-20 23:47:37 +01:00
Killyana 4dfaaa61ce DB/Quest: Convert Reports from the Field to SAI
(cherry picked from commit c1580108f62257334cb4fecfffeea4e7a8296567)
2021-12-20 23:14:55 +01:00
NoName 5e267dda71 Core/Gameobject: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED (#24062)
* Step 1: Rename GO_STATE_ACTIVE_ALTERNATIVE to GO_STATE_DESTROYED

* Update src/server/shared/SharedDefines.h

Co-Authored-By: Trond B. Krokli <[email protected]>

Co-authored-by: Trond B. Krokli <[email protected]>
(cherry picked from commit 50d9d9196da90f7696cf83f07115df3d4880c879)
2021-12-20 23:13:47 +01:00
Sorikoff 868784636b Scripts/Quests: Reports from the Field (#24075)
(cherry picked from commit bfac09bbcfa5d21da35ef6d51f190a618aab6cdc)
2021-12-20 23:08:41 +01:00
Sorikoff a4b8371c93 Scripts/Violet Stand: Warmages (#24084)
* Scripts/Violet Stand: Warmages

* Rename 9999_99_99_99_world.sql to 2020_01_19_02_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 07c0bfe11b8164a9132e608e7bee1875467be6b2)
2021-12-20 23:06:17 +01:00
Sorikoff 97c28f4a42 Scripts/Transitus Shield: Warmages (#24082)
* Scripts/Transitus Shield: Warmage

* Scripts/Transitus Shield: SQL fix

* Scripts/Transitus Shield: improve SQL

* Rename 9999_99_99_99_world.sql to 2020_01_19_01_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit f20b147c71c69f196644ab250e5083e9e20eb6de)
2021-12-20 23:04:44 +01:00
jackpoz 87e5b3a08c Scripts/Ulduar: Fix Ominous Clouds movements
Fix Ominous Clouds being only clockwise, now they move both clock and counter-clock wise.
Add a workaround for GenericMovementGenerator not handling correctly cyclic splines started by MoveCirclePath(), stopping the movement after a single round. The workaround code can be removed once the bug in GenericMovementGenerator is fixed.

(cherry picked from commit c1df161e1ddf95584030480d3dcb15149aacd7a6)
2021-12-20 22:34:14 +01:00
Shauren 5d02739b98 Scripts: Fix rbac permission for skipping default boss sequencing check
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
2021-12-20 21:40:47 +01:00
Giacomo Pozzoni ce25c212e0 Scripts/Ulduar: Attempt to fix Yogg-Saron not evading on wipe (#24055)
(cherry picked from commit 039534d1dbcde60b72c5b570be8e4cb5abb4f647)
2021-12-20 21:24:51 +01:00
Alan Deutscher cd72ecce78 Scripts/Spells: fix Turkey Timer duration (#24048)
* spell_gen_turkey_marker::OnPeriodic: Pop expired stack timestamps from tracking list.

* Be a bit more explicit about the data type of removedCount.

* Formatting nudge.

* Remove brackets.

(cherry picked from commit a0c07655eb6b42a2e1fd9319d53c7ed7f2c585d8)
2021-12-20 21:24:37 +01:00
ccrs 25a987496c Scripts/ICC: include missing call from UnitAI::JustExitedCombat override in npc_green_dragon_combat_trigger
(cherry picked from commit 330cbb55fb8597cd3adc09f15a753024b4c956cb)
2021-12-20 21:10:33 +01:00
Shauren e43a02668f Scripts/Icecrown Citadel: Removed unneccessary combat hacks from Valithria Dreamwalker
(cherry picked from commit c188d4db8548544f089d53d944104e7d9ffdbb0e)
2021-12-20 21:07:50 +01:00
Killyana e9ba28afc9 Quest/Scripts: Remove some hacks from "Trolls Is Gone Crazy!"
(cherry picked from commit a149261e94b676cf090b37d085578e08d0ebffd0)
2021-12-20 21:07:28 +01:00
Keader 174f4bad3d Scripts/Blood Furnace: Fixed Broggok reset issues and some little improvements
Closes #23658

(cherry picked from commit 1bdc792559fbf4fa713fce40cdcf012e63fdc741)
2021-12-20 20:18:55 +01:00
Giacomo Pozzoni 7c97fa4449 Scripts/Misc: Fix build warnings
(cherry picked from commit 37ffdc05b23f079af3e22d7042f6ffe240e69cd5)
2021-12-19 23:31:30 +01:00
Killyana 71e474e14f DB/Spawns: Remove "Hand of the Deceiver" spawns as summoned by a script
(cherry picked from commit 434cdb1fa0f5d2ea282c044771b96c9b0ad17f53)
2021-12-19 23:27:12 +01:00
Killyana 3f3abe9ad0 Creature/Script: Add text target for npc_shadowfang_prisoner
(cherry picked from commit 10ba39e62644c0d071013d50775790307de807c2)
2021-12-19 19:49:52 +01:00
ccrs d7571e5d1f Scripts/ICC: little bit of cleanup in Valithria after the "recent" changes
(cherry picked from commit 7ffe0185711095b0f62a5edf1e1819935d02851c)
2021-12-19 18:05:23 +01:00
Keader 80dbecbd56 Scripts/ICC: Fixed Valithria Archmages casting while dead
After 9c603ea87f09c47d52f093ccc73ee75c15eff6f5, dead creatures will tick UpdateAI
Closes: #24012

(cherry picked from commit 2f31119ea337aedecc593b6bb687ad73390db3a2)
2021-12-19 15:51:30 +01:00
Eridium 2b27278516 Spell/Script: Egg Nog (#24007)
Closes  #23996

(cherry picked from commit b60786a91610d2c841b4d61c360a2cdd97a49118)
2021-12-19 15:48:29 +01:00
Michael 72e61625bc additional output for additem command (#24006)
* additional output for additem command

when removing items with additem:

if the user provides an amount too large of a negative amount, the command will now output the amount of items that could not be destroyed.

* renamed sql file to hopefully avoid conflicts

* added clarification to failure string

* changed unneeded else if condition to else

* code style; braces

* Update and rename 9999_99_99_99_world.sql to 2019_12_28_01_world.sql

(cherry picked from commit 6b19f4a0ab1f77ea969a080a6eea0379baf9f8df)
2021-12-19 15:46:20 +01:00
Keader b9def15aa7 Scritps/ICC: Fixed resistance calculation for Mutated Transformation (Professor Putricide) (#23858)
More Info in: #23837

(cherry picked from commit 9f7b464a6aa5b64bf5ec5c0f586853fbc71029c6)
2021-12-19 15:33:41 +01:00
Shauren e30683fda4 Scripts: Add missing killer nullptr checks in JustDied hooks
(cherry picked from commit 175eba74aee742b8aa97b940983a0ddbd7b4bdf7)
2021-12-19 13:12:42 +01:00
jackpoz 7fb3b89d1d Scripts/Misc:Code cleanup
(cherry picked from commit 68fa3091a2d5497041e2fbc49c6caa4cb11f73d4)
2021-12-19 13:12:05 +01:00
Killyana 22e088351d Creature/Script: Fire Bomb
Closes #23977

(cherry picked from commit c5c46fed6a5ba894827173d489361b9892560d5b)
2021-12-19 13:11:06 +01:00
Killyana 8c6216eaab Creature/Script: Toravon Frozen Orb Stalker
(cherry picked from commit 9bed0aa8d8fc5f9526fc756e3961ed25f703de79)
2021-12-19 13:10:28 +01:00
Killyana ff30b0751e Spell: Move Crystal Spike aura to the cpp
(cherry picked from commit 26faca51cd42fdc0778f4ed5a7efd2b44654f726)
2021-12-19 13:09:42 +01:00
Killyana a8cbaa33ac Spell: Move Shadow Trap aura to the cpp
(cherry picked from commit 462b63957aa821b388a88a741c9eb9bb59491b4a)
2021-12-19 13:04:08 +01:00
Eridium c96157cb95 Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges (#23976)
* Boss/Script: Fix Mechano-Lord Capacitus's Nether Charges

Closes #23973

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Update boss_mechano_lord_capacitus.cpp

* Rename 2019_12_99_99_world.sql to 2019_12_19_00_world.sql

(cherry picked from commit efcbfa5c24b32fe7bc7015a953f0926e375a6a6b)
2021-12-19 12:34:32 +01:00
Killyana 41b7b39e3c Spell: Move Column of Frost & Mana Void to the cpp
(cherry picked from commit 74f92d776b2c85c8795bae1a216abd8e7ea204fa)
2021-12-19 12:33:59 +01:00
Killyana eb36b2f2f7 Spell/Script: Move the spell "Flame Sphere Spawn Effect" from the DB to the cpp
(cherry picked from commit 4d89da56c18542f78f7ca29d57a06f08ffa3cef7)
2021-12-19 12:25:17 +01:00
aquadeus 07015cc052 Scripts/Spells: Fix paladin talent Eye for an Eye (#27426) 2021-12-19 11:53:17 +01:00
aquadeus 5750466259 Scripts/Spells: Fixed priest talent Masochism (#27420) 2021-12-19 11:41:33 +01:00
Keader f358ac39cc Build fix
(cherry picked from commit ecd4ffc1ceac6b1d6e9f86f192673ce95f94aaae)
2021-12-19 01:42:27 +01:00
Keader 8ed57e95d5 Scripts/Azjol-Nerub: Fixed Gatewatcher pets evading when kill a player
Making Aokromes happy

(cherry picked from commit 58b5ea9f955007bcd43a4589dc757ce2eedd6bbd)
2021-12-19 01:42:18 +01:00
Killyana 16ddcdfd0a DB/Quest: Take Down Tethyr!
Closes #22407

(cherry picked from commit c22b1e6cb46ff76729f44eb846043e1614abc9f9)
2021-12-19 01:42:16 +01:00
Killyana 884eeaed8d DB/Spawns: Rampart of skulls
Closes #23966

(cherry picked from commit 366ec081607a04de0195672c87711ce0dcc38dfd)
2021-12-19 01:34:59 +01:00
Gildor 5004a8a4ec Scripts/VioletHold: Minor improvements (#23961)
* Scripts/VioletHold: Minor improvements
* Now we can teleport inside with gossip if event is in progress
* Improve HavePlayers() check logic

* Remove a pointless comment
suggested by shauren

* Move CheckWipe function to execute every 3 seconds instead every map update
suggested by Riztazz

* I supose Riztazz forgot add this to repeat every 3 seconds

(cherry picked from commit f661bc6c39596666da692297ef3fac13264f5840)
2021-12-19 01:27:48 +01:00
Killyana cf95274ace Quest: Weakness to Lightning
Closes #23916

(cherry picked from commit 6db4bf66715a775ab85c7e82e9b9733c891e450e)
2021-12-19 01:09:15 +01:00
Ovah 04ed6e292c Scripts/ScarletEnclave: reworked Eye of Acherus script (#23953)
* updated script model to new standard
* corrected spell usage and timers based on sniff data
* removed hacks

(cherry picked from commit 60763fc5e2d7bb32150d8e03bfd0fb3e7cb890f3)
2021-12-19 01:05:59 +01:00
Giacomo Pozzoni 9bede687ce Core/GameObjects: Skip LoS checks for traps (#23936)
* Core/GameObjects: Skip LoS checks for traps

* Core/GameObjects: Fix spells cast by traps missing always

* Scripts/Spells: Fix WSG heal buff not healing

The WSG green heal buff is now cast by a GameObject so the spell target should be used to calculate the healing, not the GameObject.

(cherry picked from commit 909941e1b44250b0fa646d363af817f40ca48355)
2021-12-19 01:05:54 +01:00
ccrs 5d1281edda Scripts/PoS: a7a96d4 followup
cause edge cases may exist
ty Aokromes

(cherry picked from commit a58ed271c963643f19ec9ebff0dbadd6f46e4eb8)
2021-12-18 23:36:44 +01:00
ccrs 6443116d5b Scripts/ScarletMonastery: instance script cleanup (#23889)
Adapt InstanceScript into newer structure and style
Adapt existing boss scripts into newer structure and style
Improve existing boss related definitions

Should make each boss more functionally reliable, but nothing new has been added

(cherry picked from commit 06c6b30ed484850228c57313dc2c024c38e2055f)
2021-12-18 23:36:17 +01:00