aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2022-02-03Scripts/Commands: Convert argument parsing of gm commands to new system (#25279)Peter Keresztes Schmidt
(cherry picked from commit 9c9e8c7d58cd0e939330089cfb555945ebbf73eb)
2022-02-03Scripts/Commands: Convert argument parsing of remaining go command to new ↵Peter Keresztes Schmidt
system (#25284) (cherry picked from commit 1aadf6c6d173e593eef0e9976e51a7189a54a8ce)
2022-02-02Scripts/Commands: Convert argument parsing of honor commands to new systemCarbenium
(cherry picked from commit 515a34f64f200ea0fb9722914b76ab8abd358891)
2022-02-02Core/Warden: Add .debug warden force, allowing you to force specific warden ↵Treeston
checks to be sent (cherry picked from commit f04f4e91ff3afbf89f30659b85e8593c3206138e)
2022-02-02Scripts/Commands: Convert argument parsing of deserter commands to new ↵Peter Keresztes Schmidt
system (PR #25276) (cherry picked from commit c952cb7f710f0aa558b1c94474be8d188967d019)
2022-02-02Scripts/Commands: Convert argument parsing of cheat commands to new system ↵Peter Keresztes Schmidt
(PR #25277) (cherry picked from commit 4707e059386333b6ceec419d0d2e684d9106aef6)
2022-02-02Scripts/Commands: Convert argument parsing of most debug commands to new ↵Peter Keresztes Schmidt
system (PR #25260) (cherry picked from commit 76f309b4e899d4f450a8448d49c1aa05f9d4e785)
2022-02-02Scripts/Commands: Move .debug asan command bodies inside #ifdef ASANTreeston
(cherry picked from commit e18f7aaa4d1bc9f6ad4b524c25fd3f111493b774) (cherry picked from commit 0b13fc192698f65cc6e338ef92c22d4d783281b9) (cherry picked from commit 5ecbe93f7d75ea3c4808ce45ccc7d14e1d42b26b)
2022-02-02Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264)Peter Keresztes Schmidt
(cherry picked from commit 426513ec8e154df7c13ba98371513dd9f6d2cb9d)
2022-02-02Scripts/Commands: Convert argument parsing of bf commands to new systemCarbenium
(cherry picked from commit fa6a8e8f647705c4631b7ed5d2dbd41e3b1d6b6b)
2022-02-02Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant ↵Treeston
to std::variant (for real this time) (cherry picked from commit ffc3e355fe2adfe48d37759091a537b699b12753)
2022-02-02Core/Pets: Updated pet summoning for latest client version (5 Call Pet ↵Shauren
spells and stable size 200)
2022-01-31Core/Pets: Fixed automatic resurrecting pets on battleground graveyardsShauren
Closes #25289 (cherry picked from commit 74a0d579eef07c013cc8deff930a975cf19c487f)
2022-01-31Core/Pets: Pet management refactoring (#25191)Shauren
* Core/Pets: Pet management refactoring * Preload basic pet data on character login with async query * Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed * Remove all select queries related to pet stable/unstable * Remove all silent pet deletions except explicit UI-triggered abandons * Fixed displaying stable master content when current pet is not summoned * Allow to stable/swap unsummoned current pet Closes #3610 Closes #21266 (cherry picked from commit 5c1fc5e3876549f5ed2b9051fffb6f3d94a67d7a)
2022-01-30Scripts/Spells: Moved Blessing of Faith script to spell_items (#27692)Teleqraph
2022-01-30Scripts/Spells: Fixed Holy Shock visualsShauren
2022-01-30Scripts/Spells: Updated Holy Shock spell script.Nyr
* renamed related enums. * removed unnecessary rank dependency checks.
2022-01-30Scripts/Spells: Judgment (Holy) will now apply Rank 3 debuff if the paladin ↵Teleqraph
knows it (#27685)
2022-01-29Core/Objects: Cleanup SmoothPhasing code - move to separate files and better ↵Shauren
integrate it with visibility system
2022-01-28Scripts/Spells: Fix shaman Lava Surge proc (#27667)Robingad
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-27Scripts/Spells: Move shaman Lava Burst crit chance calculation to scripts ↵Robingad
and add Lava Burst Overload (#27676)
2022-01-27Scripts/Spells: Fix shaman Earthquake (#27620)Robingad
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-01-26Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (PR #25256)Peter Keresztes Schmidt
* Core/Shared: Make Emote enum smart * Scripts/Commands: Use enum type arg for HandleDebugAnimCommand (cherry picked from commit 86dc58974a46b554042f33df674e3e40ef0cec1e)
2022-01-26Core/ChatCommands: Add support for enum type arguments (PR #25242)Peter Keresztes Schmidt
(cherry picked from commit 5e40eb20e2789b86d4786d86b4bbb8ae83de5e1e)
2022-01-26Core/Unit: Make HandleEmoteCommand typesafe (#25249)Peter Keresztes Schmidt
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter * Scripts/HoR: Fix wrong emote during escape event * Core/Unit: Make improve type safety of HandleEmoteCommand Change argument type to the expected enum type Emote * Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE UNIT_NPC_EMOTESTATE is no flag field (cherry picked from commit 6c7837f947ff4eb5110a116a371daa6f9e2b3bbe)
2022-01-26Script/Quest: The Light of Dawn (#25243)Aokromes
remove incorrect check, source: https://www.wowhead.com/spell=53606/the-light-of-dawn Flags Can be used while dead https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830 https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127 (cherry picked from commit 681c738c61cdf64728fcd86d7598666ab2fd8199)
2022-01-26Scripts/Naxxramas: Adjust Frogger event timer (#25214)Gildor
* Scripts/Naxxramas: Adjust Frogger event timer Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit 7035a9caf12c72d6710bfec71dc2641eccf82eaf)
2022-01-26Script/Quest: fix (More) Torch Catching (#24907)Rothend
* Script/Quest: fix (More) Torch Catching. Closes #24893 Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit a375f15ae26472202daf02c88d292f2ce6a1470f)
2022-01-26Core/Warden: Warden refactors (PR #25235)Treeston
(cherry picked from commit 6116e5b38522ccfb00f6c941c75482e05b4c0799)
2022-01-26Core/Misc: Code cleanupjackpoz
(cherry picked from commit dd28cecda36ed3912be39d0c3caefef910db707d)
2022-01-26Scripts/Command: Fix .mmap loc always printing command usagejackpoz
(cherry picked from commit 0eb49a3cc91a11ca98cce819dd189f1519684c5f)
2022-01-26Scripts/BlackwingLair: Suppression Device Room (PR #25199)Jinnaix
Co-authored-by: offl <11556157+offl@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Treeston <treeston.mmoc@gmail.com> (cherry picked from commit de56ed87368104780ddfb2e9c082076c9c83d575)
2022-01-26Scripts/Comamnds: Improve ".debug objectcount" command (#25208)Giacomo Pozzoni
* Scripts/Comamnds: Improve ".debug objectcount" command Include the top 5 most common creatures in the map * Use C++ features to copy data * Fix build warnings * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Move CreatureCountWorker out of function and use template for unhandled cases * Code cleanup Co-authored-by: Shauren <shauren.trinity@gmail.com> (cherry picked from commit bd5e832a648aadf1d1be94f913ea00b67398f249)
2022-01-26Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on ↵jackpoz
NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER (cherry picked from commit 6ad6d9e67069ef048c10afbdd52627b8c765a010)
2022-01-26Scripts/Naxxramas: Frogger event improvements (#25202)Gildor
* Scripts/Naxxramas: Frogger event improvements * Prevent Living Poison accumulation * Now Living Poison cast Explode * check for a nearby player * move event to the frogger trigger's AI * Initialize and removing unnecessary things * applying suggestions * remove unnecessary header * Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql (cherry picked from commit 174ac958009222aeef83520101a28963f8c63b0e)
2022-01-26Scripts/World: updated Training Dummy script to modern model and removed ↵Ovahlord
pointless GameTime shenanigans (cherry picked from commit 9bf57958e36721fa301f62c4a5c6bd88c58edc28)
2022-01-26Scripts/AzjolNerub: Fix potential error in pound spell scriptCarbenium
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target. Ref #21856 (cherry picked from commit 0dd4b685df53d9b61a53aaf3a577c2a9ed8cdd47)
2022-01-26Core/Misc: Fix static analysis issues (#25194)Giacomo Pozzoni
(cherry picked from commit 07fd84b679fd6958b7e669a96c78783875e1b949)
2022-01-26Scripts/Outland: Convert 'Captain Tyralius' to SAI (#25188)Trond B. Krokli
Closes #24676 (cherry picked from commit 7f2874a7aceb13f5c8898acbeb7f5a296eb7d610)
2022-01-24Scripts/AzjolNerub: Update Anub'Arak encounter to current coding standards ↵Peter Keresztes Schmidt
(#25192) * Scripts/AzjolNerub: Update Anub'Arak to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Darter to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Assassin to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Guardian to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Venomancer to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Impale Target to current coding standards * Scripts/AzjolNerub: Update Anub'Arak Pound spell to current coding standards * Scripts/AzjolNerub: Update Anub'Arak carrion beetles aura script to current coding standards (cherry picked from commit dab8768c183dc43f970187a65961fc8fce647c29)
2022-01-24Scripts/Gundrak: Update Slad'ran encounter to current coding standards (#25180)Peter Keresztes Schmidt
* Scripts/Gundrak: Update Slad'Ran's script to use TaskScheduler * No functional changes * Scripts/Gundrak: Update Slad'Ran's adds to use TaskScheduler * No functional changes (cherry picked from commit 7abe9d66d049204240060f1976c51ff2297bf266)
2022-01-24 Scripts/Gundrak: Update Drakkari Colossus encounter to current coding ↵Peter Keresztes Schmidt
standards (#25182) * Scripts/Gundrak: Update Drakkari Colossus to current coding standards * no functional changes * Scripts/Gundrak: Update Drakkari Elemental to current coding standards * no functional changes * Scripts/Gundrak: Update Living Mojo to current coding standards * no functional changes (cherry picked from commit dd8666f38d6aad6401e8e303c57c62255856f5a4)
2022-01-24Scripts/MoltenCore: Update Golemagg encounter to current coding standards ↵Peter Keresztes Schmidt
(#25183) * Scripts/MoltenCore: Update Golemagg to current coding standards * no functional changes * Scripts/MoltenCore: Update Core Ranger to current coding standards * no functional changes (cherry picked from commit c88234727b47c037557eba6db8ae8ef1dee4eed7)
2022-01-24Scripts/AhnKahet: Update Herald Volazj to current coding standardsCarbenium
* convert to BossAI * no functional changes (cherry picked from commit 90543fd41db309d924a3d45939bd23cffb9f5b67)
2022-01-24Scripts/AV: Update Vanndar's script to use TaskSchedulerCarbenium
* No functional changes (cherry picked from commit 799d5376d8d7e2c9c0fc1e27cfadf2669a8724d0)
2022-01-24Core/Common: Merge TimeTrackerSmall with TimeTrackerCarbenium
(cherry picked from commit 228696bf80bcd55d35445cd24ae119020c310f88)
2022-01-24Core/Common: Add a std::chrono interface to TimeTrackerSmallCarbenium
New methods: TimeTrackerSmall(Milliseconds expiry); void Update(Milliseconds diff); void Reset(Milliseconds expiry) Milliseconds GetExpiry() const Removed methods: int32 GetExpiry() const Also add basic unit tests. Core/Scripts: Use std::chrono interface of TimeTrackerSmall (cherry picked from commit e55516348dbabaa8c9d559426315f3f70967acaa)
2022-01-24Core/Misc: Fix static analysis issues (#25178)Giacomo Pozzoni
(cherry picked from commit 7cf122fc2a604bae77d0b935536c41ec9203e62d)
2022-01-24Scripts/BlackrockSpire: Fix encage event of Pyroguard encounter (#25177)Jinnaix
(cherry picked from commit e3aa87641f08ecaa42ebef1915d7de88dc73ef25)
2022-01-24Scripts/Quest: Force of Neltharaku quest credit (#24807)Trond B. Krokli
* Scripts/Quest: Force of Neltharaku quest credit **Description:** Suggested solution to resolve the kill credit double cast issue in the quest "The Force of Neltharaku" (10854). by Rushor **Changes proposed:** - Remove duplicate spell casts in the zone quest script - Remove commented-out script section - Set a couple of unit flags (anim/stand/hover) - Move return new creature script override to end of script - Move PlayerGUID, FlyTimer, and Tapped to Private - Add DB flight movement control to Enslaved Netherwing Drake - Add SpellMgr MaxAffectedTargets = 1 for spell 38762 - Add movement enum POINT_MOVE_UP - Add missing enum for quest ID **Target branch(es):** 3.3.5/master - [X] 3.3.5 - [X] master **Issues addressed:** Closes #24796 **Tests performed:** (Does it build, tested in-game, etc.) Pending for now. **Known issues and TODO list:** (add/remove lines as needed) - [X] Open PR in draft mode until testing is cleared - [ ] Compile and create local server - [ ] Test changes on local server * Rename 9999_99_99_99_world.sql to 2020_07_29_00_world.sql Co-authored-by: Rushor <Rushor@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit e0dae8feb6607b5190d14b56ecfc10bbfa667c95)