Commit Graph

42783 Commits

Author SHA1 Message Date
Ovahlord
bf23db4daa power regen update 2024-07-14 19:02:22 +02:00
Ovahlord
20a8c46a72 Core/Players: turn rune cooldowns into floats and change their cooldown calculation to get closer to what the other power types do 2024-07-12 02:58:00 +02:00
Ovahlord
3751c13834 Core/Units: implement PowerTypeFlags::RegenAffectedByHaste 2024-07-12 01:23:49 +02:00
Shauren
e543db0ed4 Core/PacketIO: Fixed SMSG_ATTACKER_STATE_UPDATE structure
Closes #30036

(cherry picked from commit b103de805a)
2024-07-11 19:07:02 +02:00
Shauren
4988e328d4 Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet)
(cherry picked from commit 16bfbe1a3a)
2024-07-11 19:06:57 +02:00
Shauren
4c4f5f0ae4 Core/Logging: Removed one layer of allocations from log message writes (async doesn't wrap in shared_ptr anymore and sync creates LogMessage on the stack)
(cherry picked from commit 1cd7898c01)
2024-07-11 19:06:51 +02:00
Shauren
a638c36905 Core/Logging: Fixed a bunch of invalid format strings
(cherry picked from commit 0d8e3dd798)
2024-07-11 19:06:45 +02:00
Ovahlord
934ef521e3 Core/Auras: implemented SPELL_AURA_CONVERT_RUNE 2024-07-11 18:29:07 +02:00
Ovahlord
c41e21db23 Core/Spells: implement support for energizing runes via SPELL_EFFECT_ENERGIZE 2024-07-11 17:59:13 +02:00
Ovahlord
dbf2a4288e Core/Spells: implemented SPELL_EFFECT_ACTIVATE_RUNE 2024-07-11 17:30:56 +02:00
Ovahlord
fe97a86415 Core/Player: update rune regeneration and consumption for Cataclysm Classic
* the regeneration bonus from haste is tied to the HasteRegen update field and must be implemented first before we can handle it
2024-07-11 17:14:22 +02:00
Ovahlord
3bb327b2bc buildfix 2024-07-11 16:01:53 +02:00
Ovahlord
0af3226379 Core/Player: fixed a crash in rewarding quests when a QuestRewardDisplay spell is 0 (in classic the container is an array instead of a vector) 2024-07-11 16:00:58 +02:00
Ovahlord
2844d79ead Core/Packets: enabled and added packet class for SMSG_CONVERT_RUNE 2024-07-11 15:15:35 +02:00
Ovahlord
cce07dca09 remove whitespace 2024-07-10 01:06:56 +02:00
Ovahlord
b6e59b86a8 Core: Update allowed build to 4.4.0.55460 2024-07-09 21:22:39 +02:00
Ovahlord
a0de631a8a Core/Spells: fixed Heroic Strike damage calculation 2024-07-09 11:43:30 +02:00
Shauren
9c67bdf329 Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster
(cherry picked from commit 67dd9a920f)
2024-07-08 13:13:11 +02:00
Shauren
7198c5223e Core/Creatures: Fixed memory leaks in creature formations
(cherry picked from commit 2e3920081f)
2024-07-08 13:13:06 +02:00
Shauren
2fc0272533 Revert "Core/Creature: Formation reset (#27040)"
This reverts commit 01da436206.

(cherry picked from commit cdf0d62e48)
2024-07-08 13:13:02 +02:00
Shauren
23545f8182 Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells
(cherry picked from commit 7fdcae81d8)
2024-07-08 13:12:57 +02:00
Ovahlord
3a3d242f27 DB/Quests: added missing quest data from bruteforces 2024-07-08 13:12:19 +02:00
Ovahlord
61c040d4f0 DB/Misc: fixed more startup errors 2024-07-08 12:51:03 +02:00
Shauren
120bea629d Core/Vmaps: Fixed use after free and deadlocks when loading a model file fails
(cherry picked from commit d05dbaaecb)
2024-07-06 22:59:34 +02:00
Ovahlord
0fe73dc2b6 Core/Quests: fixed an oversight in quest query initialization which was causing crashes in debug mode 2024-07-06 21:42:36 +02:00
Ovahlord
6cbd1a241a DB/Hotfixes: removed blob data which should go into AreaTriggerActionSet 2024-07-06 19:29:23 +02:00
Ovahlord
b0a856a86d DB/Misc: fixed a ton of startup errors caused by missing or invalid data and wiped npc_trainer table data 2024-07-06 19:22:04 +02:00
Shauren
1a3ad52a0b Tools/vmap_assembler: Organize vmap files into directory-per-map
(cherry picked from commit 518fe1fd1e)
2024-07-06 15:36:52 +02:00
Shauren
134b602b95 Tools/vmap_assembler: Use boost::filesystem::path for creating filenames
(cherry picked from commit 51d1ff11bc)
2024-07-06 15:36:47 +02:00
Shauren
f40c4e3218 Tools/vmap_assembler: Multithread building vmaps
(cherry picked from commit 11a252e601)
2024-07-06 15:36:43 +02:00
Shauren
e46cad36d2 Tools/vmap_extractor: Split temporary dir_bin into multiple files (one per map) to significantly reduce peak memory usage by vmap_assembler
(cherry picked from commit a0f13391a0)

# Conflicts:
#	src/tools/vmap4_extractor/vmapexport.cpp
2024-07-06 15:36:37 +02:00
Shauren
caf4c02da8 Core/Vmaps: Optimize loading vmaps
* Changed spawn id to BIH tree index mapping from generated on load to baked in tile files
* Remove map holding model load counts and moved that to ModelInstance instead

(cherry picked from commit 35a2d49971)
2024-07-06 15:36:10 +02:00
Shauren
5acd308550 Core/Vmaps: Minor cleanup in MapTree - use unique_ptr to manage file handles
(cherry picked from commit 5dbb6b043f)
2024-07-06 15:36:06 +02:00
Shauren
f82fcdc176 remove double empty line
(cherry picked from commit c3dd80a96e)
2024-07-06 15:36:02 +02:00
Shauren
69febfca78 Core/Database: Fixed WITH_COREDEBUG + WITH_DYNAMIC_LINKING incompatibility on windows
(cherry picked from commit f895d04b7d)
2024-07-06 15:35:58 +02:00
Shauren
5ed6b5e53a Core/Vmaps: Minor cleanup in vmap4assembler - use unique_ptr to manage file handles
(cherry picked from commit c8a55f4a18)
2024-07-06 15:35:54 +02:00
Shauren
b62b0e9317 Core/Vmaps: Replace floatToRawIntBits/intBitsToFloat with standard bit_cast utilities
(cherry picked from commit 76a3611317)
2024-07-06 15:35:42 +02:00
Shauren
0a1d2c7813 Core/Vmaps: Replace manual reference counting with shared_ptr and slightly reduce memory use by deduplicating model name strings
(cherry picked from commit ff4fc1ad4e)
2024-07-05 04:43:39 +02:00
Shauren
8d9e1e663e Core/Spells: Implemented SPELL_ATTR9_CHANNEL_PERSISTS_ON_PET_FOLLOW
(cherry picked from commit fd329ee848)
2024-07-05 04:43:34 +02:00
Shauren
071ddfa162 Core/Spells: Remove spell range increase when caster or target move backwards
(cherry picked from commit f19e1a2716)
2024-07-05 04:43:28 +02:00
Shauren
0617d977e9 Core/Spells: Implemented caster-is-moving aoe radius bonus and SPELL_ATTR9_NO_MOVEMENT_RADIUS_BONUS
(cherry picked from commit 321f3cc4a7)
2024-07-05 04:43:23 +02:00
Shauren
e291e82d7b Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit af081ea5f0)
2024-07-05 04:43:18 +02:00
Shauren
184d48cb65 Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET
(cherry picked from commit b3bdb4efef)
2024-07-05 04:43:13 +02:00
Shauren
1622a5e7be Core/Spells: Implemented SPELL_ATTR9_FORCE_CORPSE_TARGET
(cherry picked from commit af39104798)
2024-07-05 04:43:08 +02:00
Shauren
de5215b3bc Core/Spells: Implemented SPELL_ATTR9_ITEM_PASSIVE_ON_CLIENT
(cherry picked from commit 321161230f)
2024-07-05 04:43:01 +02:00
Shauren
0837b9b602 Core/Spells: Rename more SpellAttr9 to official names
(cherry picked from commit 70cff79ca6)
2024-07-05 04:42:56 +02:00
Shauren
0885458cb3 Core/Spells: Implemented SPELL_ATTR9_IGNORE_CASTER_HEALING_MODIFIERS and SPELL_ATTR13_ALWAYS_ALLOW_NEGATIVE_HEALING_PERCENT_MODIFIERS
(cherry picked from commit 96bfc5f39b)
2024-07-05 04:42:52 +02:00
Shauren
89adfdf31e Tools/mmaps_generator: Fixed executable name and default values in --help
(cherry picked from commit 08778dc1c8)
2024-07-05 04:42:47 +02:00
ModoX
d1a903b837 Core/Maps: Implemented BoundaryIntersectionBoundary
(cherry picked from commit f077b8608c)
2024-07-05 04:42:41 +02:00
Shauren
a0d6548be3 Core/Spells: Implemented SPELL_ATTR9_JUMPCHARGE__NO_FACING_CONTROL
(cherry picked from commit 486641063e)
2024-07-05 04:42:37 +02:00