Reorganizes Project (#41)

This commit is contained in:
Kamron Batman 2019-08-02 18:13:40 -07:00 committed by GitHub
parent 08bf44af9a
commit 3614a66aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3499 changed files with 79 additions and 55 deletions

View file

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