Commit Graph

439 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 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 cb21664b4f Core/Spells: Implemented SpellEffectAttributes::DontFailSpellOnTargetingFailure
Port From (https://github.com/TrinityCore/TrinityCore/commit/195945742105fa8dbd061f3b62b755d722655931)
2025-06-08 19:31:53 -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 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 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 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 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 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 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 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
Hondacrx ac27d322b1 Core/Spells: Remove setting OriginalCastId from CastSpellExtraArgs::SetTriggeringAura
Port From (https://github.com/TrinityCore/TrinityCore/commit/f604661a40d05cb1f06e5e0b3112591ebb3aa1a6)
2024-11-10 13:31:25 -05:00
Hondacrx ab840142f3 Core/Spells: Fixed spell target selection not being shared by multiple effects when there are targeting scripts that have the same script function
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1d8061a0f848241fe70ab0d718e829836cb5601)
2024-11-10 00:09:01 -05:00
Hondacrx 3c3c84b736 Core/Players: Fixed spells being unintentionally removed by talent swaps when they are learned from more than one spell (affects balance druid Celesial Alignment and Incarnation)
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c6ddcce3d6374a82214bb0ddb9d7432351982c9)
2024-10-09 00:25:13 -04:00
Hondacrx eee80bad68 Core/Spells: Implemented SpellAuraInterruptFlags2::ReleaseEmpower
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c06e7fcdab677df4e5908f69b9655577e08fe69)
2024-09-26 13:07:53 -04:00
Hondacrx 8341244e4d Core/Players: Use PlayerData::VirtualPlayerRealm instead of global GetVirtualRealmAddress() where possible
Port From (https://github.com/TrinityCore/TrinityCore/commit/88fea990ff1408b94076fb9dbd0c974908d6a731)
2024-09-08 15:23:43 -04:00
Hondacrx f38ad4607e Core/PacketIO: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59eef5432c7b70679d33f4911c88d0f7d75fd39)
2024-09-02 18:44:55 -04:00
Hondacrx fa10c00734 Core/Spells: Remove spell range increase when caster or target move backwards
Port From (https://github.com/TrinityCore/TrinityCore/commit/f19e1a271618a35515512ce2a64330f21133616c)
2024-08-31 17:44:12 -04:00
Hondacrx bc7568ca34 Core/Spells: Implemented SPELL_ATTR9_FORCE_CORPSE_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/af39104798d78f0cf8f51dc36e7302f1f4e69b7b)
2024-08-31 17:37:20 -04:00
Hondacrx 62e3c0ef66 Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING
Port From (https://github.com/TrinityCore/TrinityCore/commit/3365e6a4b84f59cca5f7ef5fca71fb3979697e52)
2024-08-31 17:08:45 -04:00
Hondacrx f2e610315f Core/Spells: Exclude spells cast from client from being treated as triggered if they have any trigger flags set (possible with override spells auras)
Port From (https://github.com/TrinityCore/TrinityCore/commit/816369318f9613bc7e23e4bf57ddb4c5f9fa3809)
2024-08-26 18:13:44 -04:00
Hondacrx b38668c7cb Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a885a1fc3c6b894f546b7aee70b5a67932a94486)
2024-08-26 18:11:28 -04:00
Hondacrx ce08437402 Core/Spells: Rename more SpellAttr9 to official names
Port From (https://github.com/TrinityCore/TrinityCore/commit/8963ea8e4c215e750aa7a473bbf780b403dc8839)
2024-08-26 17:53:38 -04:00
Hondacrx 89587bbd59 Core/Spells: Removed MECHANIC_IMMUNE_SHIELD + MECHANIC_BANISH special case check in Spell::CheckCasterAuras and named possibly related spell attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/721103c1c9649fc769a4230216b871319a5f7643)
2024-08-26 16:25:42 -04:00
Hondacrx f908481bce Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported
Port From (https://github.com/TrinityCore/TrinityCore/commit/c968dedfee59db53fc912ac166309f3d87470821)
2024-08-26 16:15:18 -04:00
Hondacrx 0bb55fd942 Core/Spells: Rename more SpellAttr9 to official names
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d4047a3be5f3de8ca7c4818c265127578dbcc81)
2024-08-25 23:49:17 -04:00
Hondacrx 9f35b4a650 Core/Spells: Name SPELL_ATTR9_DO_NOT_ADD_TO_UNLEARN_LIST
Port From (https://github.com/TrinityCore/TrinityCore/commit/88d1078a1256fa9175110b3bec0f7f9fdd6b615d)
2024-08-25 23:47:42 -04:00
Hondacrx e79581f71f Core/Spells: Implemented SPELL_ATTR9_ITEM_CAST_GRANTS_SKILL_GAIN
Port From (https://github.com/TrinityCore/TrinityCore/commit/00efee9ca12d6e625e9954a39768bbec029d0459)
2024-08-25 23:45:44 -04:00
Hondacrx 6462b7baf4 Core/Spells: Implemented SPELL_ATTR9_IGNORE_TOTEM_REQUIREMENTS_FOR_CASTING - fixes some totems requiring legacy items in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/8142ab20b7495ca87a135e08e473f5a33a40e5a4)
2024-08-25 23:42:13 -04:00
Hondacrx bb26b47824 Core/Spells: Rename more SpellAttr9
Port From (https://github.com/TrinityCore/TrinityCore/commit/56a027131a130bc778ee34ddfa379c42580b510b)
2024-08-25 21:45:49 -04:00
Hondacrx 1a0a69a4a1 Core/Spells: Implemented SPELL_ATTR9_ONLY_WHEN_ILLEGALLY_MOUNTED
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f3af18e3a17096748a621c9171feb30047287be)
2024-08-25 21:42:05 -04:00
Hondacrx 5874294745 Core/Spells: Fixed UnitData::ChannelObjects for channeled spells using dest targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/453977cc6de8cfff81ab55532acf38de6d693173)
2024-08-25 21:37:57 -04:00
Hondacrx 1815f60aba Core/Spells: Implemented SPELL_ATTR9_FORCE_DEST_LOCATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/84c84b66d43d655a6fc9f6e75acbc1107dfadf23)
2024-08-25 21:34:29 -04:00
Hondacrx e936c7d099 Core/Spells: Prevent creatures from being able to cast all their spells while moving
Port From (https://github.com/TrinityCore/TrinityCore/commit/f80f931e2bee9dbf08c3edee94d0c79dbbb64072)
2024-08-25 00:12:46 -04:00
Hondacrx 728d5f58bc Core/Items: Implemented reagent bag
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f9e359701bd75705f73f23af65affb5a5bed573)
2024-08-24 22:26:12 -04:00
Hondacrx 1ca497b79f Core: Update to 10.2.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/468a06baf046b716305ee665e3cfd93c80e99457)
2024-08-24 00:13:35 -04:00