Commit Graph

43321 Commits

Author SHA1 Message Date
Ovahlord
dbe2f1ee7e Core/Spells: corrected refunding runes - they don't get put on a cooldown and don't send cooldowns for spells which had their runes refunded 2025-01-12 01:29:04 +01:00
Shauren
b195f45635 Core/Spells: Don't grant runic power when death knight abilities that do it using negative power cost miss and the spell has SPELL_ATTR1_DISCOUNT_POWER_ON_MISS
(cherry picked from commit 76ab2007c0)
2025-01-12 01:13:21 +01:00
Ovahlord
efb8ccc079 Core/Spells: reduce differences between branches
(cherry picked from commit 9b385282df40eef9370ae21e52a1b11e45bf9ab9)
2025-01-12 01:12:53 +01:00
Ovahlord
a8ceccebf9 DB/Spells: fixed Chill of the Grave 2025-01-11 21:05:04 +01:00
Ovahlord
e2c011fbd4 Scripts/Spells: increased precision when calculating Howling Blast's attack power bonus to match tooltip values 2025-01-11 20:44:33 +01:00
Ovahlord
a940ae963d DB/Spells: fixed Glyph of Howling Blast 2025-01-11 20:41:26 +01:00
Ovahlord
c1d8e30015 Scripts/Spells: fixed Howling Blast damage calculation 2025-01-11 20:36:09 +01:00
Ovahlord
7f29956937 Core/Spells: fixed power check for runes when casting spells - these have their own check and don't require the default one 2025-01-11 20:26:03 +01:00
Ovahlord
5564f95a21 Core/Spells: removed non-existing SpellCastVisual UF operator leftover from downgrading to Cataclysm 2025-01-11 19:29:44 +01:00
Shauren
4254434c1c Core/Spells: Fixed crashes with spells using SPELL_EFFECT_ENCHANT_ITEM/SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC that are not cast by an item
Closes #28664

(cherry picked from commit 1e3b8d1721)
2025-01-11 00:40:51 +01:00
Shauren
45b60b5115 Core/Units: Fill CurrentAreaID updatefield
(cherry picked from commit d38941c19b)
2025-01-10 22:49:53 +01:00
ModoX
c702346ac6 Core/Conditions: Allow conditions for seen object in CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY
(cherry picked from commit 6e3c8a8463)
2025-01-10 22:47:50 +01:00
Ovahlord
fcf1c757f3 DB:fixed sql file name from 4bc721aa25 2025-01-10 22:47:30 +01:00
Shauren
2693d73383 Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed
(cherry picked from commit 069771e22e)

# Conflicts:
#	sql/updates/world/cata_classic/2025_01_10_00_world.sql
#	src/server/game/Entities/AreaTrigger/AreaTrigger.cpp
#	src/server/scripts/BrokenIsles/MawOfSouls/boss_ymiron_the_fallen_king.cpp
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/World/areatrigger_scripts.cpp
2025-01-10 22:47:14 +01:00
Ovahlord
4bc721aa25 DB/Quests: added more quest data from mass parses 2025-01-10 22:39:14 +01:00
Shauren
aadaf748fa Core/Auras: Use UnitListSearcher instead of WorldObjectListSearcher when searching for area aura targets
(cherry picked from commit 84b0eca447)
2025-01-09 23:55:35 +01:00
Shauren
b6b985a822 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has
(cherry picked from commit 561b122364)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2025-01-09 20:56:16 +01:00
Shauren
9e26bf6a7f Core/Auras: Make iteration over Aura::GetAuraEffects safe by automatically skipping nullptr elements
(cherry picked from commit 97f58a59f1)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2025-01-09 20:55:14 +01:00
Shauren
08eb6312f2 Core/Auras: Fixed sending amounts for effects that need it, aren't first and don't have SPELL_ATTR8_AURA_POINTS_ON_CLIENT
(cherry picked from commit 0a1b81043e)
2025-01-09 20:54:38 +01:00
Shauren
e3ecbbd1b5 Core/DataStores: Delay building all DB2Manager containers after loading hotfix data to ignore rows marked as deleted by hotfixes
(cherry picked from commit da1ac5aa73)

