Commit Graph

1105 Commits

Author SHA1 Message Date
Hondacrx 885255604e Core/Spells: Fixed SPELL_EFFECT_CHARGE trigggering arrival effects too early
Port From (https://github.com/TrinityCore/TrinityCore/commit/a97775ba26bdce1dc6ae57a2c588dab53bade016)
2025-08-10 12:56:29 -04:00
Hondacrx b43849a605 Core/Spells: Merge Spell::SetSpellValue overloads
Port From (https://github.com/TrinityCore/TrinityCore/commit/e57b0296d65446e358ead632750c4ae0c5249631)
2025-08-10 12:40:04 -04:00
Hondacrx 31d42fa21f Core/Spells: Apply spell modifiers multiple times to each cast, based on number of matched SpellFamilyFlags bits
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfcd41abefec371e6af9db7db92c1dd55aa701ff)
2025-08-10 12:25:45 -04:00
Hondacrx 37e7d86a2c Core/Auras: Fixed SPELL_ATTR13_PERIODIC_REFRESH_EXTENDS_DURATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/92773e207c94e355fd37b266a219aad977cce9e2)
2025-08-09 21:45:16 -04:00
Hondacrx e48d7c9778 Core/Auras: Fixed SPELLVALUE_AURA_STACK adding incorrect number of stacks on aura refresh
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c605ce621a137f32cf02527d48e36fed1b6e235)
2025-08-09 21:38:54 -04:00
Hondacrx 59cfc97e15 Core/Spells: Fixed spells that scale value with master not being affected by SpellModOp::Points and SpellModOp::PointsIndex spellmods
Port From (https://github.com/TrinityCore/TrinityCore/commit/bb67a4279145c37c2106d2bd7a54b14186502602)
2025-08-09 21:31:29 -04:00
Hondacrx 13554e08ab Core/Auras: Implemented SPELL_AURA_MOD_CHARGE_RECOVERY_RATE, SPELL_AURA_MOD_CHARGE_RECOVERY_RATE_BY_TYPE_MASK and SPELL_AURA_MOD_CHARGE_RECOVERY_BY_TYPE_MASK
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa75f635669df6f0aab4abef074f9e8da4b5bf06)
2025-06-16 17:36:41 -04:00
Hondacrx e78a52886c Core/Auras: Implemented SPELL_AURA_IGNORE_SPELL_CHARGE_COOLDOWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0d3781989c3e9339bfc14981a57683d3010f4e0)
2025-06-16 17:22:39 -04:00
Hondacrx 7d46284519 Core/Auras: Implemented SPELL_AURA_MOD_RECOVERY_RATE and SPELL_AURA_MOD_RECOVERY_RATE_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c198938005bb22f20a0d150a6505324a2d941de)
2025-06-16 17:21:48 -04:00
Hondacrx 9287b9b3a7 Core/Players: Implement warband scene collection
Port From (https://github.com/TrinityCore/TrinityCore/commit/29e032707686b18bbcce7029e8dd2eaa6606f6d4)
2025-06-16 16:42:29 -04:00
Hondacrx 7fd54e6175 Core: Updated to 11.1.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/23624ed75abc8cbb77bb2e24a08e0836e4c41db5)
2025-06-16 14:47:31 -04:00
Hondacrx 827c97a613 Core/Misc: Reduce differences between cores
Port From (https://github.com/TrinityCore/TrinityCore/commit/ff6a107ac0e7a82d728f8fd2fd8423743233a474)
2025-06-15 17:10:38 -04:00
Hondacrx 59b507e93d Fixed Server starting. 2025-06-09 00:04:23 -04:00
Hondacrx cb21664b4f Core/Spells: Implemented SpellEffectAttributes::DontFailSpellOnTargetingFailure
Port From (https://github.com/TrinityCore/TrinityCore/commit/195945742105fa8dbd061f3b62b755d722655931)
2025-06-08 19:31:53 -04:00
Hondacrx aeaaf2a192 Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura
Port From (https://github.com/TrinityCore/TrinityCore/commit/adb63648f14bab0c757afb4429337dda232dab7a)
2025-06-08 19:06:03 -04:00
Hondacrx 54f4251399 Scripts/Spells: Add Divine Storm target cap
Port From (https://github.com/TrinityCore/TrinityCore/commit/320c44e8e74dbd6657cba227d4b16fed1e8aba7d)
2025-06-08 18:47:34 -04:00
Hondacrx 518969ad2f Core/Auras: Ensure aura target of SPELL_AURA_TRIGGER_SPELL_ON_POWER_PCT has required power type
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc54ae79a95bc162bd0ceec199561af873576a23)
2025-06-08 18:33:57 -04:00
Hondacrx e88513b855 Misc fixes 2025-06-08 18:32:12 -04:00
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