summaryrefslogtreecommitdiff
path: root/src/server/scripts/World
AgeCommit message (Collapse)Author
4 daysrefactor(Core/Creature): port TC handling of Trainers (#23040)sogladev
Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Ghaster <defscam@gmail.com>
11 daysfix(Scripts/NPC): Add Crossfaction functionality to Traveler Tundra's ↵Gultask
Mammoth vendors (#24142) Co-authored-by: sogladev <sogladev@gmail.com>
2025-12-19fix(DB/SAI): Rework quest The Lost Mistwhisper Treasure. (#24158)Rocco Silipo
2025-12-18fix(Scripts/Achievement): Add OR condition to criteria check for achievement ↵Gultask
Fa-la-la-la-Ogri'la (#24155)
2025-11-29fix(Core/Unit): fix AoE aggro and contested guard attack logic (#23935)sogladev
2025-11-14fix(docs/license): use GPLv2 as MaNGOS-based project (#23655)Francesco Borzì
2025-11-12refactor(Core/PlayerScript): Delete OnPlayerChat, use OnPlayerCanUseChat ↵天鹭
(#23617)
2025-11-11fix(Scripts/AreaTrigger): players become stuck after Last Rites (#23613)sogladev
2025-10-14fix(Core/Unit): rework Walk/Run mode (#22988)killerwife
Co-authored-by: sudlud <sudlud@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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-10-11fix(DB/SAI): Move Rizzle Sprysprocket event to smartscript. (#23167)Rocco Silipo
2025-09-29fix(Core/Weather): Improve weather system thread safety (#22772)Takenbacon
Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-11fix(DB/SmartAI): Zul'Drak Voltarus teleporters sometimes do not work (#22878)Jelle Meeus
2025-09-06fix(DB/Creature): Necrotic Shard is sometimes regenerating health (#22812)Jelle Meeus
2025-09-03fix(Scripts/WorldState): zone invasion marks self as defeated when ti… ↵Jelle Meeus
(#22787) Co-authored-by: Killerwife <killerwife@gmail.com>
2025-09-01fix(Scripts/World): Swap Shard communication spell to direct cast instead of ↵Benjamin Jackson
AoE. (#22764)
2025-08-28fix(Scripts/SI): crash fix (#22744)Andrew
2025-08-27fix(DB/SmartAI): port Shadow of Doom script to SmartAI (#22735)Jelle Meeus
2025-08-09feat(Core/Grids): Remove WorldObject separation in grid containers (#22595)Takenbacon
2025-08-07feat(Core/Visibility): Visibility improvements part 1 (#22624)Takenbacon
2025-07-13fix(Scripts/World): fix windows/mac build (#22465)Jelle Meeus
2025-07-12feat(Core/WorldState): init Scourge Invasion pre-wrath event (#22286)Jelle Meeus
Co-authored-by: Orozxy <crusadermeile@gmail.com> Co-authored-by: Killerwife <killerwife@gmail.com> Co-authored-by: Ryan Turner <AugustoMendes4426@gmail.com>
2025-06-05chore(Core): Remove unused and inaccurate comment headers for various ↵Benjamin Jackson
script-related files. (#22263)
2025-05-10fix(Scripts): Use distinct sound entry for BRD L70ETC Music Doodad. (#22029)Benjamin Jackson
2025-05-09refactor(Core): Add definition file for area table entries. (#22054)Benjamin Jackson
2025-05-09refactor(Core/World): Move various worldstate related functions to ↵Benjamin Jackson
worldstate class. (#22086)
2025-04-26refactor(Core/WorldState): Initial addition of world state definition file. ↵Benjamin Jackson
(#21875) Many world states had their enums from script's header and hardcoded values to their respective header file (WorldStateDefines.h) Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-04-19fix(Scripts/Noblegarden): fix bunny transformation on egg looting (#21957)sudlud
2025-03-09refactor(Core/ServerMail): Refactor to Dedicated Manager Class with ↵Kitzunu
Multi-Item & Condition Support (#21590) 1. Core Cleanup - Move all ServerMail logic from `ObjectMgr` into a new dedicated `ServerMailMgr` class - Move faction logic for money from SendServerMail into the script 2. Separation of items into a new table - Create a new `mail_server_template_items` table - Allows to send multiple items in one mail - Separate items per faction Alliance/Horde 3. Separation of conditions into a new table - Create a new `mail_server_template_conditions` table - Allows to use multiple conditions for one mail - Available condition types - Minimum playtime (playerLevel >= condition) - Minimum playtime (playerPlayTime >= condition) - Rewarded quest - Earned achievement - Earned reputation (playerReputation >= conditionState) - Faction - Race - Class 4. Updated ServerMail loading - Move item and condition loading to their own functions - LoadMailServerTemplateItems() - LoadMailServerTemplateConditions() 5. Reworked eligibility check - Player needs to pass all conditions to be eligible for the mail - All players are automatically eligible if no conditions exist for a server mail template. 6. Updated foreign keys - For table `mail_server_character`, `mail_server_template_conditions`, `mail_server_template_items` foreign key with on delete cascade is added for automatic removal of entries if mail_server_template.id is deleted. 7. Database changes - See the PR
2025-02-16fix(Core/PlayerScript) Align player script function names (#21020)Exitare
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-01-31feat(Core/WorldState): implement Battle for Sun's Reach Event (#21219)Jelle Meeus
Co-authored-by: killerwife <killerwife@gmail.com> Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com> Co-authored-by: MantisLord <sabinprosper@gmail.com>
2024-12-26feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040)Kitzunu
2024-11-12feat(Core/WorldState): improved WorldState scripting (#20141)Jelle Meeus
* implement world state script based on https://github.com/cmangos/mangos-wotlk/commit/0b87ca9d9edf2d4752a3c0f8e9cf85c6689ca861 Co-authored-by: killerwife <killerwife@gmail.com> * refactor to use onleave and onenter instead of spell_area allows players to right click remove adal's buff * add MapMgr.h * refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed * remove lock from WorldState::Update sWorldState->Update() is only called from World::Update * remove unsafe SmartAI action of setWorldState --------- Co-authored-by: killerwife <killerwife@gmail.com>
2024-10-31refactor(src/common|server): remove unused import (big part 1) (#20377)Francesco Borzì
* refactor(src/common|server): remove unused import (big part 1) * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: attempt to fix damn linkin error
2024-10-27refactor(src/server/game/*): remove unused imports (big part 1) (#20310)Francesco Borzì
2024-09-29refactor(Scripts): remove unused imports (#20086)Francesco Borzì
2024-09-21chore(Core/Misc): Some cleanup (#19970)Kitzunu
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
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-08-13fix(Scripts): Rewrite Level 70 Elite Tauren Chieftain. (#19546)Benjamin Jackson
* Init. * Despawn music doodad. * Add conditions behind events invoking performances. * Update music doodad intervals. 55639. * Add condition for BRD performance. Ensures that manual performance and event performance do not overlap. * Add scripting for Shattrath Saul. * Add scripts for Silvermoon band members. All verified in Cata Classic 55639. * Whoops. * Styling, initial Blastbolt scripting. I don't know how to handle the roadies yet. Ugh. * Whoops. * Bad event param. * Remove drumset respawn from action list. * Update Shattrath Saul's Perry Gatner scripting. * Ugh. Hate SAI.
2024-08-10refactor(Core/Chat): Move SendNotification to ChatHander (#19491)Kitzunu
* refactor(Core/Chat): Move SendNotification to ChatHander * Update Battleground.cpp * fix build * Update src/server/game/Chat/Chat.h
2024-07-22refactor(Scripts/misc): remove unused imports (#19458)Francesco Borzì
2024-07-19fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper ↵Kitzunu
(#19441) * fix(Scripts/ChatLogger): Differentiate addon whisper from player whisper * closes https://github.com/azerothcore/azerothcore-wotlk/issues/19439 * closes https://github.com/azerothcore/azerothcore-wotlk/issues/17570 * fix build
2024-07-18fix(Scripts/ChatLog): Whoopsies (#19430)Kitzunu
2024-07-18chore(Scripts/ChatLog): Cleanup the code (#19411)Kitzunu
* chore(Scripts/ChatLog): Cleanup the code * Update chat_log.cpp * remove more redundant code
2024-07-17fix(Script/Quest): Protecting Our Own (#19247)avarishd
* fix(Core/Spells): Gor'drek's Ointment * Update spell_item.cpp * ;
2024-07-17chore(Scripts/ServerMail): Cleanup the code (#19412)Kitzunu
* chore(Scripts/ServerMail): Cleanup the code * try to fix build error * okay we resort to the AIs