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

@ -7,12 +7,13 @@ namespace Server.Mobiles
[CorpseName( "a Grobu corpse" )]
public class Grobu : BlackBear
{
public override string DefaultName => "Grobu";
[Constructible]
public Grobu()
{
IsParagon = true;
Name = "Grobu";
Hue = 0x455;
AI = AIType.AI_Melee;
@ -57,7 +58,7 @@ namespace Server.Mobiles
c.DropItem( new GrobusFur() );
}
public override bool GivesMLMinorArtifact{ get{ return true; } }
public override bool GivesMLMinorArtifact => true;
public Grobu( Serial serial )
: base( serial )

View file

@ -7,12 +7,13 @@ namespace Server.Mobiles
[CorpseName( "a Lurg corpse" )]
public class Lurg : Troglodyte
{
public override string DefaultName => "Lurg";
[Constructible]
public Lurg()
{
IsParagon = true;
Name = "Lurg";
Hue = 0x455;
SetStr( 584, 625 );
@ -48,12 +49,9 @@ namespace Server.Mobiles
AddLoot( LootPack.UltraRich, 2 );
}
public override WeaponAbility GetWeaponAbility()
{
return WeaponAbility.CrushingBlow;
}
public override WeaponAbility GetWeaponAbility() => WeaponAbility.CrushingBlow;
public override bool GivesMLMinorArtifact{ get{ return true; } }
public override bool GivesMLMinorArtifact => true;
public override int TreasureMapLevel{ get{ return 4; } }
public Lurg( Serial serial )