Nico
3cf7e70283
whole lot of fixes
2026-10-01 00:23:36 +02:00
sevi and Ovahlord
9da95e6cc9
Core/Creature: Add support for multiple gossip menu IDs ( #472 )
...
* Core/Creature: Add support for multiple gossip menu IDs
Adds support for assigning multiple gossip menu IDs to creatures and
controlling them through conditions.
Cherry-picked and adapted from:
https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793
Also disables StormLib automatic static linking.
StormLib fix suggested by @brian8544 on Discord.
* merge prep
---------
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2026-07-25 19:29:08 +02:00
Ovahlord
0f6a99bd85
Core/Units: moved stats modifiers and multipliers into a struct for future ports of the remaining secondary stats
2026-06-12 11:55:12 +02:00
Ovahlord
068a83ff12
Core/Players: fixed items with stamina applying their bonus twice
2026-06-11 15:05:49 +02:00
Ovahlord
981e70a5a1
Core/Players: fixed health initialization for players after levelups and fixed adding/reducing health based on the player's current health percentage
2026-06-11 12:43:17 +02:00
Ovahlord
8bd0bfdb8c
Core/Units: renamed PrimaryStat to AllStats2 as the only known spell with the misc value for that type is also affecting all stats. Also cleaned up accidental include
2026-06-11 10:06:35 +02:00
Ovahlord
af40c9404b
Core/Units: moved base stats handling into a own class
2026-06-10 12:20:35 +02:00
Ovahlord
c1c7dc5ef9
Core/Misc: rename Stats to StatType
2026-06-10 10:24:10 +02:00
Ovahlord
5d22ddd499
Core/Misc: rename Powers to PowerType
2026-06-09 08:19:48 +02:00
Ovahlord
db7998ae28
Core/Players: use CharacterFlags enums to store player information in database and set player flags accordingly
2026-03-22 18:07:14 +01:00
Ovahlord
266d1d7717
Core/Creatures: temporarily revert all summon changes in order to keep the master branch functional until the implementation is done
2026-02-28 11:06:35 +01:00
sevi
3f65afb962
Core/Player: Fix MAX_TITLE_INDEX calculation for title mask ( #461 )
...
* Core/Player: Fix MAX_TITLE_INDEX calculation for title mask
* Core/Player: Replace sizeof-based bit calculation with explicit 64
2026-02-18 21:34:24 +01:00
sevi
8c758f8021
Core/Player: Fix DF quest reward weekly cap check for uncapped currencies ( #457 )
...
* Core/Player: Fix DF quest reward weekly cap check for uncapped currencies
* Core/Player: adjust brackets
2026-01-23 09:18:45 +01:00
Ovahlord
98d4a57db1
Core/Creatures: moved pre/post summon actions into SummonInfo API and disabled most old TemporarySummon functionalities
2025-08-22 20:26:10 +02:00
Ovahlord
3ef6132fce
Core/Misc: buildfix
2025-08-05 20:36:37 +02:00
Shauren
78de91a487
Core/Spells: Rename confusing SpellState enum values
...
* SPELL_STATE_CASTING -> SPELL_STATE_CHANNELING (was used for "channel in progress")
* SPELL_STATE_DELAYED -> SPELL_STATE_LAUNCHED
2025-08-02 12:37:52 +02:00
Ovahlord
48c21d7161
Core/Spells: reduce differences between branches
2025-08-02 09:39:15 +02:00
Treeston
f95a8bfdca
Core/Common: Tokenizer -> Trinity::Tokenize
2025-07-30 20:51:19 +02:00
Ovahlord
e750e1b335
Core/Skills fixed another oversight when determining a skill save status
2025-06-21 03:01:29 +02:00
Ovahlord
a9579cb33b
Core/Skills: ported skill refactors from master branch
...
* implement automatic skill learning from dbc data which
2025-06-21 01:23:27 +02:00
Ovahlord
4539f848ac
Core/Units: ported base attack time refactors from master branch
2025-06-19 23:18:17 +02:00
Ovahlord
ca505967e3
Core/Quests: fixed sending the correct gold amount when a quest has RequiredMoney
2025-06-18 19:51:26 +02:00
Ovahlord
44f466030b
Core/Quests: ported quest level scaling and reward money calculation from Classic
2025-06-18 16:53:29 +02:00
Mykhailo Redko
a145c21495
Core/PacketIO: Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE
2025-06-17 17:48:49 +02:00
stoneharry
1c38edaae4
Core/Chat: Apply chat flood control to addon messages as well
...
(cherry picked from commit 5384fc194f9061bbac314abb66a9bac88aaaf760)
2025-06-17 17:43:49 +02:00
Ovahlord
c4f1f8d82a
Core/Player: converted all macros into constexpr
2025-06-17 13:28:56 +02:00
Ovahlord
c092c6ad00
Core/Player: allow players to learn a primary specialization without having to select a talent
...
* converted CMSG_LEARN_PREVIEW_TALENTS to packet class
2025-06-16 20:32:28 +02:00
Ovahlord
53df12ae73
Core/Player: moved PlayerTalentInfo into a own header and removed the unneeded pointer mess
2025-06-16 18:50:33 +02:00
Ovahlord
452da00b2a
Core/Player: updated the Death Knight Rune system to get closer to the Classic implementation
...
* Runes will no longer trigger a 1.5 seconds cooldown when missing and instead refund the runes immediately
2025-06-15 15:13:56 +02:00
Ovahlord
bb6a8ac297
Core/Units: moved CharmInfo class to an own file
2025-06-14 19:13:44 +02:00
Ovahlord
4f08f34e26
Core/Misc: converted more raw pointers to smart pointers
2025-06-14 12:55:35 +02:00
Ovahlord
1b22d87f91
Core/Player: converted void storage items to smart pointers
2025-06-13 20:19:56 +02:00
Ovahlord
164289b3b2
Core/Units: ported namings for UnitFlags and UnitFlags2 and added the check for forbidden flags in database
2025-03-11 18:06:35 +01:00
Ovahlord
74345972e6
Core/Items: allow heirlooms to stay equipped/usable even when the player has reached their max scaling level (they just stay at that power level)
2025-03-10 20:17:48 +01:00
Ovahlord
f46b6f0797
Core/Units: removed the packetOnly parameter from several movement flag setters
2025-03-10 17:43:42 +01:00
Ovahlord
83958342d9
Core/Spells: ported spellMod handling from master branch
2025-03-09 13:20:40 +01:00
Ovahlord
f9425284ca
Core/Units: updated power regeneration handling to get closer to the master version of it
2025-03-09 10:30:07 +01:00
Ovahlord
e8588fd5ba
Core/Objects: ported Heartbeat implementation fron master branch
2025-03-09 02:40:05 +01:00
Ovahlord
d8ef0352e1
buildfix
2023-12-18 11:48:18 +01:00
Ovahlord
0f035fe940
Core/Units: refactor rage generation to reflect patch 4.0.1 changes:
...
* melee attacks will now send their awarded rage within SMSG_ATTACKER_STATE_UPDATE and moved the rage reward mechnic from Unit::DealDamage into Unit::AttackerStateUpdate
* killed CleanDamage struct and provide plain unmitigated damage values instead as since patch 4.0.1 the rage gained from damage taken is fully normalized and ignores any kind of damage reduction or negation
2023-12-10 18:26:24 +01:00
Kelno
b4f6bee92c
Core/Items: Fixed soulbound tradeable items not being properly update once every second ( #29416 )
...
In the current code they were updated only if the difftime went above 1 second.
2023-12-04 22:09:52 +01:00
sevi
986c129bc0
Core/Quests: implement the option to cast spells upon abandoning quests ( #434 )
...
* Core/Quest: Implement a way to cast Spells on Quest Abandon.
* Core/Player: add a missing ;
* Core/Quest: moved the Abandon Spell away from a own table into quest_template_addon.
2023-12-01 16:07:39 +01:00
Shauren
388c504047
Core/Spells: Named and implemented most of SpellAttr8
2023-10-23 18:07:05 +02:00
KobeSagami
cbb027438c
Core/Misc: Minor change to racial wisp handling to make custom easier (or so i heard) ( #22954 )
...
(cherry picked from commit 7d60b9a289ee0942cf57b49626c0f3f9caeed331)
2023-10-18 23:29:07 +02:00
Ovahlord
ff0eb86c54
Core/Achievements: ported start event and fail event mechanics from master branch
2023-10-11 01:38:01 +02:00
Shauren
8acfadc779
Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
2023-10-09 21:05:00 +02:00
Jeremy
f8aa09f253
Core/Areas: Update AreaFlags from EnumeratedStings values
2023-10-09 20:41:30 +02:00
funjoker
df32b341a5
DB/Creatures: Port master model system
...
Fixes incorrect displayid for creatures, due to probability
2023-09-15 23:52:51 +02:00
Shauren
a1bf752e4b
Core/Players: Don't remove unlearned spells from action bars
2023-08-19 18:20:20 +02:00
Ovahlord
6c1c91b6b2
Core/DataStores: implement PlayerCondition.dbc
...
* additionally implemented a DB table for custom entries as many of these conditions are strictly server side
* use server side conditions for Stormwind's faction vendor as example usage
2023-07-17 14:53:30 +02:00