fix: Fixes vendor look spam (#2269)
This commit is contained in:
parent
5e65f9f0b2
commit
051f22ff93
1 changed files with 2 additions and 26 deletions
|
|
@ -2676,19 +2676,7 @@ namespace Server.Mobiles
|
||||||
|
|
||||||
if (Body.IsHuman)
|
if (Body.IsHuman)
|
||||||
{
|
{
|
||||||
switch (Utility.Random(2))
|
CheckedAnimate(Utility.RandomBool() ? 5 : 6, 5, 1, true, false, 1);
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
{
|
|
||||||
CheckedAnimate(5, 5, 1, true, true, 1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 1:
|
|
||||||
{
|
|
||||||
CheckedAnimate(6, 5, 1, true, false, 1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (Body.IsAnimal)
|
else if (Body.IsAnimal)
|
||||||
{
|
{
|
||||||
|
|
@ -2713,19 +2701,7 @@ namespace Server.Mobiles
|
||||||
}
|
}
|
||||||
else if (Body.IsMonster)
|
else if (Body.IsMonster)
|
||||||
{
|
{
|
||||||
switch (Utility.Random(2))
|
CheckedAnimate(Utility.RandomBool() ? 17 : 18, 5, 1, true, false, 1);
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
{
|
|
||||||
CheckedAnimate(17, 5, 1, true, false, 1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 1:
|
|
||||||
{
|
|
||||||
CheckedAnimate(18, 5, 1, true, false, 1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PlaySound(GetIdleSound());
|
PlaySound(GetIdleSound());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue