summaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
AgeCommit message (Collapse)Author
2025-11-14fix(docs/license): use GPLv2 as MaNGOS-based project (#23655)Francesco Borzì
2025-10-30fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai ↵killerwife
indexing (#23472)
2025-10-26feature(SmartAI/Movement) - Unify waypoint systems (#23251)killerwife
2025-10-13refactor(Core): DespawnOrUnsummon (#23141)天鹭
2025-10-12refactor(Core): Make ObjectGuid const (#23170)天鹭
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a7883380ce4c827db103b0c43faca6632c3d1f66) Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2025-10-12refactor(Core/EventMap): Refactor EventMap and related scripts (#23121)天鹭
Co-authored-by: Kelno <3866946+kelno@users.noreply.github.com> Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
2025-08-09feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)Takenbacon
2025-07-15fix(Scripts/Midsummer): improve torch tossing based on sniffs (#22378)sudlud
2025-05-30fix(Scripts/Items): Noblegarden Chocolate instantly giving Well Fed buff ↵avarishd
(#22150)
2025-05-09refactor(Core): Add definition file for area table entries. (#22054)Benjamin Jackson
2025-04-19fix(Scripts/Noblegarden): fix bunny transformation on egg looting (#21957)sudlud
2025-02-16fix(Core/PlayerScript) Align player script function names (#21020)Exitare
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-02-14fix(Core/Grids): Grid improvements (#20955)Takenbacon
2024-12-01refactor(Core/Spells): Add helpers for HasAuraType (#20802)Kitzunu
2024-11-25fix(Scripts/Events): Earning Spirit of Sharing should remove the othe… ↵Andrew
(#20732) fix(Scripts/Events): Earning Spirit of Sharing should remove the other buffs
2024-11-02fix(Scripts/Events): Hallow's End Headless Horsemen fly intro (#20366)Jelle Meeus
manually set move flags
2024-10-27refactor(src/server/game/*): remove unused imports (big part 1) (#20310)Francesco Borzì
2024-09-03refactor(Core): Make more use of helpers. (#19835)Benjamin Jackson
* Init. * Reword. * Update codestyle script. Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Add gameobject type ID check, reorder checks. * Add helper/codestyle check for unit type. * `IsUnit()` -> `IsCreature()` * Add `IsUnit()` method. * Use type mask. https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5 Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com> Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com> * Replace instances of `isType` with `IsUnit`. --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-08-25refactor(Core/Object): adds consistency in the use of type object check (#19671)Grimdhex
2024-08-25fix(Server): remove double blank lines at the end of several files (#19735)Grimdhex
2024-07-22refactor(Scripts/misc): remove unused imports (#19458)Francesco Borzì
2024-07-19fix(Scripts/FireworkShow): set firework gameobjects active (#19403)sudlud
- improve visibility of the show - prevent glitches in the show execution - each gameobject only exists for a very short duration, so there should be no relevant performance impacts
2024-07-14fix(Scripts/Midsummer): correctly despawn gameobjects (#19387)sudlud
2024-06-24fix(Scripts/Midsummer): fix handling of unwanted npc and gameobject s… ↵sudlud
(#19141) fix(Scripts/Midsummer): fix handling of unwanted npc and gameobject spawns - properly spawn bonfire spell focus for city bonfires - properly despawn unwanted creatures and gameobjects which are spawned by linked traps - all midsummer bonfire gameobjects have a linked trap "181290 Midsummer Bonfire Spawn Trap" - the trap is linked to the spell "28784 Summon Midsummer Bonfire Bunnies" which then spawns npc "16592 Midsummer Bonfire", npc "16606 Midsummer Bonfire Despawner" and gameobject "181371 Midsummer Bonfire Spell Focus" i have no idea how this trap is beeing triggered, but it's doing only harm right now
2024-06-21fix(Scripts/Midsummer): use GUID storage rather than Player object (#19109)天鹿
* Update midsummer.cpp * Update midsummer.cpp * Update midsummer.cpp
2024-06-20fix(Scripts/Midsummer): Resolve Ribbon Pole crash. (#19108)Benjamin Jackson
* Init. * Add todo. For you, Nyeriah. :stuck_out_tongue:
2024-05-12fix(Core/Events) Implement Fireworks Spectacular (#18860)sudlud
* init sql file for fireworks spectacular - add entry in game_event * add missing delete statement * add gameobjects 180698 'Party Table, 180699 'Festive Keg, 180700 'Hay Bale 1' * update comment, add gameobject 180754 Toasting Goblet - todo: pooling (?) - the tables are quite full - todo: why are there tables missing? e.g. below: .go ga 82615 * add gameobject 180905 'Festive Mug' * add gameobjects 'Firework, Show, Type%' * add vendors * add revelers and bruisers TODO: also add 15906 'Ironforge Reveler' * remove '%Firework Show%' spawns - these will be spawned temporarily via script * add firework gameobject SmartAI * WIP stormwind fireworks show steps to test the show: .go xyz -8984 498 96 0 .gob add temp 180749 * improve handling of fireworks show, add gameobject 180749 'Cheer Speaker' spawns how to test: .go ga 64640 .event start 72 * prepare fetching correct show based on map+zone * introduce typedef for FireworkShow * Add Teldrassil show .go ga 64651 .event start 72 * fix Teldrassil and Stormwind shows, add initShow() debug message, replace magic numbers for fireworkShow sizes - these were broken due to an error in my txt parsing script * add Shattrath show .go c 139914 .event start 72 * add Silvermoon show .go ga 64670 .event start 72 * add Booty Bay show .go ga 64630 .event start 72 * add Thunder Bluff show, add Exodar show, set firework gameobjects active, update comments, remove _maxCount * add Underciy show .go ga 64641 .event start 72 * fix Undercity show indexes * move code from midsummer.cpp to new file firework_show.cpp * add Orgrimmar show .go ga 64647 .event start 72 * add Ironforge show .go ga 64634 .event start 72 * update shows from sniff parses using fixed export script * update 'Party Table, 'Festive Keg' and 'Hay Bale 1' spawns with additional sniffs * update 'Toasting Goblet' spawns with additional sniffs * update 'Festive Mug' spawns with additional sniffs * update 'Fireworks Revelers' spawns with additional sniffs * remove duplicate AND from sql file * attempt moving FireworkShows to the heap * start firework show at the full hour and also handle late starts correctly - also perform a minor cleanup * do not touch gameobject with guid 16586 which is linked to harvest festival * move firework_show.cpp to subfolder firework_show * move firework_show arrays to seperate header files * update show handling, still not final * update for new struct design, Teldrassil show running correctly already * update remaining shows for new firework show structs * rename go_cheer_speaker to go_firework_show * update debug / error messages * update all firework shows for local spawnIndex handling * spawn 'Toasting Goblet's for 10min after show ende * add reveler SAI and make revelers cheer on show end * remove log_error messages * add comment for festive mugs * Update firework_show.cpp * add missing include for uint32 * replace an uint32 with an int * revert unintended changes in midsummer.cpp * add #include "GameObjectScript.h" * remove ThunderBluff Reveler spawns with wandering movement - these probably should have waypoints instead or just got parsed incorrectly - it should be safe to remove these for now and probably investigage this further later on * update function names
2024-04-11feat(Core/Scripts): Optimize PlayerScripts by calling only ↵Anton Popovichenko
overridden/implemented functions. (#18672) * feat(Core/Scripts): Optimize PlayerScripts by calling only overridden/implemented functions. * Fix codestyle. * Fix typo * PLAYERHOOK_END is not a hook * Address code review feedback. Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com> * Codestyle fixes * Fix typo Co-authored-by: PkllonG --------- Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2024-02-01fix(Scripts/Midsummer): Add SpellScript for "Fire Festival Fortitude" (#18246)sudlud
- implement zone wide buff - Blizzard originally used gameobject 181431 'Fire Festival Fury Trap' for this implementation
2024-01-21fix(Scripts/Midsummer): Correct behavior for Striking Back quests. (#18171)Benjamin Jackson
* Init. Make use of spell for summoning Ahune's lieutenants, set up gossip/smart scripts for the cast and lieutenant summon speech, and remove permanent lieutenant spawns. Partially cherry-picked from https://github.com/cmangos/mangos-wotlk/commit/91268f6631e142a0d36e3e4a78ba82e1f84a0206 Co-Authored-By: Xfurry <172444+xfurry@users.noreply.github.com> * Use GUIDs for creature delete, add game_event_creature delete. * Various adjustments. Move comment block, add Desolace stones gossip menu options, add a delete before insert. * Set up conditions. * Add spell cast comments. Sourced from Wrath Classic Wowhead. * Add basic combat SmartAI. * Remove comment block. * Add creature name comments. * Use `id1` in preparatory creature delete. --------- Co-authored-by: Xfurry <172444+xfurry@users.noreply.github.com>
2024-01-14fix(DB/SAI): Move GameObjectScript go_midsummer_bonfire to SAI (#18135)sudlud
2024-01-08fix(Scripts/PilgrimsBounty): Correct text for Turkey Tracker (#18123)daobashun
* closes https://github.com/chromiecraft/chromiecraft/issues/6356
2024-01-01fix(Scripts/Midsummer): Improve Torch Catching based on sniffs (#18071)sudlud
- Update creature 26188 '[PH] Torch Catching Target Bunny' with sniffed values - correctly randomize torch target positions
2023-12-25fix(Scripts/Midsummer): Implement Midsummer Bonfire mechanics (#18023)sudlud
2023-12-08refactor(Scripts/Midsummer): use scheduler provided by CreatureAI (#17955)sudlud
2023-12-02feat(Core/Scripting): move all script objects to separated files (#17860)Winfidonarleyan
* feat(Core/Scripts): move all script objects to separated files * Apply 5bfeabde813d26cf2317e39cffe598a9d1d738ab * try gcc build * again
2023-11-19fix(Scripts/Midsummer): AuraEffectRemoveFn -> AuraEffectApplyFn (#17793)sudlud
2023-11-12Revert Visibility Notifier changes (#17682)Kitzunu
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569)" This reverts commit 79b39f9655111088a741185c4dabd31dae7d85ea. * Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480)" This reverts commit 60e27511c530b0949fee361a89d3eb9d9f9125af. * Revert "fix(Core): GridCleanUpDelay Log (#17436)" This reverts commit 90b16ca065a4881b94438575502c2441f435d53b. * Revert "feat(Core/Grids): Implement visibility notifier (#15919)" This reverts commit 2779833768bbe9967006d6d16888dace05b4bcb6.
2023-11-09fix(Script/Spell): fix AOE circle bug on Midsummer Torch Catching (#17654)Ludwig
* fix(Spells/Midsummer): fix script for spell 46747 SPELL_FLING_TORCH_DUMMY * SpellInfoCorrections: fix target of spell 46747 Fling torch * DB: assign spell 46747 Fling torch to item 34833 Unlit Torches * remove whitespaces at src/server/game/Spells/SpellInfoCorrections.cpp:4610
2023-10-18fix(Scripts/Midsummer): Implement Ribbon Pole dance effects (#17417)Ludwig
* fix(Scripts/Midsummer): Implement Ribbon Pole dance effects * midsummer.cpp: remove whitespaces at end of lines * midsummer.cpp: fix unused parameter error * add spacing after 0.0f * replace Milliseconds(...) by ...ms and Seconds(...) by ...s * cleanup comments * remove manual cleanups / despawns from DoCleanupChecks() - rely on NPC despawn timers - manual cleanup / removal actually is a bit excessive * set INTERVAL_DANCING_FLAMES to 15s * set despawn time to 1min for big dancing flames according to spell 46827 * set spawnDist to 12 for big dancing flames according so spell 46827 * use library function Acore::Containers::RandomShuffle() to shuffle _danclerList * sql: do not set SmartAI for NPC 17066 already using ScriptName and can't have both * combine 3 sql files into 1 * remove INTERVAL_... enum values * remove unnecessary checks of if(_bunny) * sql: fix smartscript comment * rename spell define to correct spell name
2023-10-17fix(DB/Creature): Drunken Brewfest Reveler model (#17494)avarishd
* fix(DB/Creature): Drunken Brewfest Reveler model * clarify enum + farm lines
2023-10-01fix(Scripts/Midsummer): Randomize ribbon pole beam color (#17380)Ludwig
* fix(Scripts/Midsummer): Randomize ribbon pole beam color * Update data/sql/updates/pending_db_world/rev_1695820418952974700.sql Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com> * Add Validate() to spell script spell_midsummer_ribbon_pole --------- Co-authored-by: Dan <83884799+elthehablo@users.noreply.github.com>
2023-09-30refactor(Scripts/Midsummer): Add/Update Validate() for spell checks (#17390)Ludwig
2023-09-29refactor(Scripts/Midsummer): Assign enum values to gameobjects and sp… ↵Ludwig
(#17379) * refactor(Scripts/Midsummer): Assign enum values to gameobjects and spells * rename GO_TORCH_TOSS_TARGET_BUNNY to NPC_TORCH_TOSS_TARGET_BUNNY * add more enum values to enum flingTorch
2023-09-28feat(Core/Grids): Implement visibility notifier (#15919)AG
* Cherry-picked from TrinityCore (unable to find author)
2023-09-26fix(Scripts/Midsummer): Make beam target Ribbon Pole top (#17358)Ludwig
* fix(Scripts/Midsummer): Make beam target Ribbon Pole top progress #12145 * refactor(Scripts/Midsummer): shorten spell_midsummer_ribbon_pole_visual::UpdateTarget
2023-09-24fix(Scripts/Midsummer): Add missing torch shadows (#17323)Ludwig
2023-09-24fix(Scripts/Quest): improve Catch the Wild Wolpertinger! (#17333)Grimgravy
2023-09-23refactor(Scripts/Midsummer): Remove old unused code for spell 45644 (#17324)Ludwig
- spell 45644 used to be linked to spell_midsummer_juggling_torch - spell 45644 was later linked to new implementation spell_midsummer_torch_catch in e1e4c6cddc44971054c61df1a884ac7c795c8b73 - old implementation of spell 45644 was never removed from spell_midsummer_juggling_torch
2023-08-28refactor(Core): remove unused imports (#17094)Francesco Borzì