Commit Graph

2645 Commits

Author SHA1 Message Date
Jelle Meeus
4cdb315db1 fix(Script/SunwellPlateau): duplicate keys instance objects (#21679) 2025-03-09 20:43:47 -03:00
天鹿
5ec85e527a fix(Core/PvP): OutdoorPvPZM - fetch creature spawnId correctly (#21634) 2025-03-09 22:21:34 +01:00
Kitzunu
231096132c refactor(Core/ServerMail): Refactor to Dedicated Manager Class with 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-03-09 09:18:01 +01:00
Jelle Meeus
5c1b4d863c fix(Scripts/SunwellPlateau): Sunblade Scout activate protector (#21629) 2025-03-08 22:43:20 +01:00
Anton Popovichenko
3406cb03b3 fix(Core/Tickets): Fix crash in ticket complete command. (#21665) 2025-03-07 21:52:47 +01:00
p-tkachuk
78a01fd678 fix(Scripts/Ulduar): Fix Kologarn script (#21595)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-04 23:44:57 -03:00
Andrew
c60b294228 fix(Scripts/SunwellPlateau): Fix Felmyst air phase (#21637) 2025-03-02 16:07:43 -03:00
p-tkachuk
3834bac43d fix (Core/Wintergrasp) Change spell used by WG NPCs (#21621)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-01 21:50:13 +01:00
vrachv
0ff1a9756c fix(Core/Spell) Removed Prey on the Weak triggering on dead targets (#21611) 2025-02-25 23:52:23 +01:00
sudlud
9fcd9b3684 fix(scripts/SWP): remove whitespaces to fix codestyle check (#21609) 2025-02-25 20:20:39 +01:00
Razor2142
a2eaa57394 fix(Scripts/Naxxramas): refactored instance script (#21539) 2025-02-25 15:40:42 -03:00
vrachv
b83071388c fix(Scripts/SunwellPlateau) Fix flame touched stacking (#21594) 2025-02-24 11:49:33 -03:00
Andrew
f234f034a1 fix(Scripts/SunwellPlateau): Fix twins respawn (#21598) 2025-02-24 11:48:44 -03:00
Andrew
835283bf26 feat(Core/Scripting): Implement ScheduleEnrageTimer() helper (#21597) 2025-02-24 09:59:18 +01:00
Andrew
8f6d651471 fix(Scripts/SunwellPlateau): Felmyst should cast Noxious Cloud only a… (#21596) 2025-02-24 02:36:22 -03:00
Andrew
d97563be44 fix(Scripts/SilverpineForest): Fix double spawn in Pyrewood Ambush an… (#21584) 2025-02-22 22:38:44 +01:00
Andrew
0e77a7a447 fix(Scripts/OutdoorPvP): Fix Halaa guards not spawning (#21585) 2025-02-22 22:38:07 +01:00
Paul
3fcccf2a2e fix(Core/Spells): Fixed misdirection triggering from mend pet (#21526)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-21 19:50:33 -03:00
Jelle Meeus
4216d196c2 fix(Scripts/ZulAman): scout drum and hard CC interaction (#21281) 2025-02-21 19:43:21 -03:00
Takenbacon
d145b866a5 fix(Core/Maps): Fix instance factions (#21577) 2025-02-21 16:49:39 -03:00
Andrew
609b1b731a fix(Scripts/SunwellPlateau): Fix twin marks not applying from dots (#21415) 2025-02-21 20:26:41 +01:00
Takenbacon
4cd1ed2181 refactor(Core/Server): Improvements to antidos opcode handling (#21502) 2025-02-21 07:17:34 +01:00
Jelle Meeus
4c4b04f07b refactor(Core/Packet): use WorldPackets::WorldState::InitWorldStates definition (#20475)
Co-authored-by: ccrs <ccrs@users.noreply.github.com>
2025-02-19 07:55:09 -03:00
Jelle Meeus
79ba56ed3d fix(Scripts/Spell): Priest shadowfiend attack and Shadowfiend Death proc (#20987)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Grimdhex <176165533+Grimdhex@users.noreply.github.com>
2025-02-19 07:50:44 -03:00
Takenbacon
58d13e69e1 fix(Core/Grids): Standardize grid coordinates (#21479) 2025-02-18 07:16:36 +01:00
iThorgrim
e28384b059 feat(Core/Scripting): Add new hooks for Ticket (#21238) 2025-02-17 03:26:05 +01:00
Jelle Meeus
92ef042f33 fix(Scripts/Spells): Warrior IntimidationShout (#20969) 2025-02-16 23:19:50 +01:00
Jelle Meeus
30f273e593 fix(Scripts/Naxxramas): Add post-Gothik Four Horsemen introduction (#20550) 2025-02-16 23:14:09 +01:00
Exitare
98ceb1c067 fix(Core/PlayerScript) Align player script function names (#21020)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-02-16 14:59:41 +01:00
p-tkachuk
409ad14e14 fix(DB/SAI) Quest Feedin' Da Goolz (12652) (#21264)
Co-authored-by: Hexadecimal <hd@hd.hd>
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-02-16 00:26:27 +01:00
demetrzz
61f04f69db fix(Scripts/Naxxramas): Maexxna's Outer Web Door (#21445)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-15 22:29:57 +01:00
Jelle Meeus
a05833eeed fix(Core/Common): Container fixes use after free (#21460) 2025-02-15 22:22:30 +01:00
Jelle Meeus
fae07daa4c fix(Scripts/Outland): LoadMinionData buffer overflow (#21461) 2025-02-15 14:08:49 +01:00
demetrzz
fe206c7138 fix(Scripts/Spells): Corrected shaman 8/8 T2 set bonus damage proc (#21432)
Co-authored-by: pavel_k <pavel_k@mail.com>
2025-02-15 12:02:27 +01:00
Takenbacon
ee69a569c4 fix(Core/Grids): Grid improvements (#20955) 2025-02-14 22:11:27 +01:00
Jelle Meeus
3854d00dee fix(Scripts/ShadowmoonValley): Illidan buffer overflow (#21442) 2025-02-14 11:31:21 +01:00
Jelle Meeus
9412c1eb3a fix(Scripts/BlackTemple): Illidan buffer overflow (#21441) 2025-02-14 11:31:14 +01:00
Anton Popovichenko
db9b4cf0c6 fix(Scripts/ICC): Fix crash in npc_darnavan when killer is nil. (#21438) 2025-02-14 05:54:45 +01:00
Andrew
0db39f76de fix(Core/Creature): Creatures should skip confused targets (#21410) 2025-02-13 13:22:02 -03:00
Andrew
98a8a1306a fix(Scripts/SunwellPlateau): Fix Felmyst death event (#21425) 2025-02-13 11:38:47 +01:00
Andrew
f9415f38cb fix(Scripts/Naxxramas): Update Faerlina script (#21375) 2025-02-13 05:04:36 -03:00
Takenbacon
edcfaeb845 refactor(Core/World): Create WorldSessionMgr to split session logic out of World (#21400) 2025-02-13 07:04:38 +01:00
Andrew
0f0b341d9d fix(Scripts/SunwellPlateau): Fix Brutallus burn timer (#21423) 2025-02-13 00:05:32 +01:00
Anton Popovichenko
47c524581b fix(Core/Scripts): Fix buffer-overflow errors in scripts. (#21419) 2025-02-12 16:34:56 -03:00
Andrew
b17d69b33c feat(Core/Unit): Add SpellSchoolMask info to the DamageDealt() hook (#21411) 2025-02-12 12:16:02 +01:00
Anton Popovichenko
f6a0433297 feat(Core/Arena): Add support for arena seasons completion with progression in runtime. (#19858)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2025-02-12 07:09:31 -03:00
Andrew
c070e4bddf fix(Scripts/SunwellPlateau): Don't replay Felmyst intro after wipes (#21398)
Felmyst into no longer relays after a wipe.
2025-02-11 12:30:34 +00:00
Kitzunu
787b4e4efe fix(CI/Codestyle): correct double semicolon check (#21388) 2025-02-10 20:24:28 +01:00
Andrew
91cd42ef91 fix(Scripts/SunwellPlateau): Clear basic events on death (#21374) 2025-02-10 09:28:19 +01:00
Andrew
4b79a09e91 fix(Scripts/SunwellPlateau): Prevent Sathrovarr summon event from dou… (#21376) 2025-02-10 09:23:33 +01:00