Exitare
98b426bf3a
feat(Core/Player) Option to adjust max rest bonus via config ( #20836 )
2024-12-14 20:51:28 +01:00
Exitare
6f65f5f22b
feat(Core/Player)Add quest failure sound when inventory is full or quest failed ( #20917 )
2024-12-14 09:46:41 +01:00
Yunfan Li
7347f64938
Merge branch 'master' into Playerbot
2024-12-13 18:51:37 +08:00
Grimdhex
a4e2b1d743
feat(Core/WorldObjects): implement Heartbeat timers ( #20872 )
2024-12-13 08:50:45 +01:00
Jelle Meeus
993bdcb84e
feat(Core/Player): implement Spell Queue ( #20797 )
2024-12-12 11:59:52 +01:00
IntelligentQuantum
9f37794f5c
Fix(Core/Player): Energy regen rate bonuses ( #20321 )
2024-12-12 06:53:39 +01:00
Yunfan Li
889b509313
Merge branch 'master' into Playerbot
2024-12-05 00:08:25 +08:00
Andrew
02cacd2341
feat(Core/Unit): Implement GetCompanionPet() helper ( #20819 )
2024-12-02 16:34:24 -03:00
Tereneckla
8e080f1e60
fix(Core/Pet): Remove unnecessary Pet Class reassignments ( #20614 )
...
remove unnecessary class assignment
2024-12-01 17:16:13 -03:00
gontrannopier
cf7959238a
fix(Core/Players): don't set full heath/mana/rage while Dead ( #20723 )
...
fix level up while dead -> check if player is not dead, then update health/mana/rage/..
Co-authored-by: gontrannopier <gontrannopier@gontrannopier.com >
2024-12-01 17:09:26 -03:00
Kitzunu
ed008a8780
refactor(Core/Spells): Add helpers for HasAuraType ( #20802 )
2024-12-01 08:50:59 -03:00
Riley S.
e9137d4d4d
fix(Core/Spells): Resolve invalid spell casts on dead players when the cast is valid. ( #20712 )
...
* Initial fix for #20509
* small revert
* Two way visibility between ghosts.
* clean up temporary changes.
* clean up debug code.
* small typo
* revert .gitignore
* fix codestyle
* Add missing flag, resolve issue where cast was failing while alive.
* Update SpellInfo.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-11-30 20:18:32 +01:00
Yunfan Li
1294d79764
Merge branch 'master' into Playerbot
2024-11-25 23:22:31 +08:00
Jelle Meeus
4b03e97a63
fix(Core/Creature): Set RespawnTime before AI Reset ( #20684 )
...
fix(Core/Creature): Set RespawnTIme before AI Reset
2024-11-22 12:23:21 -03:00
FingerKnoten
593ca4dae1
fix(Core/Player): properly update m_usedTalentCount ( #20232 )
2024-11-16 22:31:24 +01:00
Yunfan Li
fce06946e1
Merge branch 'master' into Playerbot
2024-11-16 13:15:00 +08:00
Jelle Meeus
9f58216383
fix(Core/Spell): EffectQuestComplete, set quest to rewarded instead of complete ( #20358 )
...
set quest to rewarded instead of complete when targetted by SPELL_EFFECT_QUEST_COMPLETE
Prevents people from ending up with strange quests in their quest logs.
https://github.com/TrinityCore/TrinityCore/commit/6d62f852acf3e1a3ee57cde2442832280aee814
Co-authored-by: SnapperRy <snapperryen@gmail.com >
2024-11-15 03:47:41 -03: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
manstfu
21c5575d1a
fix(Core/Player): Nerfing Heirloom Weapons Damage ( #20357 )
...
Fixing heirloom damage
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
2024-11-13 21:53:03 +01:00
Francesco Borzì
a9f0f371e5
refactor(src/server/game): optimise imports ( #20541 )
2024-11-13 11:37:20 +01:00
Jelle Meeus
3565e4a9eb
feat(Core/WorldState): improved WorldState scripting ( #20141 )
...
* implement world state script
based on
0b87ca9d9e
Co-authored-by: killerwife <killerwife@gmail.com >
* refactor to use onleave and onenter instead of spell_area
allows players to right click remove adal's buff
* add MapMgr.h
* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed
* remove lock from WorldState::Update
sWorldState->Update() is only called from World::Update
* remove unsafe SmartAI action of setWorldState
---------
Co-authored-by: killerwife <killerwife@gmail.com >
2024-11-12 12:15:27 -03:00
Andrew
734bcb5d10
chore(Core/Creature): Fix typo ( #20510 )
2024-11-10 15:21:58 +01:00
Yunfan Li
545bb18af4
Merge branch 'master' into Playerbot
2024-11-08 20:58:52 +08:00
Anton Popovichenko
12a41df8bc
fix(Core/Unit): Fix crash during Judgement of Light/Wisdom proc ( #20467 )
2024-11-06 12:13:19 -03:00
Benjamin Jackson
3c6273a9dd
fix(Core/Unit): Only allow Judgement of Light/Wisdom to proc for targets friendly to caster. ( #20374 )
...
Init.
2024-11-03 21:39:26 -03:00
Yunfan Li
abd9b4ebb8
Merge branch 'master' into Playerbot
2024-10-30 21:43:42 +08:00
Francesco Borzì
2ce2c8cf3a
refactor(src/server/game/*): remove unused imports (big part 3) ( #20315 )
2024-10-27 13:10:28 +01:00
Francesco Borzì
cb7e28df05
refactor(src/server/game/*): remove unused imports (big part 1) ( #20310 )
2024-10-27 10:25:40 +01:00
Francesco Borzì
2c344fc127
refactor(src/server/game/*): remove unused imports (big part 2) ( #20311 )
2024-10-27 05:06:14 +01:00
Angelo Venturini
47c61b2576
fix(Core/BG): Fix double method call on removing a player ( #20156 )
2024-10-24 09:12:29 -03:00
Grimdhex
261ca4408f
refactor(Core/Unit): cleanup header file - part 3 ( #20072 )
...
* refactor: cleanup unit header file - part3
* Update Unit.h
* Update Unit.h
* fnish to reorder the header file
* Update Unit.h
2024-10-23 12:54:03 -03:00
Yunfan Li
2e37c1ff1d
Merge branch 'master' into Playerbot
2024-10-21 11:43:19 +08:00
Andrew
034ebb3cdd
Revert "fix(Core/Spells): SPELL_ATTR1_IMMUNITY_PURGES_EFFECT should not remov…" ( #20245 )
...
This reverts commit 572be7d69f .
2024-10-19 20:53:24 +02:00
Benjamin Jackson
7abbca0f5b
fix(Core/CharmInfo): Adjust how spells are given to charmed creatures. ( #20227 )
...
Init.
2024-10-18 17:42:21 -03:00
Andrew
572be7d69f
fix(Core/Spells): SPELL_ATTR1_IMMUNITY_PURGES_EFFECT should not remov… ( #20032 )
...
fix(Core/Spells): SPELL_ATTR1_IMMUNITY_PURGES_EFFECT should not remove spells with no immunities
2024-10-18 08:43:51 -03:00
Benjamin Jackson
4ad9d68f42
chore(Core): Correct typo of Suppress. ( #20229 )
...
* Init.
* Adjust spacing.
2024-10-17 22:09:53 +02:00
Anton Popovichenko
cb241a35e7
fix(Core/Items): Don't remove all owned auras on removing enchantments. ( #20220 )
2024-10-16 06:14:09 -03:00
Angelo Venturini
fede17f782
fix(Core/Spells): Fix crash ( #20179 )
...
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com >
2024-10-11 08:15:02 -03:00
Jelle Meeus
859a42a41e
fix(Core/Vehicles): feat vehicle seat addon, vehicle enter/exit positions ( #20082 )
...
* implement initial vehicle_seat_addon
Co-authored-by: Ovah <dreadkiller@gmx.de >
* add more vehicle_seat_addon data
* make exiting passenger visible
fixes "immediate despawn" of travelers mammoth
* style, update comments
* remove hacked pos relocate
* remove sending MSG_MOVE_ROOT/UNROOT on Ack
* set and unset UNIT_NPC_FLAG_PLAYER_VEHICLE on init/entry
* ulduar demolisher: remove flag correction and no longer needed usableseat
* fixup! implement initial vehicle_seat_addon
* fixup! fixup! implement initial vehicle_seat_addon
* re-add AddPassenger Flame Leviathan hack
was commented by mistake
* Update rev_1725993194571320983.sql
add missing ticks
---------
Co-authored-by: Ovah <dreadkiller@gmx.de >
2024-10-11 07:08:14 +02:00
Yunfan Li
418afce6d7
Merge branch 'master' into Playerbot
2024-10-10 23:13:20 +08:00
Benjamin Jackson
fd6d2efccb
fix(Core/Unit): Add mana drain effect to Black Bow of the Betrayer. ( #20155 )
...
* Init.
Co-authored by: stfxpi (stfx)
Original CMaNGOS commit: c750533b5e
* Add/adjust comments.
2024-10-09 06:00:20 -03:00
Jelle Meeus
a8d970caa7
fix(Core/Unit): add rage gain when attack is fully blocked, dodged or parried ( #19377 )
...
* generate rage if victim fully block, dodge, parry
* update rage calculation
* calc pct at the end
* update comment to link to Rage formulae and mention Bornak's bluepost
archived link to Bornak's bluepost
https://web.archive.org/web/20090604123729/http://forums.worldofwarcraft.com/thread.html?topicId=17367760070&pageNo=13#02500
2024-10-08 21:44:32 +02:00
Benjamin Jackson
a57d8db81a
fix(Core/CharmInfo): Add exception for Kil'jaeden dragon charm spells. ( #20150 )
...
Init.
2024-10-07 08:55:00 -03:00
Jelle Meeus
01b86ec7a6
fix(Core/Unit): update death state before handling RemoveAllAurasOnDeath() ( #20124 )
...
fix setDeathState
[PATCH] Don't allow units to enter combat upon death
91ebea4a77 .patch
Co-authored-by: trickerer <onlysuffering@gmail.com >
2024-10-04 11:01:36 -03:00
Yunfan Li
6eb5070cbc
Merge branch 'master' into Playerbot
2024-10-04 21:57:35 +08:00
Anton Popovichenko
9f58d55a1d
fix(Core/Items): Fix exploit where multiple auras could be applied from a single enchantment. ( #20128 )
2024-10-04 06:32:42 -03:00
Jelle Meeus
9a1f27121a
fix(Core/Unit): Flight Form riding crop, vehicle speed auras ( #20079 )
...
* vehicle aura stacking
Rename flight speed related auras
Co-authored-by: Laise <fenrisse@gmail.com >
* rename to better match existing flight auras
2024-10-01 21:39:42 +02:00
Francesco Borzì
784e80668d
refactor(src/server/game/Entities): remove unused imports ( #20096 )
2024-09-29 20:19:02 +02:00
Yunfan Li
9ebdbd8459
Merge branch 'master' into Playerbot
2024-09-29 23:22:47 +08:00
Grimdhex
8bf3595cef
fix(Script/BlackTemple): teleport position with fatal attraction ( #19971 )
...
* fix(Script/BlackTemple): teleport position with fatal attraction
* fix codestyle
* try a new way by keeping a random teleport
* remove the old fixed position
* improve the dest selection
* raycast around the new position for check a valid dest
* fix codestyle
* revert the old changes
* refactor to remove the while loop
* few refactor
* Revert "few refactor"
This reverts commit fb7613d5cc5a19df01bbcf41ef5c982119ee9685.
* .
* add a los check
* new improvement with stairs cases & console errors
* fix disableWarning option
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
* Update boss_mother_shahraz.cpp
2024-09-28 10:27:32 +02:00