Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 • committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -43,10 +43,10 @@ namespace Server.Engines.MLQuests.Definitions
[QuesterName( "Drithen (Umbra)" )]
public class Drithen : BaseCreature
{
public override bool IsInvulnerable { get { return true; } }
public override bool CanTeach { get { return true; } }
public override bool CanShout { get { return true; } }
public override bool IsInvulnerable => true;
public override bool CanTeach => true;
public override string DefaultName => "Drithen";
public override bool CanShout => true;
public override void Shout( PlayerMobile pm )
{
MLQuestSystem.Tell( this, pm, 1074188 ); // Weakling! You are not up to the task I have.
@ -56,7 +56,6 @@ namespace Server.Engines.MLQuests.Definitions
public Drithen()
: base( AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2 )
{
Name = "Drithen";
Title = "the Fierce";
Race = Race.Human;
BodyValue = 0x190;