Axel Cocat
cd3cccc961
feat(Core/Scripting): Add OnPlayerBeforeGetLevelForXPGain hook ( #25295 )
2026-04-24 08:17:31 +02:00
sogladev
117095f1cb
feat(Core/Scripting): OnPlayerResurrect allow changing of applySickness ( #25353 )
2026-04-15 08:03:56 -03:00
Axel Cocat
0246faa95a
feat(Core/Scripting): Add OnPlayerLearnTaxiNode hook ( #25288 )
2026-03-29 01:20:27 +01:00
EElenov
601a4231f6
feat(Core/Player): Add 'OnPlayerCanLearnTalent' hook ( #24826 )
2026-03-17 20:30:57 +01:00
Benjamin Jackson
1e47f701ac
feat(Core/Player): Add hooks for reputation price discount calculation. ( #24666 )
2026-02-15 23:44:44 +01:00
Benjamin Jackson
d025568b65
fix(Core/Entities): Use lifetime PvP rank rather than current title for PvP credit message. ( #23961 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2025-12-27 00:45:33 +01:00
Munzeria
ae8dd49fd4
feat(Core/PlayerScript): Add Unequip hook ( #23248 )
...
Co-authored-by: Munzeria <Munzeria@dontemailme.lol >
Co-authored-by: sudlud <sudlud@users.noreply.github.com >
2025-12-27 00:09:56 +01:00
Francesco Borzì
50b36e842a
fix(docs/license): use GPLv2 as MaNGOS-based project ( #23655 )
2025-11-14 08:44:25 -03:00
天鹭
50f8f145d2
refactor(Core/PlayerScript): Delete OnPlayerChat, use OnPlayerCanUseChat ( #23617 )
2025-11-12 10:13:26 +01:00
Quartzi
0fc05ed4d2
feat(Core/Scripting): Add OnPlayerGiveReputation script hook ( #21869 )
2025-08-27 04:32:02 -03:00
Vincent Vanclef
dd42f7a673
feat(Core/Entities): Add OnPlayerSendListInventory script hook ( #21676 )
2025-03-11 15:01:55 +01:00
Vincent Vanclef
ffe03f6e14
feat(Core/Entities): add OnPlayerCanGiveLevel script hook ( #21666 )
2025-03-10 08:44:33 +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
iThorgrim
971ebcae31
feat(Core/Scripting): Add Player skill based hook ( #21273 )
...
Co-authored-by: IntelligentQuantum <IntelligentQuantum@ProtonMail.Com >
Co-authored-by: Ludwig <sudlud@users.noreply.github.com >
2025-02-15 23:10:38 +01:00
iThorgrim
c53112d820
Feat(Core/Scripting): Add new hook CanPlayerResurrect to simplify HardCore mod etc. ( #21272 )
2025-02-03 18:28:19 +01:00
silviu20092
87fbdb7967
feat(Core/Scripting): Add hook for applying weapon damage ( #20350 )
...
Add hook for applying weapon damage
2024-11-14 05:35:26 -03:00
Francesco Borzì
1ebb53a248
refactor(src/server/apps|database|shared): remove unused imports ( #19505 )
2024-09-29 13:10:50 -03:00
Stefano Borzì
d17c179c03
chore: remove unused hooks ( #19919 )
2024-09-11 11:50:59 -03:00
ianmeesters
a83cd03bfb
feat(Core/Player): add OnCalculateTalentsPoints hook ( #19749 )
...
* playerTalentsHook
* oeps :#
* :#
* does this work?
* make reference
---------
Co-authored-by: Amy Fang <amy@cavemail.ddns.net >
2024-08-30 09:06:07 -03:00
silviu20092
3988e9581d
feat(core): add hooks for applying item mods ( #18760 )
2024-05-18 10:02:57 +02:00
天鹿
97fc546c4b
refactor(Core/Scripts): Optimize Script ( #18708 )
...
* Add files via upload
* Update PlayerScript.h
2024-04-12 10:50:44 -03:00
Anton Popovichenko
f792b0d708
feat(Core/Scripts): Optimize PlayerScripts by calling only 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-04-11 17:08:30 -03:00
Elmsroth
b1cf830009
chore(PlayerScript/Hook) : Add CanSetTradeItem Hook in PlayerScript ( #18583 )
...
* chore(PlayerScript/Hook) : Add CanSetTradeItem Hook in PlayerScript
* Allowing non traded slots
* Fix typo and codestyle
2024-03-26 21:28: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
Nathan Handley
df33a57b78
feat(Core/Unit): New helper IsClass and script hook OnPlayerIsClass ( #18243 )
...
* Class Comparison Logic Encapsulation - Parity
* Add Context to IsClass
* Add Unit IsClass script hook
* Replace additional getClass with IsClass
* Update CanUseItem to replace getClass with IsClass
* Add separate context for pet vs ability
* Change Create to Init since not all referenced contexts are creation
* Align spacing in ClassContext
* Drop context on LFGManager max power
* Update IsClass context that wraps around Missle Barrage
* Rename context for swapping weapons
* Be more specific than CLASS_CONTEXT_TALENT
* Remove duplicate context
* Moved IsClass Hook to Player
* Removed unused parameter in virtual base function
* Added maybe_unused to IsClass virtual in order to compile
To match the override signature, the virtual base needs to include the parameter in question, so using [maybe_unused] to signal to the compiler to allow it
* Remove extra blank line
* Add ABILITY_REACTIVE context
* Add context for PET_CHARM
* Remove explicit nullopt check per review
* Code Readability - Change if to if else in pet
Due to the return pattern, this doesn't change functionality in any way
* Add OnPlayer to disambiguate
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-02-10 12:25:00 -03:00
Nathan Handley
425a490a7b
feat(Core/Unit): New helper HasActivePowerType and script hook OnPlayerHasActivePowerType ( #18293 )
...
* Create HasActivePower for script intercept
* Replace relevant player-related getPowerType() comparators with HasActivePowerType
* Change OnPlayerHasActivePowerType to regular bool instead of optional
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-02-09 06:27:02 -03:00
Nathan Handley
4321b8a4de
feat(Core/Scripting): Implement new hook OnBeforePlayerLogout() ( #18163 )
...
* new hook OnPlayerPreLogout
* Changed PreLogout to BeforeLogout per review
* Renamed OnPlayerBeforeLogout to OnBeforePlayerLogout per review
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com >
2024-01-14 00:10:49 +01:00
avarishd
f476c8a6c9
feat(Core/Hooks): Add OnPlayerJustDied hook ( #17973 )
...
feat(Core/Hooks): Add OnPlayerJustDied
2023-12-10 19:06:23 -03:00
Tristan 'Natrist' Cormier
ac676f87ab
chore(Core/Player): remove unused AnticheatSetSkipOnePacketForASH() function ( #17947 )
2023-12-09 01:09:52 +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