Commit Graph

1234 Commits

Author SHA1 Message Date
Mykhailo Redko
017cfb7b4b fix(Core/PacketIO): Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE. (#21385) 2025-02-10 17:12:38 +01:00
Andrew
7e29e023e8 fix(Core/Creature): Allow temp summons to respawn when despawning on … (#21363) 2025-02-10 08:46:31 +01:00
Andrew
79cbb00075 feat(Core/Creature): Implement HasFlagsExtra() helper to creature (#21362) 2025-02-08 14:07:04 -03:00
p-tkachuk
b07e545bae fix(Core/Transport): Fix for passengers dropped in the middle of nowhere (#21296) 2025-02-08 05:53:57 +01:00
天鹿
9768cfca3a fix(Core): Fix After PR#21213 Crash (#21327) 2025-02-07 13:52:56 -03:00
Exitare
ff4d1ef053 chore(Core/EventMgr): Align code to Code standard & improve LoadFromDB function (#21151)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
2025-02-07 14:25:07 +01:00
iThorgrim
13e3a3c84a Feat(Core/Player): Add ExtraBonusTalentCount methods (#21271) 2025-02-04 07:47:26 +01:00
iThorgrim
054018232c feat(Core/Scripting): Add new hook OnUnitSetShapeshiftForm (#21235) 2025-02-04 07:41:29 +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
Kitzunu
17412174be feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD (#21105) 2025-02-01 22:49:41 +01:00
Kitzunu
47c5ff904f refactor(Core/Disables): Convert from Namespace to Class Structure (#21109) 2025-02-01 22:48:52 +01:00
Kitzunu
9e9a2fe5e3 refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… (#21213)
...ring
2025-02-01 22:46:42 +01:00
Jelle Meeus
00b8a3f419 feat(Core/WorldState): implement Battle for Sun's Reach Event (#21219)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
Co-authored-by: MantisLord <sabinprosper@gmail.com>
2025-01-31 13:19:12 +01:00
Andrew
8f16de2084 feat(Core/Unit): Implement SetEmoteState() and ClearEmoteState() helpers (#21279) 2025-01-27 06:35:12 -03:00
Grimdhex
edf2959a26 feat(Core/Creatures): implement a sparring system (#19824) 2025-01-26 09:40:37 +01:00
Kitzunu
0733c30471 refactor(Core/Player): Improve Channel.RestrictedLfg handling (#21145) 2025-01-21 19:09:31 +01:00
Kitzunu
847d2156fc refactor(Core/Loot): Simplify GetFishLoot with for loop and merge Get… (#21217) 2025-01-20 14:09:27 +01:00
sudlud
c72ac105e4 fix(Core/Gameobject): prevent getting empty fishing loot (#21216) 2025-01-19 21:34:02 +01:00
FlyingArowana
759c912bd1 feat(Core) - Additional "ActionButton" log information. (#21201) 2025-01-19 08:14:11 +01:00
Andrew
882951c613 fix(Core/Unit): Fix fast creatures chasing indefinitely (#21200) 2025-01-18 00:00:04 -03:00
Jelle Meeus
5bc20a184d fix(Player/SpellQueue): bandaid crashfix (#21103) 2025-01-10 19:38:24 -03:00
Andrew
fb3749718e fix(Scripts/Spells): Move Curse of Mending (7098 & 39647) to spell sc… (#21117) 2025-01-09 20:15:50 +01:00
Kitzunu
6ea9b7a9cb fix(Core/Player): fix output for disabled maps (#21068) 2024-12-30 16:42:09 -03:00
Jelle Meeus
638b8ea621 fix(Scripts/Spells): Death Knight Army of the Dead auras (#19795) 2024-12-28 14:23:14 +01:00
Kitzunu
bff594c4f5 feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() (#21040) 2024-12-26 05:51:54 -03:00
EricksOliveira
2110f7cc84 Core/TempSummons: avoid use MoveInLineOfSight before InitSummon (#20999) 2024-12-22 09:03:28 +01:00
Jelle Meeus
f011cbb602 refactor(Core/Unit): Add naming for all ShapeshiftFlags (#20989) 2024-12-22 08:56:54 +01:00
Kitzunu
d2b88bdc1e feat(CI/Codestyle); Check for double semicolons (#20996) 2024-12-21 22:19:49 +01:00
Exitare
4d1dba4a09 fix(Core/Player): Quest failure sound when inventory full (#20970)
* Add quest failure sound when inventory is full or quest failed

* Fix sound being played for all players & move call to correct function
2024-12-18 21:58:32 -03:00
Takenbacon
4d349e87b5 feat(Core/AuctionHouse): Rework auctionhouse search threading (#20830) 2024-12-18 15:50:26 +01:00
Takenbacon
e9c86737fb refactor(Core/Random): Remove unused map based RNG (#20939)
Remove unused map based RNG
2024-12-18 13:48:06 +01:00
Jelle Meeus
88eb6fbb2b fix(Core/Player): SpellQueue fix typo StartRecoveryCategory (#20944)
fix: typo StartRecoveryCategory

should be category
2024-12-17 10:38:24 -03:00
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
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
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
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
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