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.
This commit is contained in:
Bohica 2026-03-06 00:30:40 -08:00 committed by GitHub
parent 2b80286d2e
commit 192f092ee7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

@ -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);

View file

@ -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);
}
}

View file

@ -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);