Commit Graph

43 Commits

Author SHA1 Message Date
Žan Skamljič
ee3ab6fe2a chore(Core/ScriptMgr): Add Hooks for profession skill gains (#16526) 2023-06-19 16:12:20 -03:00
Walter Pagani
c676a82837 chore(Core/ScriptMgr):Add Hook OnBeforeFillQuestLootItem (#16509)
* chore(Core/ScriptMgr):Add Hook OnBeforeLootItem

* Change name. Credit Anchy
2023-06-13 08:10:35 -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
ZhengPeiRu21
5af67b384b feat: Add CanPlaceAuctionBid hook (#15154)
* feat: Add CanPlaceAuctionBid hook

* Codestyle fix
2023-04-17 21:06:04 -03:00
Kitzunu
f039836a2f chore(Core/Misc): Change all TODO to doxygen comment (#14966) 2023-02-12 10:05:34 -03:00
55Honey
a1fb48391b feat(Core/Scripting): Implement OnBeforeSetBossState (#14891) 2023-02-07 13:15:17 -03:00
UltraNix
b1bc1c24e4 feat(Core/Scripting): Added new hook: OnInstanceIdRemoved. (#14670)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com>
2023-02-04 19:56:20 -03:00
Skjalf
a73d4173df feat(Core/Scripting): Pass SpellInfo through the ModifyPeriodicDamage… (#14360)
feat(Core/Scripting): Pass SpellInfo through the ModifyPeriodicDamageAurasTick() hook
2022-12-24 11:38:21 -03:00
ZhengPeiRu21
7990de44c1 fix(Core): Correct Quest Details Display at Max Level (#13046)
* fix(Core): Quest Details Display at Max Level

* Add OnSetMaxLevel hook
2022-12-20 12:14:53 +01:00
Skjalf
6177ce4688 feat(Core/Scripting): Create OnStoreNewItem() hook (#13725) 2022-11-07 00:26:47 -03:00
Skjalf
8b7fb759c2 feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the … (#13707)
feat(Core/Scripting): Expand ModifySpellDamageTaken() to include the spell data
2022-11-05 12:39:58 -03:00
Skjalf
ef8d7f4ed9 feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts (#13658)
* feat(Core/Scripting): Implement OnAuraApply() hook for unitscripts

* fix build

* Update ScriptMgr.h
2022-11-02 22:34:52 -03:00
Skjalf
ab3548e2e4 feat(Core/Scripting): Expand ModifyHealReceived() to also include hea… (#13655)
feat(Core/Scripting): Expand ModifyHealReceived() to also include healing over time
2022-11-02 19:19:17 -03:00
DavuKnight
d8598c764e feat(core): OnFfaPvpStateUpdate Event (#13023)
* Event for Notification when the Player enters into or Leaves Ffa

* Bug and Formatting Fixes
2022-09-21 08:33:28 -04:00
ZhengPeiRu21
7a137767fa feat(Core): OnBeforeLootMoney hook (#13030) 2022-09-21 08:28:19 -04:00
ZhengPeiRu21
d9390e34b4 fix(Core): CanAccountCreateCharacter hook parameters (#13060) 2022-09-21 07:42:56 -04:00
ZhengPeiRu21
7dc598f364 feat(Core): CanAccountCreateCharacter hook (#13020) 2022-09-19 00:58:18 -03:00
ZhengPeiRu21
25f88caa42 fix(Core): Correct Post 3.1 Fishing Skill Leveling (#12996) 2022-09-18 22:09:47 -03:00
AnchyDev
9b6a3ee4f9 feat(Scripting/Hooks): Add OnBeforeOpenItem Hook (#12576) 2022-09-06 19:43:32 -03:00
ZhengPeiRu21
80e6a6d781 feat(Core): OnBeforeChooseGraveyard Hook (#12860) 2022-09-06 15:47:37 -03:00
AnchyDev
dcbf224392 feat(Core): Add OnGroupRollRewardItem hook. (#12538)
Added OnGroupRollRewardItem hook.
2022-07-26 21:08:41 -03:00
Skjalf
9920e01b2b feat(Core/Scripting): Add several UnitHooks (#12365) 2022-07-11 14:57:38 -03:00
Axel Cocat
aa89f6c3a6 feat(Core): add OnDisplayId hook (#12320) 2022-07-11 09:11:26 -03:00
Skjalf
32ba21d029 feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook (#12316)
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook

* reverse logic
2022-07-09 00:10:04 -03:00
Tralenor
6cf82e3bd6 feat(Core/DB): Add Hooks On creature/game object save to db (#11246)
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks

* fix Whitespaces in ScriptMgr.h

Co-authored-by: Timothée Moos <t1997.m@gmx.net>
2022-05-06 00:42:49 -03:00
ZhengPeiRu21
44b7a0666c feat(Scripting/Hooks): implement OnQuestComputeXP() hook (#10934) 2022-03-24 10:27:15 +01:00
Kargatum
78bdc89881 feat(Core/Battleground): rework bg queue system (#10817) 2022-03-15 14:36:49 -03:00
Skjalf
57b9b296d8 feat(Scripting/Hooks): Implement OnGameEventCheck() hook (#10761) 2022-02-20 17:39:08 -03:00
Kitzunu
455899dc75 fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
Nefertumm
db09b11524 refactor(Core/Hook): OnPlayerReputationChange (#10471) 2022-02-02 13:05:47 -03:00
Skjalf
4c5aceedbd feat(Core/Scripting): Implement OnLoadSpellCustomAttr global hook (#10469) 2022-01-31 18:03:42 -03:00
Skjalf
4df8b23c5f fix(Core/Scripting): Fix healing reduction abilities not applying cor… (#10435) 2022-01-31 00:56:40 -03:00
Skjalf
22ec66566c feat(Core/Scripting): Implement OnSpellHealingBonusTakenNegativeModifiers hook (#10318) 2022-01-23 17:56:41 -03:00
Kargatum
f4b0f58701 feat(Core/ScriptMgr): add new hook OnAfterUnloadAllMaps (#10279)
* feat(Core/ScriptMgr): add new hook

* add desc

* Update src/server/game/Scripting/ScriptDefines/WorldScript.cpp
2022-01-21 08:21:00 -03:00
Kargatum
259b9133f6 feat(Core/Common): add new helpers for time utility (#10207) 2022-01-19 12:01:59 +07:00
Skjalf
a5a66207c4 feat(Core/Scripting): OnBuildValuesUpdate hook (#9961) 2022-01-01 23:37:04 -03:00
Skjalf
b97cf91a15 fix(Core/Scripting): fix a loop in the affected mod spell hook (#9948) 2021-12-31 12:03:39 -05:00
Skjalf
24ab99919a feat(Core/Scripting): Implement OnIsAffectedBySpellModCheck hook (#9903) 2021-12-30 17:39:13 -03:00
IntelligentQuantum
838c88f45a refactor(Scripts/Commands): convert cs_misc to new system (#8939) 2021-12-21 19:32:21 +07:00
Francesco Borzì
cbc7e5466a refactor(Core): remove unused imports (#9767) 2021-12-19 19:41:14 +01:00
Skjalf
8490893647 fix(Core/Scripts): Fix QuestRewarded hook (#9717) 2021-12-15 04:10:38 -03:00
Skjalf
19a3caa5eb fix(Core/Scripts): Fix bool script hooks not executing code (#9699)
* fix(Core/Scripts): Fix bool script hooks not executing code

* warnings
2021-12-14 19:53:46 -03:00
Kargatum
fad214efe0 feat(Core/ScriptMgr): replace macro and cleanup (#9598) 2021-12-10 15:05:28 -03:00