mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
-Fixed issue where client helpers could bypass the container gump and add items directly to the seed box -SearedFireAntGoo is no longer stackable -Blue NPC's (mainly vendors, not initial innocent) can no longer be attacked on trammel maps -Aggressors/Aggressed from pet masters now works properly. This was suspected to crated large numbers to redundant aggressor/aggressed added to a mobiles aggressor/aggressed lists -Aggressive action for healing a mobile while fighting another mobile has been re-enabled -AuraDamage is now a harmful act, ie those affected will aggro on your pet! -MLDryads should no longer attack other wild creatures during Blackthorn Invasion Instance -More code cleanup
33 lines
822 B
C#
33 lines
822 B
C#
namespace Server.Misc
|
|
{
|
|
public class Animations
|
|
{
|
|
public static void Initialize()
|
|
{
|
|
EventSink.AnimateRequest += EventSink_AnimateRequest;
|
|
}
|
|
|
|
private static void EventSink_AnimateRequest(AnimateRequestEventArgs e)
|
|
{
|
|
Mobile from = e.Mobile;
|
|
|
|
int action;
|
|
switch (e.Action)
|
|
{
|
|
case "bow":
|
|
action = 0;
|
|
break;
|
|
case "salute":
|
|
action = 1;
|
|
break;
|
|
default:
|
|
return;
|
|
}
|
|
|
|
if (from.Alive && !from.Mounted && (from.Body.IsHuman || from.Body.IsGargoyle))
|
|
{
|
|
from.Animate(AnimationType.Emote, action);
|
|
}
|
|
}
|
|
}
|
|
}
|