Replaces corpse name (#23)

This commit is contained in:
Kamron Batman 2018-08-14 23:50:00 +08:00 • committed by GitHub
parent 632e8b4757
commit 6987d0c18e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
367 changed files with 378 additions and 396 deletions

View file

@ -4,9 +4,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a drake corpse" )]
public class Drake : BaseCreature
{
public override string CorpseName => "a drake corpse";
public override string DefaultName => "a drake";
[Constructible]

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a harpy corpse" )]
public class Harpy : BaseCreature
{
public override string CorpseName => "a harpy corpse";
public override string DefaultName => "a harpy";
[Constructible]
public Harpy() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a krakens corpse" )]
public class Kraken : BaseCreature
{
public override string CorpseName => "a krakens corpse";
public override string DefaultName => "a kraken";
[Constructible]

View file

@ -6,9 +6,9 @@ using Server.Misc;
namespace Server.Mobiles
{
[CorpseName( "a lizardman corpse" )]
public class Lizardman : BaseCreature
{
public override string CorpseName => "a lizardman corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Lizardman;
[Constructible]

View file

@ -5,10 +5,10 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "an ophidian corpse" )]
[TypeAlias( "Server.Mobiles.OphidianAvenger" )]
public class OphidianKnight : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
private static string[] m_Names = new string[]
{
"an ophidian knight-errant",

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "an ophidian corpse" )]
public class OphidianWarrior : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
private static string[] m_Names = new string[]
{
"an ophidian warrior",

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a scorpion corpse" )]
public class Scorpion : BaseCreature
{
public override string CorpseName => "a scorpion corpse";
public override string DefaultName => "a scorpion";
[Constructible]

View file

@ -5,9 +5,9 @@ using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a stone harpy corpse" )]
public class StoneHarpy : BaseCreature
{
public override string CorpseName => "a stone harpy corpse";
public override string DefaultName => "a stone harpy";
[Constructible]

View file

@ -3,9 +3,9 @@ using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a wyvern corpse" )]
public class Wyvern : BaseCreature
{
public override string CorpseName => "a wyvern corpse";
public override string DefaultName => "a wyvern";
[Constructible]