Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -91,10 +91,10 @@ namespace Server.Mobiles
{
}
public abstract int Keyword{ get; }
public abstract BaseShield Shield{ get; }
public abstract int SignupNumber{ get; }
public abstract GuildType Type{ get; }
public abstract int Keyword { get; }
public abstract BaseShield Shield { get; }
public abstract int SignupNumber { get; }
public abstract GuildType Type { get; }
public override bool HandlesOnSpeech(Mobile from)
{
@ -123,7 +123,7 @@ namespace Server.Mobiles
Item twoHanded = from.FindItemOnLayer(Layer.TwoHanded);
if (pack?.FindItemByType(shield.GetType()) != null ||
twoHanded != null && shield.GetType().IsInstanceOfType(twoHanded))
(twoHanded != null && shield.GetType().IsInstanceOfType(twoHanded)))
{
Say(1007110); // Why dost thou ask about virtue guards when thou art one?
shield.Delete();