Commit Graph

73 Commits

Author SHA1 Message Date
blinkysc 757f6127ab fix(Core/Tests): Add missing GetDataPath mock to combat tests (#25198)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-22 23:55:41 -05:00
sogladev a90570a2de fix(Core/Spell): spell immunity system and new separate immunities table (#24956)
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Keader <keader.android@gmail.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2026-03-22 19:36:35 -03:00
blinkysc 984baa92dd refactor(Core/Combat): Port TrinityCore heap-based threat system (#24715)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 13:36:59 -05:00
blinkysc 10b4f04c44 fix(Core/Events): Fix multi-stage holiday events ending early on restart (#25032)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2026-03-10 20:47:17 -03:00
blinkysc b4d5231843 fix(Core/Spells): restore binary spell detection for CC resist via spell resistance (#25016)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-09 13:35:39 -05:00
blinkysc f66685c374 fix(Core/Spells): Fix Arcane Potency consumed by same cast that triggered it (#24997)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2026-03-09 13:32:50 -05:00
sogladev 06c0c6b655 fix(Core/Spells): apply SPELLFAMILY_GENERIC mods to spells by default (#24996)
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2026-03-08 12:44:29 -05:00
blinkysc 7fe5800745 fix(Core/Combat): Prevent burst melee attacks from attack timer debt (#24858)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-08 14:30:48 -03:00
blinkysc cccd52dab8 fix(Core/Spells): revert CAST proc ordering and add ApplySpellMod recursion guard (#24990)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-03 16:45:06 -06:00
blinkysc 1fc4781306 fix(Core/Spells): Fully absorbed periodic damage should not break stealth (#24975)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
2026-03-02 19:57:45 -06:00
blinkysc 361595e6c2 fix(Core/Spells): Add proc chain guard and TAKEN auto-trigger logic (#24966)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2026-03-02 13:19:29 -06:00
blinkysc dd6f32d54d fix(Core/Spells): Port SPELL_ATTR3_INSTANT_TARGET_PROCS cascade proc suppression from TrinityCore (#24936)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: QAston <126822+QAston@users.noreply.github.com>
2026-03-02 06:34:59 -06:00
blinkysc eae14a58b3 fix(Core/Spells): Fix proc phase ordering CAST before HIT for instant spells (#24942)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Shauren <297439+Shauren@users.noreply.github.com>
2026-02-28 15:27:05 -06:00
Andrew b14cdea7d2 feat(Core/LFG): Implement dungeon selection cooldown to prevent repeat assignme… (#24916)
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-27 23:55:45 -03:00
blinkysc 25ff0c9ef4 fix(Core/Spells): Exempt kill/death events from triggered-spell proc filter (#24859)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-24 19:15:16 -06:00
blinkysc 4277ac0b26 fix(Core/Spells): Fix Rapid Recuperation, Rapid Killing, and auto-generate PROC_ATTR_REQ_SPELLMOD (#24830)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-23 12:37:37 -06:00
blinkysc 2990f13840 fix(Core/Spells): Prevent extra attack abilities from chain-proccing (#24806)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: trickerer <onlysuffering@gmail.com>
2026-02-22 11:27:54 -06:00
blinkysc 052c36224a fix(Core/Spells): Port HandleBreakableCCAuraProc from TrinityCore (#24793)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: joschiwald <joschiwald.trinity@gmail.com>
Co-authored-by: sogladev <sogladev@gmail.com>
2026-02-21 19:01:10 -03:00
blinkysc 47568e42c5 fix(Core/Spells): fix FINISH phase proc targeting for triggered spells (#24757)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Mykhailo Redko <ovitnez@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 12:58:46 -06:00
blinkysc 96b51b1dd4 fix(Core/Spells): fix DoEffectCalcAmount receiving amount without spell power (#24759)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
2026-02-19 12:58:32 -06:00
blinkysc ab29745d6a fix(Core/Spells): fix PPM proc chance calculation for healing spells (#24761)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-19 12:58:17 -06:00
blinkysc 4599f26ae9 refactor(Core/Spells): QAston proc system (#24233)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: QAston <qaston@gmail.com>
Co-authored-by: joschiwald <joschiwald@online.de>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: blinkysc <your-github-email@example.com>
Co-authored-by: Tereneckla <Tereneckla@users.noreply.github.com>
Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
2026-02-18 08:31:53 -03:00
blinkysc 2ed3d0bc21 fix(Core/Arena): Fix inverted OnBeforeArenaTeamMemberUpdate hook (#24734)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-16 12:27:23 -03:00
blinkysc 686aafd57b feat(Core/Hooks) Adds hooks for BG and Arena systems. (#23543) 2026-02-16 00:45:03 -03:00
blinkysc ce74c0b19c feat(Core/Scripts): Add gameobject_summon_groups with quaternion rotation support (#24708)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-15 15:05:00 -06:00
blinkysc 7fc57744d9 fix(Scripts/Commands): Re-spawn pool quests after reload quest starters (#24696)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-02-13 05:42:13 -03:00
blinkysc fc36f1b68c fix(Core/Events): set Brewfest to static date Sept 20 (#24342)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-01-07 17:25:28 +01:00
blinkysc c1d753f4ef feat(Core/Events): Add dynamic holiday date calculator (#24038)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-02 21:35:23 +01:00
Francesco Borzì 50b36e842a fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
Yehonal 1736b7501f refactor(Player): replace visibility detection calls with dedicated methods (#23025) 2025-09-27 16:07:03 +02:00
Yehonal b950c610d4 feat(bash): test command in dashboard + fix tests (#23030)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-27 13:36:14 +02:00
Takenbacon fd262c3ab1 feat(Core/Config): Improvements to config caching (#21647) 2025-06-30 17:14:12 +02:00
Patrick Müssig f89a8e0b81 fix(UnitTest): fixes unit tests not compiling under windows (#21299) 2025-02-17 06:17:51 +01:00
Takenbacon edcfaeb845 refactor(Core/World): Create WorldSessionMgr to split session logic out of World (#21400) 2025-02-13 07:04:38 +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
Kitzunu 9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Kitzunu bb7765d91e refactor(Core/World): Move SendGMText to ChatHandler and allow fmt (#19490)
* refactor(Core/World): Move SendGMText to WorldSession and allow `fmt`

- Move SendGMText from World to WorldSession

- Make SendGMText use fmt

- Make SendGMText parse acore_string entries

* Update cs_message.cpp

* tokenize the string only once

* Move to chathandler

* Update WorldSession.cpp

* make sure we have a session
2024-08-08 20:12:33 -03:00
Francesco Borzì 02a05fbd4c refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports

* fix: build

* chore: fix build

* chore: size_t -> std::size_t

* chore: fix fuckup from previous commit

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build with std::size_t

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build

* chore: fix build
2024-07-30 20:06:46 -03:00
Kitzunu 87f4adf634 refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and … (#19501)
* refactor(Core/Chat): Move SendWorldText(optional) to ChatHandler and allow `fmt`

* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp

* Update src/server/game/Battlegrounds/BattlegroundQueue.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp

* Update src/server/game/Misc/BanMgr.cpp
2024-07-29 14:44:13 -03:00
Kitzunu 21f86d1c3c chore(Core/Misc): Remove deprecated code (#19413)
* Config - Deprecated for 3 years
* ChatCommand - Deprecated for 2 years
* getLevel() - Deprecated for 2 years
* SendGlobalText - Deprecated for 8 years +
2024-07-20 09:11:01 +03:30
Andrew e3fd42f3d4 feat(Core/World): Implement DoForAllPlayers() helper for all online p… (#18060)
* feat(Core/World): Implement DoForAllPlayers() helper for all online players

* Update src/server/game/World/World.cpp

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>

* Update src/server/game/World/World.cpp

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>

* rename

* Update WorldMock.h

* Update WorldMock.h

---------

Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2024-01-01 13:57:57 +01:00
Winfidonarleyan eb1ecc38a5 feat(Core/Scripting): move all script objects to separated files (#17860)
* feat(Core/Scripts): move all script objects to separated files

* Apply 5bfeabde81

* try gcc build

* again
2023-12-02 21:13:20 +01:00
Winfidonarleyan e90d7a2f92 chore(Core/Misc): sort includes (#17776)
* chore(Cleanup): sort includes

* fix build

* fix build again
2023-11-18 17:51:26 +01:00
Kitzunu 39ec7464ef fix(build): macOS (#17007)
* fix(build): macOS

* Revert "fix(build): macOS"

This reverts commit 612c41e41b2aea55069c0cfaf751c3ba7205e52f.

* Update Config.cpp
2023-08-14 23:38:30 +02:00
Anton Popovichenko d69ee90ed3 feat(Core/Config): Implement config override with env vars (#16817)
* Core/Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.

Usage example:

$ export TC_DATA_DIR=/usr
$ AC_WORLD_SERVER_PORT=8080 ./worldserver

* Add tests for env vars config
2023-08-14 22:07:43 +02:00
Kitzunu c866e17406 refactor(Core/Motd): Move motd to MotdMgr (#16933) 2023-08-06 23:02:54 +02:00
Kitzunu 99f5fa79aa refactor(Core/Autobroadcast): Move autobroadcast to it's own file (#15147) 2023-02-21 20:18:25 +01:00
Kitzunu 0c4feb6744 refactor(Core/Motd): Move motd from conf to db (#15111) 2023-02-20 22:07:26 +01:00
Kitzunu f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
Kitzunu 026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00