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

@ -6,12 +6,13 @@ namespace Server.Mobiles
[CorpseName( "a jwilson corpse" )]
public class Jwilson : BaseCreature
{
public override string DefaultName => "a jwilson";
[Constructible]
public Jwilson() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Hue = Utility.RandomList(0x89C,0x8A2,0x8A8,0x8AE);
this.Body = 0x33;
this.Name = ("a jwilson");
this.VirtualArmor = 8;
this.InitStats(Utility.Random(22,13),Utility.Random(16,6),Utility.Random(16,5));
@ -29,30 +30,30 @@ namespace Server.Mobiles
{
}
public override int GetAngerSound()
{
return 0x1C8;
}
public override int GetAngerSound()
{
return 0x1C8;
}
public override int GetIdleSound()
{
return 0x1C9;
}
public override int GetIdleSound()
{
return 0x1C9;
}
public override int GetAttackSound()
{
return 0x1CA;
}
public override int GetAttackSound()
{
return 0x1CA;
}
public override int GetHurtSound()
{
return 0x1CB;
}
public override int GetHurtSound()
{
return 0x1CB;
}
public override int GetDeathSound()
{
return 0x1CC;
}
public override int GetDeathSound()
{
return 0x1CC;
}
public override void Serialize(GenericWriter writer)
{