Commit Graph
14 Commits
Author SHA1 Message Date
Axel Cocat cd3cccc961 feat(Core/Scripting): Add OnPlayerBeforeGetLevelForXPGain hook (#25295) 2026-04-24 08:17:31 +02:00
2f7f9bd72f fix(Core/Spells): Implement TrinityCore spell_group and spell_group_stack_rules (#23346)
Co-authored-by: treeston <[email protected]>
Co-authored-by: Trisjdc <[email protected]>
Co-authored-by: QAston <none@none>
Co-authored-by: ariel- <[email protected]>
Co-authored-by: Shauren <[email protected]>
Co-authored-by: Jelle Meeus <[email protected]>
2025-11-28 16:01:25 -03:00
Francesco Borzì 50b36e842a fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
Exitareandsudlud 98ceb1c067 fix(Core/PlayerScript) Align player script function names (#21020)
Co-authored-by: sudlud <[email protected]>
2025-02-16 14:59:41 +01:00
1edac37ac3 refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <[email protected]>

* 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 <[email protected]>
Co-Authored-By: Ovahlord <[email protected]>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
Co-authored-by: Ovahlord <[email protected]>
2024-09-03 14:41:31 -03:00
Grimdhex 643362d697 refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
AnchyDev 1d8c4056b3 feat(Core/Hooks): Add the KillRewarder reference to the OnRewardKillRewarder hook. (#18290)
* Another hackfix attempt at warden payload forcechecks ban fix.

* Revert last commit, interrupt all forcechecks instead of just _dataSent ones.

* Add rewarder parameter to OnRewardKillRewarder hook.

* Undo old warden changes.

* Removed too much!
2024-02-10 21:58:49 +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
Tereneckla 718b0000ba fix(Core/Reputation): remove reputation splitting for being partied (#16660)
remove rate for party
2023-07-02 15:02:14 -03:00
AnchyDev 444793346d feat(Core/Hooks): Add parameter to detect XP origin for OnGiveXP hook. (#16109)
Added enum parameter to detect where XP originated from.
2023-05-05 22:39:36 -03:00
Kitzunu 4870b14b1f refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel()

* fix build and sneak some doxygen in

* codeSTLE

* codestyle
2022-12-31 17:39:23 +01:00
Kargatum f62664c987 refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
KargatumandFrancesco Borzì 52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <[email protected]>
2021-09-30 13:40:52 +07:00
Francesco Borzì 439a9403ac fix: forgot to push addition to previous commit (#6836) 2021-07-08 23:38:25 +02:00