#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
76
Scripts/Mobiles/Undead/SkeletalKnight.cs
Normal file
76
Scripts/Mobiles/Undead/SkeletalKnight.cs
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server.Items;
|
||||
using Server.Targeting;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a skeletal corpse" )]
|
||||
public class SkeletalKnight : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public SkeletalKnight() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a skeletal knight";
|
||||
Body = 160;
|
||||
BaseSoundID = 451;
|
||||
AnimationMod = 4;
|
||||
Clan = Clan.Undead;
|
||||
|
||||
SetStr( 196, 250 );
|
||||
SetDex( 76, 95 );
|
||||
SetInt( 36, 60 );
|
||||
|
||||
SetHits( 118, 150 );
|
||||
|
||||
SetDamage( 6, 12 );
|
||||
|
||||
SetSkill( SkillName.MagicResist, 65.1, 80.0 );
|
||||
SetSkill( SkillName.Tactics, 85.1, 100.0 );
|
||||
SetSkill( SkillName.HandToHand, 85.1, 95.0 );
|
||||
|
||||
Fame = 3000;
|
||||
Karma = -3000;
|
||||
|
||||
VirtualArmor = 30;
|
||||
|
||||
switch ( Utility.Random( 6 ) )
|
||||
{
|
||||
case 0: PackItem( new PlateArms() ); break;
|
||||
case 1: PackItem( new PlateChest() ); break;
|
||||
case 2: PackItem( new PlateGloves() ); break;
|
||||
case 3: PackItem( new PlateGorget() ); break;
|
||||
case 4: PackItem( new PlateLegs() ); break;
|
||||
case 5: PackItem( new PlateHelm() ); break;
|
||||
}
|
||||
|
||||
PackItem( new Longsword() );
|
||||
PackItem( new Bone( Utility.RandomList(1,2,3,4) ) );
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Average );
|
||||
AddLoot( LootPack.Meager );
|
||||
}
|
||||
|
||||
public override bool BleedImmune{ get{ return true; } }
|
||||
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
||||
|
||||
public SkeletalKnight( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue