Commit Graph

21437 Commits

Author SHA1 Message Date
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
Naddley
8a271c402d DB/Mardum: Implement Quest "Give Me Sight Beyond Sight" (#29833)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-03-26 00:21:22 +01:00
Naddley
ee0858d859 Scripts/Stormwind: Implement RP Event for quest "Ancient Curses" (#29780) 2024-03-25 23:19:05 +01:00
Shauren
a83d4491f8 Scripts/Spells: Fix Whispering Shadows target selection logic if there are less than 8 units hit that don't have Vampiric Touch on them 2024-03-25 11:36:02 +01:00
Mematoru23
834c6b8577 Scripts/Spells: Implemented Priest talent Whispering Shadows (#29776)
Co-authored-by: Cristian Vintila <127750549+cristiv23@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-03-25 00:32:04 +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
28596792a8 Fix build with openssl 1.1.1 2024-03-21 21:45:13 +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
Aqua Deus
41055c7a32 Scripts/Spells: Fix rhapsody talent (#29804)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-03-18 22:54:21 +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
Shauren
6b6a13d9c7 Core/Movement: Make MovementGenerator not copyable and movable 2024-03-12 11:49:42 +01:00
Shauren
6c533482c6 Core/Movement: Removed default arg values from MovementGenerator Pause and Resume functions 2024-03-12 11:49:42 +01:00
Shauren
62dc916184 Core/Auras: Update visible aura immediately during spell cast instead of waiting for next update tick 2024-03-10 00:34:23 +01:00
Shauren
2913263813 Fix GCC build 2024-03-09 01:08:31 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
1439535c6a Core/Players: Extend Player::SendInitialVisiblePackets to work with all WorldObject types 2024-03-08 21:02:29 +01:00
Shauren
d397b636d4 Core/Objects: Keep current WMO info on position updates and use it in party member state packets 2024-03-07 13:31:12 +01:00
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
1f73cf9f19 Core/AuctionHouse: Fixed possible use after free when auctions are removed with offline buyers 2024-03-06 12:05:54 +01:00
Shauren
ecf302ac49 Core/PacketIO: Fixed structures of SMSG_INSPECT_RESULT and SMSG_RATED_PVP_INFO 2024-03-06 11:23:15 +01:00
Shauren
0c32277139 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) 2024-03-04 16:14:23 +01:00
Shauren
1369b87084 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish) 2024-03-04 00:05:35 +01:00
Meji
74ec1d3cfb Core/Locales: Store empty localized strings present in database (#29779) 2024-03-03 23:49:16 +01:00
Meji
a5a2f5af2d Core/Units: Set UNIT_FLAG3_FAKE_DEAD as disallowed flag for database column 2024-03-03 21:02:17 +01:00
Shauren
c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Shauren
7a46f81fd1 Core/Creatures: Implemented CREATURE_STATIC_FLAG_6_ALWAYS_STAND_ON_TOP_OF_TARGET 2024-03-02 15:33:16 +01:00
Shauren
f2ce5072d6 Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags) 2024-03-02 15:06:33 +01:00