Commit Graph
13701 Commits
Author SHA1 Message Date
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
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
Ovahlord c4f1f8d82a Core/Player: converted all macros into constexpr 2025-06-17 13:28:56 +02:00
Ovahlord c7f5cffad3 Core/Packets: remove no longer needed check from learn preview talents packet handler 2025-06-16 21:07: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 db47e3dec9 Core/Objects: removed a long dead function declaration 2025-06-16 13:37:10 +02:00
Ovahlord 72a322c66d Core/Objects: ported static object casting methods from master branch 2025-06-16 13:17:31 +02:00
Ovahlord 3b40b62e1c Core/Spells: no longer reset combat timers for instant melee spells 2025-06-15 20:59:41 +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 34fa3e1a1c Core/Creature: fixed falling back to creature_template flag data when not overriden in creature table
*fixed column type of npcflag for creature table
2025-06-14 20:24:39 +02:00
Ovahlord bb6a8ac297 Core/Units: moved CharmInfo class to an own file 2025-06-14 19:13:44 +02:00
Ovahlord 254ebe6cbf Misc: fixed nopch build 2025-06-14 17:22:58 +02:00
Ovahlord eceecac7c5 Core/Player: removed manual mastery aura amount calculation as it's already done within the spell effect amount 2025-06-14 16:22:03 +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 d2b464b537 Core/Items: added missing destructor to item class 2025-06-13 20:19:32 +02:00
Ovahlord d8ecc53b3c Core/Creature: added missing destructor definition 2025-06-13 20:04:25 +02:00
Ovahlord 4ccfe1ebed Core/Spells: fixed several special damage calculations for class spells and fixed a duplicate application of mastery 2025-06-09 11:08:43 +02:00
Ovahlord 5c9ecf27e9 Core/Spells: dropped spell_bonus_data table and use the dbc internal data to calculate ap and sp bonus values
* some spells have a special formula in their tooltips, which need manual scripting via the CalcDamage and CalcHealing hooks respectively
2025-06-08 15:16:17 +02:00
Ovahlord 6318b3655d Core/Spells: fixed a crash with gameobject spell casters 2025-06-07 19:07:29 +02:00
Ovahlord 58ef56d335 Core/DataStores: ported NpcDamageByClass game tables from Cata Classic and use it to calculate creature damage values 2025-06-07 16:20:53 +02:00
Ovahlord 77efec36ee Core/DataStores: ported NpcTotalHp game tables from Cata Classic and use them to calculate npc health values 2025-06-07 15:53:41 +02:00
Ovahlord 94f1ac8498 Revert "Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring"
This reverts commit 57416b873f.
2025-06-07 11:40:26 +02:00
Ovahlord 96975fcd6b Core/Spells: fixed combo points damage calculation
* added GameTable class to simplify access to game table values
2025-06-07 11:40:18 +02:00
Ovahlord 4524c29f2c Core/Spells: ported spell effect value calculation from cata_classic branch 2025-06-07 11:40:18 +02:00
Ovahlord 57416b873f Core/Cryptography: updated cryptography impl to current 335 state in preparation for the authentication refactoring 2025-04-04 23:22:12 +02:00
Ovahlord 901c387058 Core/Movement: restored a position Z check for hovering movement 2025-03-15 15:00:18 +01:00
Ovahlord e0989bec09 Core/Movement: reduce strict pathfinding rules during chase movement 2025-03-15 14:57:11 +01:00
Ovahlord 6eb73788f4 Core/Units: deprecate CREATURE_FLAG_EXTRA_NO_COMBAT and use CREATURE_STATIC_FLAG_IGNORE_COMBAT to turn creatures passive 2025-03-15 14:27:16 +01:00
Ovahlord 4127d2595b Core/Spells: refactored check for putting caster in combat with the player and incorporate CREATURE_STATIC_FLAG_IGNORE_COMBAT back in 2025-03-15 10:59:51 +01:00
Ovahlord 3e3212c9fe Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE 2025-03-15 09:09:03 +01:00
Ovahlord 0c9747961d Core/Spells: restore a check for SPELL_ATTR3_COMPLETELY_BLOCKED that went missing during cherry picking 2025-03-15 08:52:37 +01:00
Shauren c23cfa4217 Core/Spells: Move entering combat for caster and calculating crit chance to separate function called only once for each target instead of doing it once for every effect on every target 2025-03-15 08:50:50 +01:00
Shauren 2274f69173 Core/Spells: Simplify combat flagging code on spell launch and impact 2025-03-15 08:47:21 +01:00
Alan Deutscher 52fc975ecc Core/Spells: Delay combat flagging for spell targets until spell missile lands 2025-03-15 08:44:48 +01:00
Shauren 7c70827377 Core/Combat: Allow PvE combat references to become suppressed, just like PvP ones 2025-03-15 08:37:47 +01:00
Shauren 6eac93139a Core/Auras: Feign death will no longer cause creatures immune to it to drop combat (and then reenter it because the unit feigning death is considered valid) 2025-03-15 08:32:56 +01:00
Shauren a7644b03d4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish) 2025-03-15 07:16:45 +01:00
Shauren a4aa09de52 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT and overriding default mount from creature addon 2025-03-15 07:07:31 +01:00
Shauren 8c7b6f2bcf Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE 2025-03-15 07:02:51 +01:00
Shauren e130290f83 Core/Creatures: Implemented CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK 2025-03-15 07:00:38 +01:00
Shauren 4ead80f388 Core/Auras: Minor optimization for Unit object creation with msvc (not allocating a list end sentinel node for all of the 500 lists stored in Unit for each aura type) 2025-03-14 16:57:04 +01:00
ModoX 5d2d60258b Core/Creature: Remove UNIT_FLAG2_FEIGN_DEATH if no unit_flags are set 2025-03-14 16:35:14 +01:00