Commit Graph

43358 Commits

Author SHA1 Message Date
Shauren
32f4c360ac Core/Spells: Prevent sending aura update packets for auras that aren't visible on client
Closes #30633

(cherry picked from commit e9470cd817)
2025-01-26 12:47:52 +01:00
Ovahlord
5327688c26 Core/Spells: added missing AttributesEx15 member to SpellInfo 2025-01-26 12:47:25 +01:00
Meji
b54d93c7a9 Core/Spells: Added AttributesEx15 for serverside spells (#30632)
(cherry picked from commit c9456ce826)

# Conflicts:
#	sql/updates/world/cata_classic/2025_01_23_00_world.sql
#	src/server/game/Spells/SpellMgr.cpp
2025-01-26 12:31:34 +01:00
Ovahlord
e9105be6d8 Scripts/Spells: fixed Seal of Truth 2025-01-26 12:15:14 +01:00
Ovahlord
a777f6768e Scripts/Spells: round the damage values of Seal of Righteousness and Seal of Justice to match expected numbers and to prevent low level players from dealing no damage 2025-01-26 11:43:18 +01:00
Ovahlord
ccf00f50d4 Scripts/Spells: fixed Seal of Justice 2025-01-26 11:33:31 +01:00
Ovahlord
42740ba740 Scripts/Spells: fixed Judgement 2025-01-26 10:55:38 +01:00
Ovahlord
55992fe247 Core/Auras: apply AURA_STATE_MARKED for Paladin Seals 2025-01-25 11:45:03 +01:00
Ovahlord
3ec0ba7c83 Scripts/Spells: fixed Seal of Righteousness 2025-01-25 11:27:37 +01:00
Ovahlord
aaec1db9f0 DB/GameObjects: added more data from mass parses 2025-01-23 19:05:37 +01:00
Ovahlord
4cd1c5d95a DB/Quests: added more quest data from mass parses 2025-01-23 19:01:32 +01:00
Ovahlord
df56774f34 DB/Quests: added more quest data from mass parses 2025-01-23 18:47:08 +01:00
Ovahlord
51d68fb596 DB/Quests: added more quest data from mass parses 2025-01-23 18:39:56 +01:00
Ovahlord
d905e6e413 DB/Quests: added more quest data from mass parses 2025-01-23 18:33:20 +01:00
Ovahlord
1089bf827c DB/GameObjects: added more data from mass parsing 2025-01-23 18:28:57 +01:00
Shauren
a1962dc319 Core/Spells: Reimplemented target type 106 as random point from points predefined in database
Closes #30116

(cherry picked from commit 2a51a64549)

# Conflicts:
#	sql/updates/world/cata_classic/2025_01_21_00_world.sql
2025-01-21 18:30:23 +01:00
Shauren
b3e8726880 Core/Utils: Allow using Trinity::IteratorPair with SelectRandomContainerElement
(cherry picked from commit 476b8951e1)
2025-01-21 18:29:32 +01:00
Shauren
1c04f09609 Scripts/Spells: Use Spell::GetPowerTypeCostAmount where possible instead of iterating Spell::GetPowerCost
(cherry picked from commit 26376d89e1)

# Conflicts:
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
2025-01-21 18:28:54 +01:00
Shauren
d36d2e1fcc Core/Spells: Replace SpellTargetPosition structure with WorldLocation
(cherry picked from commit 0e36fd9360)
2025-01-20 20:46:27 +01:00
Shauren
562e2a616c Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered
(cherry picked from commit 56fb627c7d)
2025-01-20 20:46:23 +01:00
Shauren
54d6486034 Core/Misc: Added float chrono typedefs
(cherry picked from commit cb4013efe6)

# Conflicts:
#	src/server/scripts/Spells/spell_dh.cpp
#	src/server/scripts/Spells/spell_evoker.cpp
2025-01-20 20:46:17 +01:00
Ovahlord
e122b1b67f DB/GameObjects: added more data from mass parses 2025-01-19 15:28:36 +01:00
Ovahlord
20baf1052c DB/Misc: fixed a bunch of startup errors 2025-01-19 13:59:02 +01:00
Ovahlord
32bd6e58f7 DB/Creatures: corrected armor and attack power values for UNIT_CLASS_WARRIOR creatures between level 1 and 5 2025-01-18 23:22:04 +01:00
Ovahlord
e36a66d632 Build: enable MSVC warning C5038 - member initialization order to get closer to the warning behavior of the other compilers 2025-01-18 22:57:04 +01:00
Shauren
f156cbf593 Core/Spells: Add summoned DynamicObject to casters ChannelObjects if spell is channelled 2025-01-18 00:09:10 +01:00
Shauren
a49dd60755 Core/Misc: Remove return type std::enable_if based SFINAE 2025-01-18 00:09:00 +01:00
Shauren
3fc2699a4f Core/Misc: Remove unneccessary structure packing and one unused enum 2025-01-18 00:08:50 +01:00
Shauren
226b430fab Core/Spells: Fixed SPELL_AURA_IGNORE_SPELL_COOLDOWN - don't start cooldown for affected spells 2025-01-18 00:08:40 +01:00
Ovahlord
52fd2b29cd DB/Creatures: added data for new Timbered Air Snakelet companion 2025-01-14 23:02:09 +01:00
Ovahlord
76598ff08e DB/Hotfixes: added enUS data for 4.4.1.58558 2025-01-14 22:20:42 +01:00
Shauren
d49a8d4a3e Core: Updated allowed build to 4.4.1.58558 2025-01-14 09:51:09 +01:00
Shauren
f02d30be65 Core/Spells: DynamicObject auras will now use the largest radius found in SPELL_EFFECT_PERSISTENT_AREA_AURA effects of the spell creating them
(cherry picked from commit 4bec94451f)
(cherry picked from commit 497cb7df49)
2025-01-13 19:31:20 +01:00
CraftedRO
7aac50c888 Core/Spells: Allow persistent area auras to apply all of their effects upon creation. (#30422)
This fixes the issue where the area auras do not instantly apply their effects.
Actually, they were only applying the last SPELL_EFFECT_PERSISTENT_AREA_AURA;
Flare and Frost Trap have 2 and 3 SPELL_EFFECT_PERSISTENT_AREA_AURA effects respectively, so only the last one would be applied.

Co-Authored-By: zana244 <50482785+zana244@users.noreply.github.com>
(cherry picked from commit b6bb35bb9a)
(cherry picked from commit d8636d4cc6)
2025-01-13 19:31:15 +01:00
Ovahlord
5bb8b11f81 DB/Quests: added more quest data from mass parses 2025-01-12 23:53:36 +01:00
Ovahlord
7d5e794fd3 Core/Spells: send rune cooldowns even after miss to match sniff data 2025-01-12 18:52:20 +01:00
Ovahlord
4cdd79aed0 DB/Spells: corrected proc behavior of Chill of the Grave - only allow it to proc when its triggering spells hit the target
(cherry picked from commit 59c6650db38a547584f87a97479a23b6c49e6ff6)
2025-01-12 01:29:20 +01:00
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