Commit Graph
15632 Commits
Author SHA1 Message Date
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
Shauren 3f8f867425 Core/PacketIO: Implemented and enabled SMSG_STOP_SPEAKERBOT_SOUND 2024-03-02 00:07:47 +01:00
Shauren e1e53ee06e Core/Creatures: Fixed sparring 2024-03-01 18:38:49 +01:00
Shauren 67244a1f70 Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf) 2024-03-01 16:05:34 +01:00
Ovahlord 47c14bedef Core/Items: allow all soulbound common and poor items to unlock their appearance to reflect patch 10.0.5 changes 2024-03-01 01:39:41 +01:00
Shauren a814eb65b1 Core/Spells: Implemented pausing spell cooldowns 2024-03-01 00:23:09 +01:00
Shauren ede97a52e9 Core/Spells: Store truncated (only up to millisecond precision) cooldown times 2024-03-01 00:23:09 +01:00
Ovahlord 4e8e3d8fb8 Core/Creature: corrected swimming toggle behavior for amphibious creatures 2024-03-01 00:15:14 +01:00
Benjamin Jackson eecdba9e01 Core/Misc: Rename templat to characterTemplate so it stop looking like a typo despite not being one. (#29421) 2024-02-29 18:44:43 +01:00
Shauren 0139ec41bb Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS 2024-02-29 18:09:10 +01:00
Shauren d373802458 Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_FLOATING, CREATURE_STATIC_FLAG_SESSILE and CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER 2024-02-29 16:47:35 +01:00
Ovahlord fb3e6737da Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement (#29766)
this serves as a means to reduce the console spam caused by failed spline validation
2024-02-29 15:52:25 +01:00
Ovahlord c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren 59f92412d0 Core/Movement: MoveRotate improvements
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
2024-02-28 21:10:05 +01:00
Shauren 288966e796 Core/Movement: Fixed MoveRotate not updating orientation 2024-02-28 20:41:04 +01:00
Shauren deb24f3f53 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES 2024-02-27 16:13:23 +01:00
Shauren 9463933eda Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT and overriding default mount from creature addon 2024-02-27 14:05:47 +01:00
Shauren 120a19d179 Core/Items: Fixed possible out of bounds array access when applying enchantments to equipped profession tools 2024-02-27 12:41:17 +01:00
Shauren be3dc89c32 Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE 2024-02-27 00:13:11 +01:00
Jeremy 409adfa7a5 Core/Battlegrounds: Isle of Conquest Rework (#29687) 2024-02-26 22:33:07 +01:00
Shauren 9ecb93f34d Core/Spells: Don't modify item charges in all slots on a single item spell cast 2024-02-26 14:39:16 +01:00
Shauren 0c76618b19 Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack 2024-02-26 00:03:02 +01:00
Mykhailo Redko 02b977c98e Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB() (#29582) 2024-02-25 18:58:00 +01:00
Razmataz 31236de396 Core/Players: Support race and faction changes for new races (#29755) 2024-02-25 18:49:20 +01:00
Ovahlord 6c15fb00e5 Core/Units: Update facing spline movement immediately after launching (#29494) 2024-02-25 15:12:46 +01:00
ModoX f664673990 Core/PacketIO: Implemented CMSG_CHECK_IS_ADVENTURE_MAP_POI_VALID and SMSG_PLAYER_IS_ADVENTURE_MAP_POI_VALID (#29626) 2024-02-24 18:44:42 +01:00
ModoX dd15d763cc Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes (#29646) 2024-02-24 15:05:21 +01:00
Shauren d30c4d4e73 Core/Position: Allow constexpr use of Position 2024-02-24 12:58:38 +01:00
ModoX c52737852d Core/Vehicle: Don't set players movementInfo on vehicle dismiss (#29744) 2024-02-24 11:44:02 +01:00
Jeremy 9c5b8927f8 Core/Battlegrounds: Move some areatrigger handling to scripts (#29700) 2024-02-23 18:09:57 +01:00
Shauren efedaed6ce Warning fix 2024-02-22 19:02:42 +01:00
Shauren d4dee68c04 Build fix 2024-02-22 18:50:47 +01:00
Shauren cc47fd75b4 Core/Movement: Removed template from FleeingMovementGenerator 2024-02-22 18:21:52 +01:00
Shauren a748fddfa4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range) 2024-02-22 15:47:11 +01:00
Shauren c8bd6f5da3 Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone 2024-02-21 13:16:55 +01:00
Shauren 305cb9a81a Core/Creatures: Prevent resetting creature sparring health thresholds on evade if it was changed to a custom value by a script 2024-02-20 22:26:29 +01:00
Shauren 877ae5b47d Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE 2024-02-19 21:05:03 +01:00