Commit Graph

43279 Commits

Author SHA1 Message Date
Shauren
eaf412c1bb Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags
(cherry picked from commit 151a50d2aa)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
2025-01-01 21:00:25 +01:00
Shauren
435864761e Core/Misc: Include cleanup - remove MapUtils.h from Containers.h
(cherry picked from commit d778d5ec7c)

# Conflicts:
#	src/server/game/Achievements/CriteriaHandler.cpp
#	src/server/game/Globals/ObjectMgr.cpp
#	src/server/scripts/BrokenIsles/zone_mardum.cpp
#	src/server/scripts/ExilesReach/zone_exiles_reach.cpp
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
2025-01-01 20:59:52 +01:00
Shauren
af13de7f21 Core/Misc: Add concepts restrictions on container utilities for better compiler error messages
(cherry picked from commit 380dac62fd)
2025-01-01 20:59:00 +01:00
Ovahlord
bad0764efa DB/Quests: added more quest data from mass parses 2025-01-01 20:56:34 +01:00
Ovahlord
17c3ef0254 DB: corrected file name of sql file added in a460f785ca 2025-01-01 20:54:17 +01:00
Ovahlord
00b4b9ccfb Core/Units: downgrade creature corpse loot generation for Classic: no longer fill personal loot 2025-01-01 16:39:06 +01:00
Ovahlord
580a8a6df7 Core/Creatures: restore helper to check if a creature has been damaged enough by players to allow loot to drop 2025-01-01 16:03:10 +01:00
Ovahlord
1b7e827799 Core/Creatures: allow creatures with CREATURE_STATIC_FLAG_3_CAN_BE_MULTITAPPED to bypass the tapper cap 2025-01-01 15:57:47 +01:00
Ovahlord
fdd1388def Core/Creatures: implement helpers for checking and setting of CREATURE_STATIC_FLAG_3_CAN_BE_MULTITAPPED 2025-01-01 15:54:55 +01:00
Ovahlord
a460f785ca DB/Creatures: added missing default difficulty data for cataclysm classic anniversary and subscription mounts 2024-12-31 02:13:25 +01:00
Ovahlord
2ea6cccefe DB/Quests: added more missing entries and updated quests from bruteforce data 2024-12-31 01:52:40 +01:00
Ovahlord
e7f5f4c9fa DB/GameObjects: added missing template entries and updated existing ones from mass parses 2024-12-31 01:38:55 +01:00
Shauren
03c575b614 Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE
(cherry picked from commit 5e541de574)

# Conflicts:
#	src/server/scripts/DragonIsles/AzureVault/boss_leymor.cpp
#	src/server/scripts/ExilesReach/zone_exiles_reach.cpp
#	src/server/scripts/KhazAlgar/IsleOfDorn/zone_isle_of_dorn.cpp
#	src/server/scripts/Pandaria/zone_the_wandering_isle.cpp
#	src/server/scripts/Zandalar/KingsRest/boss_golden_serpent.cpp
2024-12-29 22:35:56 +01:00
Ovahlord
1d97582be7 build fix 2024-12-29 22:26:11 +01:00
Shauren
fd52be9fe5 Core/Loot: Implemented automatic flagging of tracking quests from loot
(cherry picked from commit d913e38cba)

