fix: Fixes vendor look spam (#2269)

This commit is contained in:
Bohica 2025-11-16 10:12:12 -08:00 committed by GitHub
parent 5e65f9f0b2
commit 051f22ff93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2676,19 +2676,7 @@ namespace Server.Mobiles
if (Body.IsHuman)
{
switch (Utility.Random(2))
{
case 0:
{
CheckedAnimate(5, 5, 1, true, true, 1);
break;
}
case 1:
{
CheckedAnimate(6, 5, 1, true, false, 1);
break;
}
}
CheckedAnimate(Utility.RandomBool() ? 5 : 6, 5, 1, true, false, 1);
}
else if (Body.IsAnimal)
{
@ -2713,19 +2701,7 @@ namespace Server.Mobiles
}
else if (Body.IsMonster)
{
switch (Utility.Random(2))
{
case 0:
{
CheckedAnimate(17, 5, 1, true, false, 1);
break;
}
case 1:
{
CheckedAnimate(18, 5, 1, true, false, 1);
break;
}
}
CheckedAnimate(Utility.RandomBool() ? 17 : 18, 5, 1, true, false, 1);
}
PlaySound(GetIdleSound());