Commit Graph
15686 Commits
Author SHA1 Message Date
Shauren 69da702b93 Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline 2024-04-12 00:18:20 +02:00
Shauren 66abcaff14 Core/Spells: Fixed TARGET_UNIT_AREA_THREAT_LIST and TARGET_UNIT_AREA_TAP_LIST 2024-04-11 19:59:43 +02:00
MejiandShauren 2ce4068459 Core/SAI: Added support for StringIds to creature and gameobject targets (#29910)
Co-authored-by: Shauren <[email protected]>
2024-04-11 10:15:46 +02:00
Shauren bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
ModoX 88bbd27f8d Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons
2024-04-10 20:03:14 +02:00
ModoX 58839b7c18 Core/Entities: nopch build fix 2024-04-09 17:00:43 +02:00
ModoX 9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +02:00
ModoX 5cea37153e Core/Entities: Added GetStringId helper methods 2024-04-09 16:34:24 +02:00
Shauren b1b16cc139 build fix 2024-04-09 12:55:06 +02:00
Shauren 3545285ad7 Core/Auras: Fixed SPELL_ATTR10_ROLLING_PERIODIC for auras that have 0 base amount and only scale from spell/attack power 2024-04-09 12:23:07 +02:00
Meji 4f5d1737a3 Core/Gameobjects: Changed the highlight logic for GAMEOBJECT_TYPE_GATHERING_NODE (#29896) 2024-04-08 19:11:32 +02:00
RioMcBoo 958b4726b6 Core/Misc: Fixed forced declined names initialization (#29898)
(cherry picked from commit 4dd200b9e5941c6b323b9159ec3d8239679bf3ab)
2024-04-08 19:03:21 +02:00
Meji c90dbeb648 Core/Quests: Update phaseshift when taking or abandoning quests (#29901) 2024-04-08 13:26:04 +02:00
Shauren f331bd1a28 Core/Spells: "Fixed" Inescapable Torment talent dealing damage to priest when learning (and somtimes killing on login) 2024-04-08 10:58:19 +02:00
Shauren be3ae90dc4 Core/Movement: Ensure land and takeoff animations even if gravity enabled/disabled state is not what spline generator expects 2024-04-07 00:05:46 +02:00
Shauren b265c49977 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells 2024-04-06 20:50:59 +02:00
Shauren eb9375b0b1 Core/Scripts: Added basic types for async script actions 2024-04-05 10:41:12 +02:00
Shauren 038f995ad6 Core/Movement: Allow overriding speed for taxi movement generator 2024-04-04 16:17:09 +02:00
Shauren f847cd4eeb Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887
2024-04-03 21:23:30 +02:00
Shauren f1b7ca1a91 Fix codestyle 2024-04-03 16:31:39 +02:00
Shauren 22e43917ab Core/SAI: Allow gameobjects to be targeted by spell casts 2024-04-03 16:21:15 +02:00
ModoX e8f7d41536 Core/Movement: Added Velocity field to waypoint_path table (#29837) 2024-04-02 04:12:52 +02:00
Meji 47e4bf06d3 Core/Conditions: Fixed evaluation of CurrentPvpFaction outside arenas or battlegrounds (#29882) 2024-04-01 20:32:08 +02:00
Shauren 2af957c2ad Removed unneccessary c_str() from previous commit 2024-04-01 00:17:00 +02:00
Shauren 4131022f6c Core/Entities: Make ObjectGuid formattable with fmt without using ToString() 2024-03-31 19:32:39 +02:00
Shauren 2c702df4e3 Core/Pets: Removed overriding unit class for pets 2024-03-30 21:52:56 +01:00
Meji def601b4ff Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801) 2024-03-30 20:21:28 +01:00
Shauren c2ac37125b Core/Players: Use CharBaseInfo.db2 data to determine appropriate race for mercenary mode transforms 2024-03-28 21:11:59 +01:00
Jeremy be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren 39263027d4 Core/Conditions: Extend circular references check for player condition conditions to also handle two different conditions referencing each other 2024-03-27 22:17:25 +01:00
Meji 4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy 1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
Shauren 679bf966d6 Core/Maps: Initialize instance faction using group leader (if available) instead of the first player entering the map 2024-03-26 21:53:07 +01:00
Meji 6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren 94b78ebc8b Core/Players: Slightly improve neutral player faction support 2024-03-24 17:19:10 +01:00
aquadeus aac5581bfc Core/Players: Fix console errors of wrong teamid for neutral pandaren race 2024-03-24 17:19:10 +01:00
Shauren 303dbd3393 Core/Loot: Fixed crashes when generating loot on map that has no MapDifficulty data
Closes #29829
2024-03-24 00:26:15 +01:00
Shauren 4bfcaf1b42 Core/PacketIO: Fixed player updatefields 2024-03-22 16:04:47 +01:00
Shauren ac5aee6a98 Core: Updated to 10.2.6.53840 2024-03-21 21:07:23 +01:00
Shauren e99482ce9b Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason 2024-03-19 13:24:23 +01:00
Shauren e121ed81d1 Core/Logging: Improved generated code for log statements (length of text is computed at compile time) 2024-03-15 20:46:10 +01:00
Shauren 783f9c0ea3 Core/Scripts: Removed script calls from constructors and destructors 2024-03-14 20:32:03 +01:00
Shauren 6224036efd Core/Objects: Cook the copied pasta 2024-03-14 19:28:49 +01:00
Shauren 6f6af6a1a1 Core/Objects: Added ToWorldObject and ToItem 2024-03-14 11:37:32 +01:00
Shauren 9402c66e84 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name 2024-03-14 11:01:58 +01:00
Shauren 4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren ca656f4254 Core/Movement: FIxed followPathBackwardsFromEndToStart parameter of MotionMaster::MovePath 2024-03-12 11:49:42 +01:00
Shauren b93791255c Core/SmartAI: Load paths by their id now that SAI doesn't use a separate database table as waypoints source 2024-03-12 11:49:42 +01:00
Shauren a8cc8725b1 Core/Movement: Minor refactor for WaypointManager data loading 2024-03-12 11:49:42 +01:00
Shauren 5d29fc0b99 Core/Movement: Removed a possible lifetime trap when passing a custom WaypointPath to MovePath 2024-03-12 11:49:42 +01:00