From 192f092ee707b76cac87b620c46928083592e370 Mon Sep 17 00:00:00 2001 From: Bohica <53943479+Bohicatv@users.noreply.github.com> Date: Fri, 6 Mar 2026 00:30:40 -0800 Subject: [PATCH] fix: Fixes various spell animations (#2346) ### Summary This is a partial fix for servers that enable 0xC7 and clients that support 0xC7. A proper fix should be made on ClassicUO. --- Projects/UOContent/Spells/First/MagicArrow.cs | 2 +- Projects/UOContent/Spells/Sixth/EnergyBolt.cs | 4 +--- Projects/UOContent/Spells/Third/Fireball.cs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Projects/UOContent/Spells/First/MagicArrow.cs b/Projects/UOContent/Spells/First/MagicArrow.cs index 7816d8805..ad22a5d10 100644 --- a/Projects/UOContent/Spells/First/MagicArrow.cs +++ b/Projects/UOContent/Spells/First/MagicArrow.cs @@ -59,7 +59,7 @@ namespace Server.Spells.First damage *= GetDamageScalar(m); } - source.MovingParticles(m, 0x36E4, 5, 0, false, false, 3006, 0, 0); + source.MovingParticles(m, 0x36E4, 5, 0, false, false, 0, 0, 3006, 0, 0, EffectLayer.RightHand, 0); source.PlaySound(0x1E5); SpellHelper.Damage(this, m, damage, 0, 100, 0, 0, 0); diff --git a/Projects/UOContent/Spells/Sixth/EnergyBolt.cs b/Projects/UOContent/Spells/Sixth/EnergyBolt.cs index a253cd1bb..d72aaf55f 100644 --- a/Projects/UOContent/Spells/Sixth/EnergyBolt.cs +++ b/Projects/UOContent/Spells/Sixth/EnergyBolt.cs @@ -52,11 +52,9 @@ namespace Server.Spells.Sixth damage *= GetDamageScalar(m); } - // Do the effects - source.MovingParticles(m, 0x379F, 7, 0, false, true, 3043, 4043, 0x211); + source.MovingParticles(m, 0x379F, 7, 0, false, true, 0, 0, 3043, 4043, 0x211, EffectLayer.RightHand, 0); source.PlaySound(0x20A); - // Deal the damage SpellHelper.Damage(this, m, damage, 0, 0, 0, 0, 100); } } diff --git a/Projects/UOContent/Spells/Third/Fireball.cs b/Projects/UOContent/Spells/Third/Fireball.cs index 2ec73fecb..84d8d5b82 100644 --- a/Projects/UOContent/Spells/Third/Fireball.cs +++ b/Projects/UOContent/Spells/Third/Fireball.cs @@ -50,7 +50,7 @@ namespace Server.Spells.Third damage *= GetDamageScalar(m); } - source.MovingParticles(m, 0x36D4, 7, 0, false, true, 9502, 4019, 0x160); + source.MovingParticles(m, 0x36D4, 7, 0, false, true, 0, 0, 9502, 4019, 0x160, EffectLayer.RightHand, 0); source.PlaySound(Core.AOS ? 0x15E : 0x44B); SpellHelper.Damage(this, m, damage, 0, 100, 0, 0, 0);