Adds BufferReader and BufferWriter. Updates UOP handling. (#101)

This commit is contained in:
Kamron Batman 2020-04-12 21:33:24 -07:00 • committed by GitHub
parent 2c0d97cd36
commit 038c3be258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2458 additions and 2185 deletions

View file

@ -216,13 +216,11 @@ namespace Server.Items
return (item == null || item is Spellbook) && m.FindItemOnLayer(Layer.TwoHanded) == null;
}
private static void EventSink_DisarmRequest(DisarmRequestEventArgs e)
private static void EventSink_DisarmRequest(Mobile m)
{
if (Core.AOS)
return;
Mobile m = e.Mobile;
#region Dueling
if (!DuelContext.AllowSpecialAbility(m, "Disarm", true))
@ -251,13 +249,11 @@ namespace Server.Items
}
}
private static void EventSink_StunRequest(StunRequestEventArgs e)
private static void EventSink_StunRequest(Mobile m)
{
if (Core.AOS)
return;
Mobile m = e.Mobile;
#region Dueling
if (!DuelContext.AllowSpecialAbility(m, "Stun", true))