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
26 lines
798 B
C#
26 lines
798 B
C#
using Server.Network;
|
|
|
|
namespace Server.Misc
|
|
{
|
|
public class Paperdoll
|
|
{
|
|
public static void Initialize()
|
|
{
|
|
EventSink.PaperdollRequest += EventSink_PaperdollRequest;
|
|
}
|
|
|
|
public static void EventSink_PaperdollRequest(PaperdollRequestEventArgs e)
|
|
{
|
|
Mobile beholder = e.Beholder;
|
|
Mobile beheld = e.Beheld;
|
|
|
|
beholder.Send(new DisplayPaperdoll(beheld, Titles.ComputeTitle(beholder, beheld), beheld.AllowEquipFrom(beholder)));
|
|
|
|
foreach (Item item in beheld.Items)
|
|
beholder.Send(item.OPLPacket);
|
|
|
|
// NOTE: OSI sends MobileUpdate when opening your own paperdoll.
|
|
// It has a very bad rubber-banding affect. What positive affects does it have?
|
|
}
|
|
}
|
|
}
|