Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,33 @@
using System;
using Server.Mobiles;
using Server.Network;
using Server.Services.Virtues;
namespace Server.Gumps
{
public class HonorSelf : Gump
{
readonly PlayerMobile m_from;
public HonorSelf(PlayerMobile from)
: base(150, 50)
{
this.m_from = from;
this.AddBackground(0, 0, 245, 145, 9250);
this.AddButton(157, 101, 247, 248, 1, GumpButtonType.Reply, 0);
this.AddButton(81, 100, 241, 248, 0, GumpButtonType.Reply, 0);
this.AddHtml(21, 20, 203, 70, @"Are you sure you want to use honor points on yourself?", true, false);
}
public override void OnResponse(NetState sender, RelayInfo info)
{
if (info.ButtonID == 1)
{
HonorVirtue.ActivateEmbrace(this.m_from);
}
else
{
return;
}
}
}
}