Commit Graph

43385 Commits

Author SHA1 Message Date
Shauren
0cb94ea082 Core/Battlegrounds: Fixed invalid reference to temporary
(cherry picked from commit 2fd120da32)
2025-02-08 22:06:10 +01:00
Shauren
c3be7513b3 Scripts: Remove unneccessary DoublePosition from AreaBoundary
(cherry picked from commit 0f5d634e38)

# Conflicts:
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/instance_sepulcher_of_the_first_ones.cpp
2025-02-08 22:06:05 +01:00
Shauren
3d0989839a nopch fix (for real this time)
(cherry picked from commit e5fd0bd793)
2025-02-08 22:05:49 +01:00
ModoX
4c87e71f38 fix nopch
* and use Position const& for polygon origin
* aed08b8a82 followup

(cherry picked from commit 926f36758a)
2025-02-08 22:05:44 +01:00
ModoX
68bdea0052 Core/Maps: Implemented PolygonBoundary
(cherry picked from commit aed08b8a82)
2025-02-08 22:05:40 +01:00
ModoX
f5cf251ded Core/GridNotifiers: Added areatrigger searchers and NearestAreaTriggerEntryInObjectRangeCheck
(cherry picked from commit 8b7dce6521)
2025-02-08 22:05:34 +01:00
Shauren
4d0439ca1b Core/Auras: Ensure aura target of SPELL_AURA_TRIGGER_SPELL_ON_POWER_PCT has required power type
Closes #30669

(cherry picked from commit fc54ae79a9)
2025-02-08 22:05:29 +01:00
Shauren
162e724e2e Core/Misc: Reduce code differences between branches
(cherry picked from commit 9201c0f035)
2025-02-08 22:05:24 +01:00
Shauren
7ac91e8c33 Core/AreaTriggers: Corrected initial "fake" spline point for areatrigger movement
(cherry picked from commit 24af663443)
2025-02-08 22:05:19 +01:00
Shauren
835e51959b Core/Quests: Updated quest future status checks to include all variants of that status
(cherry picked from commit 5875058ed8)
2025-02-04 16:24:44 +01:00
Shauren
e964139967 Core/Misc: Reduce code differences between branches
(cherry picked from commit 69b647a24c)
2025-02-04 16:23:40 +01:00
Shauren
601d6e1d60 Core/Objects: Make guid generators atomic
(cherry picked from commit 6c925ed40c)
2025-02-04 16:23:35 +01:00
ModoX
055268d23e Core/Vehicle: Added RideSpellID field to override npc_spellclick_spells (#30198)
(cherry picked from commit 46251b5655)

# Conflicts:
#	sql/updates/world/cata_classic/2025_02_01_03_world.sql
2025-02-04 16:23:26 +01:00
Shauren
600b46bd35 Core/Commands: Fixed .debug guidlimits output for creature guids
(cherry picked from commit 4db19d3a1a)
2025-02-04 16:22:17 +01:00
Shauren
02b3456b05 Core/Spells: Remove manual spell guid creation in scripts
(cherry picked from commit dbd761d20a)

# Conflicts:
#	sql/updates/world/cata_classic/2025_02_01_00_world.sql
#	src/server/scripts/Commands/cs_misc.cpp
2025-02-01 05:39:34 +01:00
ModoX
30dc45e2db Fix nopch build
(cherry picked from commit 813eb16441)
2025-02-01 05:36:49 +01:00
ModoX
0939c4c416 Core/Auras: Send scene complete if a SPELL_AURA_PLAY_SCENE aura is removed by expiration
(cherry picked from commit e58fa4c35e)
2025-02-01 05:36:45 +01:00
sanctum32
6ffb02e277 Core/SAI: Improve SMART_ACTION_ATTACK_START to exclude non-unit targets from selection pool (#30653)
(cherry picked from commit 444a98111a)
2025-02-01 05:36:40 +01:00
Shauren
9f084cd749 Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator
(cherry picked from commit ace6342aea)

# Conflicts:
#	src/server/scripts/Spells/spell_dh.cpp
2025-02-01 05:36:35 +01:00
Shauren
1547fd0d8a Core/Auras: Fixed SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS logic - no longer incorrectly unapplies all auras for immunities that don't use it
(cherry picked from commit 107ca37c68)
2025-02-01 05:36:20 +01:00
Shauren
176d1e73e8 Core/Spells: Don't fail spells SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE when target list is empty for one effect
Closes #30603

(cherry picked from commit a5c547a383)
2025-02-01 05:36:16 +01:00
Shauren
7848d0bf8d Core/Conditions: Corrected upper array bound requirement for PlayerConditionLogic
(cherry picked from commit 38096181eb)
2025-02-01 05:36:10 +01:00
Ovahlord
977452c74b Scripts/Spells: fixed Seal of Insight 2025-01-26 16:44:36 +01:00
Ovahlord
59c61f7c15 Scripts/Spells: fixed Judgement of Truth damage bonus 2025-01-26 15:56:28 +01:00
Shauren
3eb4ccc9a0 Core/Items: Fixed item spell charge slot indexing
Closes #30585

(cherry picked from commit c85d12fc3f)

# Conflicts:
#	src/server/game/Entities/Item/Item.h
#	src/server/game/Globals/ObjectMgr.cpp
2025-01-26 12:59:30 +01:00
Shauren
b61960c1a9 Core/Spells: Prevent even more cases of sending aura update packets for auras that aren't visible on client
(cherry picked from commit 380b1f8986)
2025-01-26 12:48:43 +01:00
Shauren
7fc1eb1054 Core/Objects: Removed type casts before accessing WorldObject::m_Events that became unneccessary after moving it from Unit to WorldObject
(cherry picked from commit bc8874f305)
2025-01-26 12:48:37 +01:00
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