# Conflicts:
#	src/server/game/DataStores/DB2Stores.cpp
2025-01-09 20:54:33 +01:00
Shauren
efeb9add00 Core/AreaTriggers: Don't suppress TimeToTarget changes in values update on movement start
(cherry picked from commit debbed0159)

# Conflicts:
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
2025-01-09 20:53:53 +01:00
Shauren
43c1a47c3d Fix nopch build
(cherry picked from commit 3eac7242d1)
2025-01-09 20:53:42 +01:00
Shauren
904d8aa040 Core/Misc: Removed GetClassName preprocessor hack
(cherry picked from commit 6f0e96a30a)
2025-01-09 20:53:38 +01:00
Shauren
4e7181c171 Core/Commands: Extract bonus lists and item context from provided item link for .additem commands
Closes #30209

(cherry picked from commit f647ff6865)
2025-01-09 20:53:32 +01:00
Shauren
40696d4754 Core/Network: Simplify worldserver port configuration: removed InstanceServerPort
(cherry picked from commit 039acb20e4)
2025-01-09 20:53:27 +01:00
Shauren
bceca01ce5 Core/Time: Fixed WowTime operator<=>
(cherry picked from commit 19aef6882d)
2025-01-09 20:53:23 +01:00
Shauren
9921cbffe9 Core/DataStores: Define new taxi node flags
(cherry picked from commit edbbbf8be3)
2025-01-09 20:53:18 +01:00
Shauren
b44bbb3072 Codestyle fix
(cherry picked from commit 2f30423c38)
2025-01-09 20:53:07 +01:00
Shauren
d785a48475 Core/Grids: Modernize TypeContainer with variadic template
(cherry picked from commit 401502ea3c)
2025-01-09 20:53:02 +01:00
Shauren
5ed1005afa Core/Grids: Add missing changes to commit e245e8ad12
(cherry picked from commit 0443391042)
2025-01-09 20:52:58 +01:00
Shauren
f5646a4307 Core/Grids: Minor Grid/NGrid refactor - make TypeMapContainer be its direct template parameter instead of passing in TypeList
(cherry picked from commit e245e8ad12)
2025-01-09 20:52:52 +01:00
Shauren
4bbb71c7e5 Core/Auras: Allow some whitelisted spells to update effect values of non-passive auras when adding spell mods
(cherry picked from commit 3a19b8160d)
2025-01-09 20:52:42 +01:00
Shauren
cfc260e681 Core/Objects: Use span/array instead of vector for raw ObjectGuid manipulations
(cherry picked from commit c72de2fbbc)
2025-01-03 18:05:09 +01:00
Shauren
5da556b9a4 Core/Database: Added std::span based functions to Field and PreparedStatement
(cherry picked from commit 27860c3316)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2025-01-03 18:05:04 +01:00
Shauren
a7587de5ed Core/Auras: Fixed aura stacks being reset to default max stack size when modified by SpellModOp::MaxAuraStacks and reaching the new limit
(cherry picked from commit 586651031e)
2025-01-03 18:03:00 +01:00
Ovahlord
0bfca1c18f Core/Units: ensure that damaging hits will always award at least one rage point 2025-01-03 16:34:25 +01:00
Ovahlord
cfbb909f3e Core/Units: round up rage calculations and use double precision 2025-01-03 16:17:07 +01:00
Ovahlord
5893ef28b0 build fix 2025-01-02 05:19:05 +01:00
Ovahlord
0e955e90e4 Core/Units: restored generating rage from taking damage and increased precision for its amount calculation 2025-01-02 04:25:51 +01:00
Ovahlord
5001b4193e build fix 2025-01-01 21:12:07 +01:00
Shauren
e3108547fd Scripts/Spells: Removed unneccessary hacks - reagent consumption by triggered spells fixed in 54a83b4b68 2025-01-01 21:07:12 +01:00
Shauren
990e4b0518 Core/Spells: Don't ignore power costs and reagents for spells triggered by SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_MISSILE, SPELL_EFFECT_FORCE_CAST, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL and fixed implementation of SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES
(cherry picked from commit 54a83b4b68)

# Conflicts:
#	src/server/game/Entities/Item/enuminfo_ItemDefines.cpp
#	src/server/game/Spells/Spell.cpp
2025-01-01 21:05:59 +01:00
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