Commit Graph
2553 Commits
Author SHA1 Message Date
ccrs 14e6f01c01 Core/StatSystem: Fix stale UNIT_FIELD_ATTACK_POWER_MODS on AP modifier sign change
based on, with several tweaks and adjustments

https://github.com/zana244/TrinityCore/commit/8a2c15a53d85df883857e1c0322dafce03f64a3c.diff
https://github.com/vmangos/core/commit/2646715596d24ba205b03a7f3e1cee1c4ffa4ab9

Co-authored-by: ratkosrb <[email protected]>
(cherry picked from commit c19037900f5276105520ca8693c8c551cf2aaa13)
2026-07-19 23:52:02 +02:00
Shauren 47a9b7faca Core/Units: Refactor power type loops to iterate power slots instead of all powers 2026-07-18 16:30:39 +02:00
Shauren 123f9755d3 Core/Spells: Remove remaining raw spell attribute checks
(cherry picked from commit 7a4f3c2ba2054f1b3a4b349b802a3c02b3085157)
2026-07-09 12:51:06 +02:00
Shauren c5a71e4796 Core/Units: Fixed crash caused by a gameobject dealing damage to units with SPELL_AURA_SPLIT_DAMAGE
Closes #31874

(cherry picked from commit 4ccebff43c5394c5ea053a4e7d0b2f41f7de58dc)
2026-06-30 20:22:04 +02:00
Shauren 2f1bf82b9d Core/Units: Fixed AttackStop NowDead field being set for the wrong unit
(cherry picked from commit 345e0586114c2f8b9d2d35b89b6a66f213558274)
2026-06-30 20:22:03 +02:00
Shauren d0e7cdf936 Core/Units: Remove duplicate WorldSession::SendAttackStop, it was duplicating Unit::SendMeleeAttackStop
(cherry picked from commit a006e66058a26d9514e6c8b78f903038fb30e1d2)
2026-06-30 20:22:03 +02:00
Shauren 97836b72c5 Core/Movement: Stop movement and clear player movement flags from possessed units on possess end
(cherry picked from commit de42c9ba26678f3117e7afb9c9672384107437b1)
2026-06-30 19:35:34 +02:00
ccrs f3fc3ead66 Core/Entities: force CombatManager revalidation after applying charm
"Safely" goes through all combat references validating if in fact the unit should remain in combat or not
Any edge case that may get affected by this, are scenarios in which the charmed unit must keep the combat and threat references prior to their charm.... I can't think of any.
-> And honestly if there was any such case... imo it should be handled script wise, not core wise.

closes #31747
updates #30169

