Adds more packets (#177)

This commit is contained in:
Kamron Batman 2020-07-18 19:03:26 -07:00 • committed by GitHub
parent c0805850c1
commit 5052bf9af3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 609 additions and 109 deletions

View file

@ -12,8 +12,8 @@ namespace Server.Misc
public static void EventSink_PaperdollRequest(Mobile beholder, Mobile beheld)
{
beholder.Send(new DisplayPaperdoll(beheld, Titles.ComputeTitle(beholder, beheld),
beheld.AllowEquipFrom(beholder)));
beholder.Send(new DisplayPaperdoll(beheld.Serial, Titles.ComputeTitle(beholder, beheld),
beheld.Warmode, beheld.AllowEquipFrom(beholder)));
if (ObjectPropertyList.Enabled)
{

View file

@ -44,8 +44,9 @@ namespace Server.Misc
footer = GetAccountDuration(beheld);
string body = beheld.Profile ?? "";
Serial serial = beholder != beheld || !beheld.ProfileLocked ? beheld.Serial : Serial.Zero;
beholder.Send(new DisplayProfile(beholder != beheld || !beheld.ProfileLocked, beheld, header, body, footer));
beholder.Send(new DisplayProfile(serial, header, body, footer));
}
private static string GetAccountDuration(Mobile m)