Commit Graph
27474 Commits
Author SHA1 Message Date
Shauren e503f96adb Core/Spells: Reduce number of CastSpell overloads to 1 2025-08-02 15:22:59 +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
Shauren c550e2d29f Core/Spells: Handle SPELL_EFFECT_FORCE_CAST on spell launch instead of hit 2025-08-02 12:25:01 +02:00
Ovahlord 48c21d7161 Core/Spells: reduce differences between branches 2025-08-02 09:39:15 +02:00
Shauren c158f40455 Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered 2025-08-02 08:58:18 +02:00
ModoX 3c18ebf97d Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle 2025-08-01 20:00:26 +02:00
Ovahlord 088bbbd328 Core/Units: make use of the PlayHoverAnim update flag to store the play hover anim state
* this fixes playing hover animations for units which have enabled their hover animation without using anim tiers
2025-07-31 22:36:52 +02:00
Treeston f95a8bfdca Core/Common: Tokenizer -> Trinity::Tokenize 2025-07-30 20:51:19 +02:00
Ovahlord 95329dc15c Scripts/Spells: fixed Heroic Strike damage calculation 2025-07-28 23:03:52 +02:00
Ovahlord ec51834b3a Core/Logging: fixed more log formatting warnings 2025-07-28 23:03:26 +02:00
Ovahlord 633693ee76 Core/Logging: fixed some log formatting warnings 2025-07-28 22:25:03 +02:00
Shauren 16aa620ca0 Core/Spells: Don't ignore power costs and reagents for spells triggered by SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_MISSILE, SPELL_EFFECT_FORCE_CAST, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL and fixed implementation of SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES 2025-07-28 22:19:28 +02:00
Shauren a2079b5835 Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags 2025-07-28 21:57:12 +02:00
Ovahlord 3e73122965 Core/Quests: converted SMSG_QUEST_POI_QUERY_RESPONSE to packet class and ported quest poi data for all quests from classic 2025-07-27 21:34:56 +02:00
Treeston faef256861 Common/Utilities: ported StringConvert helpers from 335 branch 2025-07-26 00:40:54 +02:00
Ovahlord c22ba4438e Core/Logging reduce difference between branches 2025-07-24 19:22:34 +02:00
Ovahlord 6468d7004c Core/PacketIO: moved a couple smsg opcodes connection indexes over to instance 2025-07-22 16:38:21 +02:00
Ovahlord a9dfb9c921 buildfix 2025-07-21 19:48:54 +02:00
Ovahlord 64b77e359d Core/Misc: ported cryptography updates and all that entrails from 335/master and killed bnetserver 2025-07-21 19:04:56 +02:00
Giacomo Pozzoni a576c8328b Shared/Utilities: Handle string format exceptions
Handle StringFormat() exceptions in case of malformed string format to avoid causing unhandled exception crashes
2025-07-21 09:14:46 +02:00
Ovahlord 5410539f05 Core/Misc: replace more macros with constexpr 2025-06-28 12:44:18 +02:00
Ovahlord ddc9795045 Core/Creature: kill no longer used InhabitTypeValues enum 2025-06-28 12:31:05 +02:00
Ovahlord cf56756985 codestyle fix 2025-06-21 15:34:29 +02:00
Ovahlord 94bdf7c094 Core/PacketIO: implement a legacy connection mode which uses only the first connection socket to allow older pre-patched clients to connect 2025-06-21 15:32:25 +02:00
Ovahlord 4b7d68830a Core/Misc: converted more macros to constexpr 2025-06-21 14:15:58 +02:00
Ovahlord e750e1b335 Core/Skills fixed another oversight when determining a skill save status 2025-06-21 03:01:29 +02:00
Ovahlord df676d3bc6 Core/Skills: fixed racemask check when initializing player info skills 2025-06-21 02:03:56 +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 d4b18aad8f Scripts/Spells: properly fixed Blessed Life's proc cooldown 2025-06-20 20:14:09 +02:00
Ovahlord b995fd8cbe Scripts/Spells: properly fixed Nature's Grace proc cooldown 2025-06-20 19:19:11 +02:00
Ovahlord 12a4cea430 Core/Packets: corrected connection type for SMSG_POWER_UPDATE to fix clientside glitches in which rage gained from auto attacks causes power updates to get applied twice 2025-06-20 00:10:38 +02:00
Ovahlord 65b0057332 Core/Units: fixed differences for rage generation between branches 2025-06-20 00:00:45 +02:00
Ovahlord e8c928fc74 Core/Units: ported rage generation refactors from Classic 2025-06-19 23:30:04 +02:00
Ovahlord 4539f848ac Core/Units: ported base attack time refactors from master branch 2025-06-19 23:18:17 +02:00
Ovahlord ab866ca985 Core/Units: dealing melee damage will now generate rage based on armor reduced damage instead of the original value 2025-06-19 22:47:45 +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 1121d206da Core/Quests: send the correct money amount for max level rewards 2025-06-18 17:50:56 +02:00
Ovahlord 44f466030b Core/Quests: ported quest level scaling and reward money calculation from Classic 2025-06-18 16:53:29 +02:00
Ovahlord 1dfee7e072 Core/Quests: ported QuestMoneyReward.db2 from Classic as db table 2025-06-18 13:12:14 +02:00
Ovahlord d18a2ff090 DB/Creatures: updated all HealthScalingExpansion values from Classic brute force data 2025-06-18 01:21:44 +02:00
Ovahlord f26684b407 Core/Creatures: renamed exp column to HealthScalingExpansion and implement support for negative expansion level (-1 means current expansion - often used in battlegrounds) 2025-06-18 00:36:43 +02:00
Ovahlord b6084c75ec Core/PacketIO: removed dead packet handler method definitions 2025-06-17 22:43:22 +02:00
Shauren f5f344ddad Core/GameObjects: Fixed GameObject::SetRespawnTime putting gameobjets not using compatibility spawning mode into invalid state
Closes #31047
2025-06-17 22:15:52 +02:00
Ovahlord efce3f3463 Core/Player: correct initial SpecsCount value for players 2025-06-17 21:24:49 +02:00
Ovahlord 8307117aec Core/Spells: moved creature level based spell scaling into CalcBaseValue where it belongs 2025-06-17 19:39:38 +02:00
Ovahlord 537f444c24 Core/Spells: re-implement SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL and use the leaked game table values to correctly calculate the multiplier 2025-06-17 18:42:05 +02:00
Ovahlord 2461bafbc2 buildfix 2025-06-17 17:59:02 +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
Shauren 6daba28efe Core/Movement: Fixed orientation calculation when using MoveSpline::ComputePosition(int32 time_offset) overload
(cherry picked from commit 3596ecaf311819cd0b34c511b7cdc9b09a411f6d)
2025-06-17 16:26:28 +02:00