70 lines
No EOL
1.5 KiB
C#
70 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a deep sea serpents corpse" )]
|
|
public class DeepSeaSerpent : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public DeepSeaSerpent() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a deep sea serpent";
|
|
Body = 150;
|
|
BaseSoundID = 447;
|
|
|
|
Hue = Utility.Random( 0x8A0, 5 );
|
|
|
|
SetStr( 251, 425 );
|
|
SetDex( 87, 135 );
|
|
SetInt( 87, 155 );
|
|
|
|
SetHits( 151, 255 );
|
|
|
|
SetDamage( 6, 14 );
|
|
|
|
SetSkill( SkillName.MagicResist, 60.1, 75.0 );
|
|
SetSkill( SkillName.Tactics, 60.1, 70.0 );
|
|
SetSkill( SkillName.HandToHand, 60.1, 70.0 );
|
|
|
|
Fame = 6000;
|
|
Karma = -6000;
|
|
|
|
VirtualArmor = 60;
|
|
CanSwim = true;
|
|
CantWalk = true;
|
|
|
|
if ( Utility.RandomBool() )
|
|
PackItem( new SulfurousAsh( 4 ) );
|
|
else
|
|
PackItem( new BlackPearl( 4 ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool HasBreath{ get{ return true; } }
|
|
public override int Meat{ get{ return 5; } }
|
|
public override MeatType MeatType{ get{ return MeatType.Fish; } }
|
|
public override int Hides{ get{ return 10; } }
|
|
|
|
public DeepSeaSerpent( 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();
|
|
}
|
|
}
|
|
} |