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

@ -16,6 +16,8 @@ namespace Server.Mobiles
set{ m_Fisher = value; }
}
public override string DefaultName => "a leviathan";
[Constructible]
public Leviathan() : this( null )
{
@ -27,7 +29,6 @@ namespace Server.Mobiles
m_Fisher = fisher;
// May not be OSI accurate; mostly copied from krakens
Name = "a leviathan";
Body = 77;
BaseSoundID = 353;
@ -76,7 +77,7 @@ namespace Server.Mobiles
PackItem( rope );
}
public override bool HasBreath{ get{ return true; } }
public override bool HasBreath => true;
public override int BreathPhysicalDamage{ get{ return 70; } } // TODO: Verify damage type
public override int BreathColdDamage{ get{ return 30; } }
public override int BreathFireDamage{ get{ return 0; } }
@ -179,4 +180,4 @@ namespace Server.Mobiles
m_Fisher = null;
}
}
}
}