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,10 +7,11 @@ namespace Server.Mobiles
[CorpseName( "a dread spider corpse" )]
public class DreadSpider : BaseCreature
{
public override string DefaultName => "a dread spider";
[Constructible]
public DreadSpider () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a dread spider";
Body = 11;
BaseSoundID = 1170;
@ -51,8 +52,8 @@ namespace Server.Mobiles
AddLoot( LootPack.FilthyRich );
}
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
public override Poison HitPoison{ get{ return Poison.Lethal; } }
public override Poison PoisonImmune => Poison.Lethal;
public override Poison HitPoison => Poison.Lethal;
public override int TreasureMapLevel{ get{ return 3; } }
public DreadSpider( Serial serial ) : base( serial )
@ -74,4 +75,4 @@ namespace Server.Mobiles
BaseSoundID = 1170;
}
}
}
}

View file

@ -7,10 +7,11 @@ namespace Server.Mobiles
[CorpseName( "a terathan avenger corpse" )]
public class TerathanAvenger : BaseCreature
{
public override string DefaultName => "a terathan avenger";
[Constructible]
public TerathanAvenger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a terathan avenger";
Body = 152;
BaseSoundID = 0x24D;
@ -50,8 +51,8 @@ namespace Server.Mobiles
AddLoot( LootPack.Rich, 2 );
}
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
public override Poison HitPoison{ get{ return Poison.Deadly; } }
public override Poison PoisonImmune => Poison.Deadly;
public override Poison HitPoison => Poison.Deadly;
public override int TreasureMapLevel{ get{ return 3; } }
public override int Meat{ get{ return 2; } }

View file

@ -7,10 +7,11 @@ namespace Server.Mobiles
[CorpseName( "a terathan matriarch corpse" )]
public class TerathanMatriarch : BaseCreature
{
public override string DefaultName => "a terathan matriarch";
[Constructible]
public TerathanMatriarch() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a terathan matriarch";
Body = 72;
BaseSoundID = 599;
@ -74,4 +75,4 @@ namespace Server.Mobiles
int version = reader.ReadInt();
}
}
}
}