# Conflicts:
#	sql/updates/world/cata_classic/2024_12_29_00_world.sql
2024-12-29 22:22:41 +01:00
Shauren
4084b85352 Core/Players: Refactored SetQuestCompletedBit to take questId instead of quest bit as argument
(cherry picked from commit d8bcf5fcb6)
2024-12-29 22:20:17 +01:00
Shauren
97538946b4 Core/Players: Added helper function to check quest completion using QuestV2 bits
(cherry picked from commit d78c3bb33a)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
2024-12-29 22:19:27 +01:00
ModoX
34bd46ae5c Core/Creature: Implement aggro grace period (#30362)
Ref: #26528 #30273 #23258
(cherry picked from commit 26d1337461)
2024-12-29 12:18:13 +01:00
Meji
cfc13bc280 Core/Units: Added helper methods to cancel mount/shapeshift auras (#30477)
(cherry picked from commit 0b16756172)
2024-12-29 12:18:00 +01:00
Meji
01bf45468b Core/Gossip: Fix interaction with gossip launched by accepting quest (#30419)
(cherry picked from commit 75bc3021da)
2024-12-29 12:17:56 +01:00
ModoX
74f9ad8c2e Core/AI: Remove default arguments for inter-script communication
(cherry picked from commit 6b96facee3)
2024-12-29 12:17:25 +01:00
ModoX
1f81c961f2 Core/AI: Implemented conversation ai (#30538)
(cherry picked from commit 309ba22a15)

# Conflicts:
#	src/server/scripts/BrokenIsles/zone_mardum.cpp
#	src/server/scripts/DragonIsles/AberrusTheShadowedCrucible/aberrus_the_shadowed_crucible.cpp
#	src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
#	src/server/scripts/KulTiras/WaycrestManor/waycrest_manor.cpp
#	src/server/scripts/KulTiras/zone_boralus.cpp
#	src/server/scripts/Shadowlands/SanctumOfDomination/boss_sylvanas_windrunner.cpp
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
#	src/server/scripts/Zandalar/KingsRest/kings_rest.cpp
2024-12-29 12:16:46 +01:00
Shauren
9b49b9009d Core/PacketIO: Refactor LootPackets to use new Bits<> writing utilities
(cherry picked from commit 28d3c1bc23)

# Conflicts:
#	src/server/game/Server/Packets/LootPackets.cpp
2024-12-29 11:57:08 +01:00
Ovahlord
c7208d5a6e Core/Units: implement reduced attack rage generation for players below level 10. This reduction will diminish as the player approaches level 10 2024-12-29 00:22:18 +01:00
Ovahlord
1129aa7a80 Core/Units: updated the rage per melee attack calculation for Cataclysm 2024-12-27 22:13:45 +01:00
Ovahlord
b179a7246d Core/Units: moved melee attack rage generation into Unit::AttackerStateUpdate and send the generated rage in combat log packet instead of power update packets 2024-12-26 13:12:19 +01:00
Shauren
23e66feef9 Core/JSON: Prevent more out of bounds memory accesses in json deserialization
(cherry picked from commit 661bd1a7f4)
2024-12-26 11:54:59 +01:00
Ovahlord
0b842d44d9 Scripts/OutdoorPvp: converted two raw pointers into smart pointers to fix possible memory leaks 2024-12-25 10:44:45 +01:00
Shauren
86960f140e Core/AuctionHouse: Updated AuctionHouseFilterMask and implemented current expansion filter
(cherry picked from commit 5b278a4ca7)
2024-12-24 20:17:46 +01:00
Shauren
93832c8728 Core/AuctionHouse: Skip own account commodity listing when buying
(cherry picked from commit 8ff8dfd620)
2024-12-24 20:17:42 +01:00
Shauren
3b18a3353b Core/AuctionHouse: Minor code modernization
(cherry picked from commit 969be9d33c)
2024-12-24 20:17:38 +01:00
Shauren
1c9facc73a Core/AuctionHouse: Fixed use after free
Closes #30128

(cherry picked from commit b83de81a70)
2024-12-24 20:17:34 +01:00
Shauren
a2d99b2219 Core/Spells: Moved loading aoe target caps out of SpellMgr::LoadSpellInfoCorrections
(cherry picked from commit 38eee2f034)

# Conflicts:
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
2024-12-24 14:54:25 +01:00
Ovahlord
b6c867ab08 DB/Misc: fixed a bunch of startup errors 2024-12-24 14:52:43 +01:00
ModoX
78590eb6e8 Core/Object: Fixed interaction dynamic flags assignment for GAMEOBJECT_TYPE_SPELLCASTER gameobjects
Closes #30533

(cherry picked from commit e588477791)
2024-12-22 11:54:57 +01:00
Ovahlord
686e575b6f DB/GameObjects: fixed phasing of several gameobject spawns in Acherus: The Ebon Hold 2024-12-21 22:24:30 +01:00
Ovahlord
5c0e09b31a Scripts/Spells: moved rogue spell scripts into namespaces to respect the one definiton rule 2024-12-21 22:03:00 +01:00
Ovahlord
2d820e591b Scripts/Spells: moved warrior spell scripts into namespaces to respect the one definition rule 2024-12-21 22:01:54 +01:00
Ovahlord
c5f8b2fd3f Scripts/Spells: moved death knight spell scripts into namespaces to respect the one definition rule 2024-12-21 22:00:29 +01:00
Shauren
cb29e42e3a Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
(cherry picked from commit 884662a75a)

# Conflicts:
#	src/server/scripts/Shadowlands/Torghast/spell_torghast.cpp
#	src/server/scripts/Spells/spell_azerite.cpp
#	src/server/scripts/Spells/spell_evoker.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
2024-12-21 17:41:47 +01:00
Ovahlord
4011a0df2b Scripts/Spells: fixed Blood Plague damage calculation 2024-12-20 21:34:55 +01:00
Ovahlord
2ddc37e265 Scripts/Spells: fixed damage calculations for Icy Touch and Frost Fever 2024-12-20 21:23:39 +01:00
Ovahlord
a2925358f0 Core/Spells: allow RealPointsPerLevel to always apply when no scaling coefficient is provided 2024-12-20 21:15:15 +01:00
Ovahlord
b356decda9 Core/Player: removed unused method leftover 2024-12-20 19:39:36 +01:00
Ovahlord
4e02f21ad4 nopch fix 2024-12-20 19:33:21 +01:00
Ovahlord
64ed97762d Scripts/Spells: fixed Death Coil 2024-12-20 19:24:30 +01:00
Ovahlord
2087f75871 Core/Player: fixed logic for determining fully depleted runes - these are runes at max cooldown that hasn't started recovering yet 2024-12-20 18:22:08 +01:00
Shauren
a5d4a0c9d7 Core/PacketIO: Fixed writing exactly 32 bits
(cherry picked from commit aa3a62e518)
2024-12-20 17:34:05 +01:00
Ovahlord
ab72a23a9f Scripts/Spells: fixed Runic Empowerment 2024-12-20 17:20:33 +01:00
Ovahlord
d353eb35a6 Core/Spells: corrected SPELL_EFFECT_ACTIVATE_RUNE behavior for Classic
* this fixes blood rune activation
2024-12-20 17:16:32 +01:00