Commit Graph

1087 Commits

Author SHA1 Message Date
Hondacrx 0fbdee96ca Core/Auras: Send scene complete if a SPELL_AURA_PLAY_SCENE aura is removed by expiration
Port From (https://github.com/TrinityCore/TrinityCore/commit/e58fa4c35eaf24cfa4866b8ca24a61d45a3382d2)
2025-06-08 16:01:12 -04:00
Hondacrx a3a9ef5259 Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator
Port From (https://github.com/TrinityCore/TrinityCore/commit/ace6342aea9e8e3f69af88ca3963fc961ba56f1b)
2025-06-08 15:56:31 -04:00
Hondacrx 354f560a44 Core/Spells: Don't fail spells SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE when target list is empty for one effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5c547a383e40b155a2063404c040ea0007c9ebd)
2025-06-08 15:14:03 -04:00
Hondacrx 57b2c5b550 Core/Items: Fixed item spell charge slot indexing
Port From (https://github.com/TrinityCore/TrinityCore/commit/c85d12fc3f0576163d4ffa91bb38f66894305349)
2025-06-08 15:09:36 -04:00
Hondacrx aa4975855c Core/Spells: Prevent even more cases of sending aura update packets for auras that aren't visible on client
Port From (https://github.com/TrinityCore/TrinityCore/commit/380b1f8986c20803ae7d8c2387d31a2645a7e508)
2025-06-08 14:53:30 -04:00
Hondacrx 144cd4151b Core/Objects: Removed type casts before accessing WorldObject::m_Events that became unneccessary after moving it from Unit to WorldObject
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc8874f30597a996eb30b7b278bcc71b2f082f10)
2025-06-08 14:52:11 -04:00
Hondacrx b8c7e7b567 Core/Spells: Prevent sending aura update packets for auras that aren't visible on client
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9470cd817890334a6a6d1609896de87e3cea5d4)
2025-06-08 14:48:11 -04:00
Hondacrx 667877ca87 Core/Spells: Added AttributesEx15 for serverside spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9456ce8266b775208584244bd9893051f587e04)
2025-06-08 14:46:47 -04:00
Hondacrx 4e29c11dc0 Core/Spells: Reimplemented target type 106 as random point from points predefined in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a51a6454912df635099572d07789a1d6789ff4d)
2025-06-08 14:36:57 -04:00
Hondacrx df8481c614 Core/Spells: Replace SpellTargetPosition structure with WorldLocation
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e36fd93601f10949c848c1fc30ee3b70f2cecfa)
2025-06-04 09:52:14 -04:00
Hondacrx bae38b01af Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered
Port From (https://github.com/TrinityCore/TrinityCore/commit/56fb627c7dd151190412468370db083ef3b044ad)
2025-06-04 09:39:32 -04:00
Hondacrx e098533a27 Core/Spells: Add summoned DynamicObject to casters ChannelObjects if spell is channelled
Port From (https://github.com/TrinityCore/TrinityCore/commit/333aaaaefd4023dcb719f3dbaeab829c3d26e77a)
2025-06-04 09:27:48 -04:00
Hondacrx e16f81ecda Core/Spells: Added aoe target cap for demon hunter talent "Fel Barrage"
Port From (https://github.com/TrinityCore/TrinityCore/commit/52dc1359cc78b5d8a88bf32e4bd50d53fcd03d11)
2025-06-04 09:26:00 -04:00
Hondacrx 89c7fa35b2 Core/Spells: Fixed SPELL_AURA_IGNORE_SPELL_COOLDOWN - don't start cooldown for affected spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e1414d5bc740e48b507c7f9910147372fb3862c)
2025-06-04 09:21:48 -04:00
Hondacrx 600b8ba18c Core/Spells: DynamicObject auras will now use the largest radius found in SPELL_EFFECT_PERSISTENT_AREA_AURA effects of the spell creating them
Port From (https://github.com/TrinityCore/TrinityCore/commit/497cb7df49550c2420ce8729254cc120d3290d2e)
2025-06-04 09:20:03 -04:00
Hondacrx 07e857dd63 Core/Spells: Allow persistent area auras to apply all of their effects upon creation.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d8636d4cc603262da8454231d64bd09b604b25f7)
2025-06-04 09:18:20 -04:00
Hondacrx 8485185889 Core/Spells: send rune cooldowns even after miss to match sniff data
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b7465aad8bb93b69da3a8beeb538d8e63569d0b)
2025-06-04 09:16:24 -04:00
Hondacrx 00af1579bb 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dc2e8fdc565ea35a4f6b442261da8566e81ca86)
2025-06-04 09:14:40 -04:00
Hondacrx 3d4118962e 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/76ab2007c0540542b892dd66e9287b394c54ee42)
2025-06-04 09:12:30 -04:00
Hondacrx d373675d9a Core/Spells: fixed power check for runes when casting spells - these have their own check and don't require the default one
Port From (https://github.com/TrinityCore/TrinityCore/commit/d9c2720393e95c9e0bac5c5d1d95bbdcf94d5c5b)
2025-06-04 09:10:06 -04:00
Hondacrx 89118b3e27 Core/Spells: Fixed crashes with spells using SPELL_EFFECT_ENCHANT_ITEM/SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC that are not cast by an item
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e3b8d172148b201f58595254d05ad91d7263bb9)
2025-06-04 09:09:09 -04:00
Hondacrx e68519679e Core/Auras: Use UnitListSearcher instead of WorldObjectListSearcher when searching for area aura targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/84b0eca4476faa68d9cf06431bc60c9a61c6152f)
2025-06-03 21:23:23 -04:00
Hondacrx 52952deee3 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has
Port From (https://github.com/TrinityCore/TrinityCore/commit/561b122364525deaee815ad900a78f1323c37776)
2025-06-03 21:17:25 -04:00
Hondacrx c496da9da0 Core/Auras: Fixed sending amounts for effects that need it, aren't first and don't have SPELL_ATTR8_AURA_POINTS_ON_CLIENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a1b81043eaae0e0feba2b693e1f004ac4791c30)
2025-06-02 16:05:19 -04:00
Hondacrx 7b0433c028 Core/Auras: Allow some whitelisted spells to update effect values of non-passive auras when adding spell mods
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a19b8160d8e2c8f2c2b10380fcd3fe7468810e2)
2025-06-02 14:03:36 -04:00
Hondacrx 56961a2ebc Core/Auras: Fixed aura stacks being reset to default max stack size when modified by SpellModOp::MaxAuraStacks and reaching the new limit
Port From (https://github.com/TrinityCore/TrinityCore/commit/586651031ee847232d0dabf3eff9e6b01075ef31)
2025-05-25 11:07:45 -04:00
Hondacrx 486d80ceb9 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/54a83b4b689b7d2bbddb91fc79319dd806da8cc0)
2025-05-25 11:04:24 -04:00
Hondacrx 9b75d3255d Core/Spells: Split TRIGGERED_IGNORE_POWER_AND_REAGENT_COST into separate POWER and REAGENT flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/151a50d2aa6e10efe7fc14e0bd22aaef9effa859)
2025-05-25 10:53:01 -04:00
Hondacrx 258bde8e13 Core/Spells: Moved loading aoe target caps out of SpellMgr::LoadSpellInfoCorrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/38eee2f034398e77335ec97228b931aaca5579bd)
2025-05-19 12:50:39 -04:00
Hondacrx 94877fed77 Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/884662a75a901af6f61cab9efc171d052e8042f4)
2025-05-19 11:01:52 -04:00
Hondacrx 6097bf92cc Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad06dcaaec6b55e3c2e6ae8214a44074f343c8ca)
2025-05-18 19:11:40 -04:00
Hondacrx 5b992859d0 Core: Updated to 11.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f7079f471401d5cf7885351baabc027813f60f5)
2025-05-18 19:05:48 -04:00
Hondacrx af43ed5519 Core/Spells: Fixed PROC_HIT_DISPEL and PROC_HIT_INTERRUPT on procs using PROC_SPELL_PHASE_HIT phase
Port From (https://github.com/TrinityCore/TrinityCore/commit/0706a114bbfd786434921bf95d0fbd6a5596fcb3)
2025-03-10 21:07:34 -04:00
Hondacrx df22f4dd74 Core/Spells: Fixed item level requirements for enchanting spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4ada2d3d2a719d650ed90b4f7e7428496717a7)
2025-02-24 10:45:11 -05:00
Hondacrx 519c642cff Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK
Port From (https://github.com/TrinityCore/TrinityCore/commit/3177c410e488866ece2803ddcf9ea09ea4b2b4fb)
2025-02-23 14:29:53 -05:00
Hondacrx 73f414fc90 Core/Spells: Implemented TargetAuraType and ExcludeTargetAuraType cast requirements
Port From (https://github.com/TrinityCore/TrinityCore/commit/43bf71b3742c6f3ee5f92eb27a6d0c11d1c562c2)
2025-02-23 14:24:49 -05:00
Hondacrx 644206f0d5 Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fb4acc25ae89360e71d33a8f7cba99bcc028b32)
2025-02-23 14:20:00 -05:00
Hondacrx 4d2dbbcf16 Core/Auras: Implemented mount equipment
Port From (https://github.com/TrinityCore/TrinityCore/commit/6dd5fb9d88e7a8b7da696bbe7b96947217b1ace2)
2025-02-17 15:06:19 -05:00
Hondacrx d46636fc3a Core/Spells: Fix custom load screen for SPELL_EFFECT_TELEPORT_UNITS
Port From (https://github.com/TrinityCore/TrinityCore/commit/29202810705804c1c5ac126195ab7bd60f56849f)
2024-11-17 14:07:41 -05:00
Hondacrx f2e8784960 Core/Auras: Implement SPELL_AURA_DISABLE_GRAVITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/765beae741ea0f332fe2ac1b4180b632462d1611)
2024-11-17 13:56:17 -05:00
Hondacrx f23db214ae Core/Spells: Temporarily force old flight style mounts
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d36db7ede2597e032c0e8bec5eee79e7be2dd10)
2024-11-17 13:15:32 -05:00
Hondacrx ba80dede79 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/23bb1a56b74191e131e41ad25edbe40ee4e76a96)
2024-11-17 12:09:17 -05:00
Hondacrx 25a716db9e Core/DataStores: Updated db2 structures to 11.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0352ef78ed93e18a869652e628345bc660f252b)
2024-11-11 11:12:45 -05:00
Hondacrx 3603e644af Core/GameObject: Implemented OnFlagTaken/OnFlagDropped hooks for GAMEOBJECT_TYPE_FLAGSTAND
Port From (https://github.com/TrinityCore/TrinityCore/commit/0535a61cb7c9da97f05e5867ce181d91e3dd92eb)
2024-11-10 22:51:48 -05:00
Hondacrx 16f13eece9 Core/Auras: Implemented SPELL_AURA_ADV_FLYING
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7a073140cb9cc41aefaff76eca5355acceff409)
2024-11-10 22:19:03 -05:00
Hondacrx 3a4eec6ebd Core/Auras: Implemented adv flying speed mod auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e0b146f1d6df817714595995632e2514e5869a8)
2024-11-10 22:13:41 -05:00
Hondacrx 61db6a77df Core/DataStores: Removed overriding field sign type based on db2 column compression
Port From (https://github.com/TrinityCore/TrinityCore/commit/89f490bdcdf88c2576c17218926e89b1082ae682)
2024-11-10 17:24:58 -05:00
Hondacrx 2e2c87090d Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_ID
Port From (https://github.com/TrinityCore/TrinityCore/commit/3238175a62750ea5127feb69ce86d0c3c05dfc52)
2024-11-10 16:56:17 -05:00
Hondacrx 3db6dcaf2f Fix Build 2024-11-10 13:50:52 -05:00
Hondacrx d9f90b014b Core/Spells: Refactor CastSpellExtraArgs
Port From (https://github.com/TrinityCore/TrinityCore/commit/975e7cc0723d3136822f6190de8742eef17a2539)
2024-11-10 13:48:39 -05:00