Commit Graph
815 Commits
Author SHA1 Message Date
Ovahlord 41c4d4e4a6 Core/Creatures: fixed creature aggro radius calculation 2026-08-27 21:26:07 +02:00
Ovahlord d1cee2bade Core/Creatures: correct behavior for enabling swimming for creatures on ocean floors 2026-08-27 21:26:07 +02:00
Shauren 60bd51b968 Core/Creatures: Implemented content tuning id fallback based on map difficulty and area 2026-07-26 18:39:37 +02:00
Shauren 18fefeee44 Core/Creatures: Fixed setting current health by spells/auras from creature_addon/creature_template_addon 2026-07-20 12:32:49 +02:00
Shauren 6a36858df6 Core/Creatures: Mark CreatureStaticFlagsHolder constructor as constexpr 2026-07-20 12:13:12 +02:00
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
ccrs ad0c5287cf Core/Creature: cleanup movementflags initialization on creature create, a bit
- Remove redundant m_positionZ alteration (relocation is already handled in Unit::SetHover)

(cherry picked from commit 736add62678b5e04399421ee6ebcdaa2c7447712)
2026-06-28 15:10:24 +02:00
CraftedRO c44d4d9fb4 Core/Creatures: Update creature GenerateHealth rounding formula (#30971)
(cherry picked from commit e6b9f215e9aece22446fc5b84363abbf5e2d9349)
2026-06-23 22:44:04 +02:00
Shauren b3b080eedd Core/PacketIO: Remove undesired implicit conversions to bool with Optional updatefields 2026-06-19 22:08:55 +02:00
Gildor 6da751659a Core/Creatures: Update HomePosition upon ExitVehicle only if the creature was inside a vehicle (#29491)
(cherry picked from commit acf5ce58a7d3ced306eeebd60dbc36732b21ad56)
2026-05-26 23:08:27 +02:00
Gildor 15ace15d34 Core/Pets: Avoid loading creature_addon/creature_template_addon (#29331)
*Also removed spawnId when the pet is created

(cherry picked from commit edb00d4f7432575965e8e3630f505c2ef09ed3b2)
2026-05-26 23:08:27 +02:00
Shauren 72dc4d9964 Core/Spells: Sync enum name with 3.3.5 branch 2026-05-11 20:31:03 +02:00
Shauren a435d8a133 Core/Objects: Add ignoreNestedChangesMask argument to BuildValuesUpdateForPlayerWithMask functions 2026-03-20 12:19:15 +01:00
Shauren b63bf1c1e6 Core/Misc: Reduce memory usage when data query cache is disabled in config 2026-03-13 12:57:02 +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 1db1a0e57f Core/Movement: Enable MotionMaster::MovePath for players 2026-01-05 14:18:45 +01:00
Shauren 42e9847b99 Core/Objects: Refactor building SMSG_UPDATE_OBJECT to make CGObject fragment optional as well as making integrating additional entity fragments easier 2025-12-28 14:14:47 +01:00
Shauren 0ff5cf4d00 Core/Objects: Create a base class for Object to support creating new client visible object types 2025-12-27 11:43:04 +01:00
Shauren bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Meji 0394e7d2db Core/Creatures: Move CREATURE_STATIC_FLAG_3_ALLOW_INTERACTION_WHILE_IN_COMBAT to DB (#31404) 2025-11-15 19:32:51 +01:00
Shauren b6526114f5 Core/Creatures: Correct names of some creature static flags 2025-11-13 14:20:47 +01:00
Shauren d08e299974 Core/Creatures: Fix boss level calculation 2025-10-15 11:34:40 +02:00
Shauren a8f01e07d1 Core/Entities: Merge duplicate functions calculating relative positions - remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class 2025-10-14 13:11:41 +02:00
Shauren 203ad17560 Core/Objects: Preserve phaseUseFlags, terrainSwapMap, ScriptName and StringId columns when saving creature and gameobject spawns in database
Closes #31291
2025-09-21 00:45:27 +02:00
Shauren 5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren 5de252ae84 Core/Misc: Move large functions out of header files 2025-07-13 13:40:31 +02:00
Shauren cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Meji 138b1b1a21 Core/SpawnTracking: Allow linking a spawn to more than one quest objective (#30995) 2025-06-28 01:38:43 +02:00
Shauren 23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren 49aa298006 Core/Objects: Optimize spawn tracking handling in building SMSG_UPDATE_OBJECT 2025-03-01 15:00:46 +01:00
Shauren 401502ea3c Core/Grids: Modernize TypeContainer with variadic template 2025-01-05 20:22:34 +01:00
Meji c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
ModoX 26d1337461 Core/Creature: Implement aggro grace period (#30362)
Ref: #26528 #30273 #23258
2024-12-29 09:04:40 +01:00
Shauren 1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren 68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren 963eb6b80c Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
* Object::BuildValuesUpdateWithFlag is actually unused
* Restore UF::UpdateFieldFlag::Owner for players (self packet)
2024-10-29 00:48:21 +01:00
Shauren ee54ade397 Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function 2024-10-27 19:05:35 +01:00
Shauren 067fa31d15 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides 2024-10-25 15:36:11 +02:00
Shauren edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Shauren e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren ec2631eca3 Core/Instances: New ZoneScript hook - OnCreatureGroupDepleted
* Triggers when the CreatureGroup no longer has any alive members (either last alive member dies or is removed from the group)
2024-07-12 12:29:22 +02:00
Shauren 16bfbe1a3a Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) 2024-07-11 15:24:02 +02:00
Meji ef70cf6481 Core/Creatures: Validate creature.modelid on startup (#30023) 2024-06-08 12:48:45 +02:00
Antonio Martín Berti 3fd9677543 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013) 2024-06-04 00:44:22 +02:00
ModoX cbddc33708 Core/Creature: Implemented CREATURE_STATIC_FLAG_IGNORE_COMBAT 2024-05-25 19:28:49 +02:00
Ovahlord 24bda9c73d Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior (#29949) 2024-05-02 22:50:20 +02:00
Shauren a39d0db9ec Core/Spells: Implemented evoker empower spell mechanic 2024-05-01 22:26:53 +02:00
Ovahlord 11f32a2427 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT (#29946) 2024-04-28 16:09:43 +02:00
Ovahlord b5ce4a66df Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940) 2024-04-26 22:32:17 +02:00