(cherry picked from commit 04ab833acd7e4a5e7025bb826106283c1c7c680b)
2026-06-30 19:16:20 +02:00
Shauren 3e70872594 Core/Movement: Fixed player movement being blocked if teleported within the same map while not being in control of their character
(cherry picked from commit 59e641daa683227932e1b32bc45bd4eb0f0e0207)
2026-06-30 14:26:21 +02:00
ccrs edf486ad16 Core/Movement: Move facing splines into MotionMaster
(cherry picked from commit fa4d4550b30dfdf70296a9958263f290b860d450)
2026-06-30 13:59:56 +02:00
ccrs 8791e8b17c Misc: improve UNIT_STATE_DISTRACTED handling
(cherry picked from commit 15b8a43311cb3e9e8ad3cf5e64cf8bf8615efed3)
(cherry picked from commit 3e7f0372dbdf62c84574ecb4c13aa5c837e788c5)
2026-06-29 15:01:41 +02:00
Shauren 7c3d56a9b2 Core/Units: Correct Z coord change when enabling hover above ground
(cherry picked from commit 8d49be5e1cb84e26b93fa2cde415b3eba9353164)
2026-06-28 15:12:02 +02:00
Edan e592bcf8e3 Core/Unit: Also remove snare mechanics caused by effects on RemoveMovementImpairingAuras (#31207)
(cherry picked from commit 0728b899a76a07f7758b1e0d39e843463d4ea2b5)
2026-06-26 11:59:38 +02:00
CraftedRO d7b40038b0 Core/Unit: Pet near teleport fix (#30766)
https: //github.com/psychobilli/TrinityCore/wiki/PetTeleportFix-Test-Notes

Co-authored-by: psychobilli <[email protected]>
(cherry picked from commit 59492b81d8a2bd16271bee238f119e430c4b1c69)
2026-06-23 22:44:09 +02:00
Shauren 913da780a4 Core/Misc: Remove non-array version of RaceMask util 2026-06-17 00:23:19 +02:00
Mykhailo Redko b596657227 Core/Spells: Remove ProcEventInfo::GetProcTarget to avoid confusion. (#30435)
(cherry picked from commit 81ab02d6f89605c4a059a76de2ba90b0e2e5b214)
2026-06-07 21:48:21 +02:00
Mykhailo Redko c46cc865f5 Core/Pets: Implemented sound playback when dismissing warlock pets (#30683)
(cherry picked from commit a827230910fd7e3e64bcb5526e2778b8b4752da4)
2026-06-07 19:51:13 +02:00
CraftedRO 900eca34d1 Core/Unit: Fix DualWield Off-hand hit penalty (#30444)
* Offhand attacks that occur while on-next-hit abilities such as Heroic Strike are queued do not suffer the dual wield to-hit penalty.

(cherry picked from commit c6fb43947bf531eb737c17c1a95d8157db421c75)
2026-06-07 01:06:37 +02:00
Shauren bce6a8144e Core/Spells: Don't treat pets as permanently crowd controlled
Closes #30445

(cherry picked from commit 32b54ffb66676ec47d7153c1b897770bc5d08493)
2026-06-07 00:11:59 +02:00
Shauren 26f1f94bb0 Core/Spells: Rewrite potion cooldown handling using spell category flags 2026-06-06 14:01:20 +02:00
Shauren d2c627d3bc Core/Spells: Implement sending FailedBy in spell failure packets 2026-06-01 18:36:14 +02:00
Shauren 0c46a7b187 Core/Spells: Corrected SpellCastResult values sent on spell interrupts
(cherry picked from commit b1c15cbfe61884664ed7615a34ca77ad0db3d95c)
2026-06-01 16:10:34 +02:00
Shauren 215fe38970 Core/Units: Corrected AURA_INTERRUPT_FLAG_NOT_SEATED implementation to only interrupt when actually standing (flag not renamed but its correct name is SpellAuraInterruptFlags::Standing)
(cherry picked from commit 47b1de526e9f380c96307edc5fb618ad18f04206)
2026-05-25 21:33:17 +02:00
Shauren 429d33ea64 Core/Auras: Don't force sitting state from non-standing state when applying auras with SpellAuraInterruptFlags::Standing
Closes #28973

(cherry picked from commit dd10ac27fee1fa91661422458d22bb1d2dbab6de)
2026-05-25 21:25:34 +02:00
Shauren 5f4db28d9a Core/Units: Don't make force stand state on periodic damage taken
Closes #28950

(cherry picked from commit 2f4c412f4c13c7ae02d3d3ae715c3099395bcf70)
2026-05-25 21:23:34 +02:00
Shauren 6324222cdb Core/Misc: Port some 3.3.5 cherry-pick refactors 2026-05-18 00:28:59 +02:00
Shauren 4c14988578 Core: Updated to 12.0.5 2026-04-22 20:20:11 +02:00
Shauren 5bd241a826 Core/Auras: Update absorb aura priority ordering 2026-04-15 00:02:59 +02:00
Shauren c703fac86f Core/Players: Fixed fatigue timer appearing in some situations where it shouldn't (in some wmos or on some vehicles) 2026-04-13 11:12:56 +02:00
Shauren 325509b6c7 Core/Random: Rename roll_chance_x functions to roll_chance 2026-04-10 00:09:44 +02:00
Shauren 8225b5b71c Core/Spells: Change spell effect value type to double 2026-04-08 18:40:58 +02:00
Shauren e0283ce5d5 Core/Spells: Fixed spells with SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS ignoring permanently rooted creatures (with static flags) 2026-03-07 00:39:03 +01:00
Shauren d23ea9773c Core/Spells: Fixed autoattack timer being reset by almost every spell cast 2026-03-03 10:33:05 +01:00
Shauren 2706fbb3bf Core/Achievements: Reduce differences between branches 2026-03-02 00:12:02 +01:00
Shauren 0b6d4eaf8e Core: Updated to 12.0.1 2026-02-12 20:49:32 +01:00
Shauren b2d7e60ece Core/Units: Fix crashes caused by spirit being brought back into existence in 12.0.0 2026-02-10 17:17:52 +01:00
Shauren 03d05f2cfe Core/Objects: Refactor entity fragment functions to separate global array and move ClearChangesMask there
* Additionally unify argument order for UF::Structure::WriteSomething and Object::BuildValuesSomething
2026-02-07 13:00:34 +01:00
Shauren 5c8bf4dfea Core/Players: Fixed spellpower for devourer demon hunters (currently the only intellect based spec without mana) 2026-02-06 00:36:44 +01:00
Shauren 4f45d4e36f Core/Auras: Corrected aura types and attributes used for absorb value calculation 2026-02-04 18:22:38 +01:00
Aqua Deus 3b67d70835 Core/Auras: Implement SPELL_AURA_DISABLE_AUTOATTACK (#31542) 2026-02-01 12:32:35 +01:00
Shauren b0a596908d Core: Updated to 12.0.0 2026-01-29 00:22:24 +01:00
Shauren 3b722eb93e Core/Objects: Add const to Object::DestroyForPlayer and Object::SendOutOfRangeForPlayer 2025-12-26 22:50:38 +01:00
Shauren da6db9f37e Core/Objects: Store non viewer depentent CreateObjectBits directly in m_updateFlag 2025-12-26 00:42:14 +01:00
Shauren 65bdceb4f9 Core/Spells: Minor bitset refactor for 6cff1622e5 2025-12-26 00:42:14 +01:00
Shauren 6cff1622e5 Core/Spells: Only check spell immunity against effects that will apply to each target 2025-12-25 16:48:32 +01:00
Shauren 42ebe3b0dc Core/Spells: Use spell positivity to determine immunities instead of caster-target faction reaction 2025-12-25 16:16:16 +01:00
Shauren bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Shauren f901acd66b Core/Entities: Remove Object::m_objectType member and replace it with global array lookup (using m_objectTypeId) 2025-12-07 18:59:24 +01:00
Shauren 43d48cf1a7 Core/Auras: Enable DoEffectCalcDamageAndHealing aura script hook for initial absorb amount calculation 2025-11-28 11:15:32 +01:00
Shauren 233a063eba Core/Auras: Implement absorb scaling with attack power (#31405) 2025-11-28 09:13:33 +01:00