Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -9,38 +9,35 @@ using Server.Engines.CannedEvil;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a corpse of Ilhenir" )]
|
||||
[CorpseName("a corpse of Ilhenir")]
|
||||
public class Ilhenir : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType { get { return ChampionSkullType.Pain; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Pain;
|
||||
|
||||
public override Type[] UniqueList { get { return new Type[] { }; } }
|
||||
public override Type[] SharedList
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Type[] { typeof( ANecromancerShroud ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ),
|
||||
typeof( OblivionsNeedle ),
|
||||
typeof( TheRobeOfBritanniaAri ) };
|
||||
}
|
||||
}
|
||||
public override Type[] DecorativeList { get { return new Type[] { typeof( MonsterStatuette ) }; } }
|
||||
public override Type[] UniqueList => new Type[] { };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes
|
||||
public override Type[] SharedList => new []
|
||||
{
|
||||
get
|
||||
{
|
||||
return new MonsterStatuetteType[] { MonsterStatuetteType.PlagueBeast,
|
||||
MonsterStatuetteType.RedDeath };
|
||||
}
|
||||
}
|
||||
typeof(ANecromancerShroud),
|
||||
typeof(LieutenantOfTheBritannianRoyalGuard),
|
||||
typeof(OblivionsNeedle),
|
||||
typeof(TheRobeOfBritanniaAri),
|
||||
};
|
||||
|
||||
public override Type[] DecorativeList => new [] { typeof(MonsterStatuette) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new []
|
||||
{
|
||||
MonsterStatuetteType.PlagueBeast,
|
||||
MonsterStatuetteType.RedDeath,
|
||||
};
|
||||
|
||||
public override string DefaultName => "Ilhenir";
|
||||
|
||||
[Constructible]
|
||||
public Ilhenir()
|
||||
: base( AIType.AI_Mage )
|
||||
{
|
||||
Name = "Ilhenir";
|
||||
Title = "the Stained";
|
||||
Body = 0x103;
|
||||
|
||||
|
|
@ -149,11 +146,11 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public override bool Unprovokable { get { return true; } }
|
||||
public override bool Uncalmable { get { return true; } }
|
||||
public override Poison PoisonImmune { get { return Poison.Lethal; } }
|
||||
//public override bool GivesMLMinorArtifact { get { return true; } } // TODO: Needs verification
|
||||
public override int TreasureMapLevel { get { return 5; } }
|
||||
public override bool Unprovokable => true;
|
||||
public override bool Uncalmable => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
//public override bool GivesMLMinorArtifact => true; // TODO: Needs verification
|
||||
public override int TreasureMapLevel => 5;
|
||||
|
||||
public override void OnGaveMeleeAttack( Mobile defender )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,27 +11,28 @@ namespace Server.Mobiles
|
|||
[CorpseName( "the remains of Meraktus" )]
|
||||
public class Meraktus : BaseChampion
|
||||
{
|
||||
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Pain; } }
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Pain;
|
||||
|
||||
public override Type[] UniqueList{ get{ return new Type[] { typeof( Subdue ) }; } }
|
||||
public override Type[] SharedList{ get{ return new Type[] { }; } }
|
||||
public override Type[] DecorativeList{ get{ return new Type[] { typeof( ArtifactLargeVase ),
|
||||
typeof( ArtifactVase ),
|
||||
typeof( MinotaurStatueDeed ) }; } }
|
||||
public override Type[] UniqueList => new [] { typeof( Subdue ) };
|
||||
public override Type[] SharedList => new Type[] { };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] {
|
||||
MonsterStatuetteType.Minotaur }; } }
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
public override Type[] DecorativeList => new Type[]
|
||||
{
|
||||
return WeaponAbility.Dismount;
|
||||
}
|
||||
typeof(ArtifactLargeVase),
|
||||
typeof(ArtifactVase),
|
||||
typeof(MinotaurStatueDeed),
|
||||
};
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new [] { MonsterStatuetteType.Minotaur };
|
||||
|
||||
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
|
||||
|
||||
public override string DefaultName => "Meraktus";
|
||||
|
||||
[Constructible]
|
||||
public Meraktus()
|
||||
: base(AIType.AI_Melee)
|
||||
{
|
||||
Name = "Meraktus";
|
||||
Title = "the Tormented";
|
||||
Body = 263;
|
||||
BaseSoundID = 680;
|
||||
|
|
@ -99,7 +100,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnDeath( Container c )
|
||||
{
|
||||
base.OnDeath( c );
|
||||
base.OnDeath( c );
|
||||
|
||||
if ( Core.ML ) {
|
||||
c.DropItem( new MalletAndChisel() );
|
||||
|
|
@ -154,11 +155,11 @@ namespace Server.Mobiles
|
|||
public override int Meat { get { return 2; } }
|
||||
public override int Hides { get { return 10; } }
|
||||
public override HideType HideType { get { return HideType.Regular; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 3; } }
|
||||
public override bool BardImmune{ get{ return true; } }
|
||||
public override bool Unprovokable{ get{ return true; } }
|
||||
public override bool Uncalmable { get { return true; } }
|
||||
public override bool BardImmune => true;
|
||||
public override bool Unprovokable => true;
|
||||
public override bool Uncalmable => true;
|
||||
|
||||
public override void OnGaveMeleeAttack(Mobile defender)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,11 +19,12 @@ namespace Server.Mobiles
|
|||
|
||||
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.DreadHorn }; } }
|
||||
|
||||
public override string DefaultName => "Twaulo";
|
||||
|
||||
[Constructible]
|
||||
public Twaulo()
|
||||
: base(AIType.AI_Melee)
|
||||
{
|
||||
Name = "Twaulo";
|
||||
Title = "of the Glade";
|
||||
Body = 101;
|
||||
BaseSoundID = 679;
|
||||
|
|
@ -75,8 +76,8 @@ namespace Server.Mobiles
|
|||
get{ return OppositionGroup.FeyAndUndead; }
|
||||
}
|
||||
|
||||
public override bool Unprovokable{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
||||
public override bool Unprovokable => true;
|
||||
public override Poison PoisonImmune => Poison.Regular;
|
||||
public override int TreasureMapLevel{ get{ return 5; } }
|
||||
public override int Meat { get { return 1; } }
|
||||
public override int Hides { get { return 8; } }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue