#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
71
Scripts/Mobiles/Sea/SeaSerpent.cs
Normal file
71
Scripts/Mobiles/Sea/SeaSerpent.cs
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a sea serpents corpse" )]
|
||||
[TypeAlias( "Server.Mobiles.Seaserpant" )]
|
||||
public class SeaSerpent : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public SeaSerpent() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a sea serpent";
|
||||
Body = 150;
|
||||
BaseSoundID = 447;
|
||||
|
||||
Hue = Utility.Random( 0x530, 9 );
|
||||
|
||||
SetStr( 168, 225 );
|
||||
SetDex( 58, 85 );
|
||||
SetInt( 53, 95 );
|
||||
|
||||
SetHits( 110, 127 );
|
||||
|
||||
SetDamage( 7, 13 );
|
||||
|
||||
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 = 30;
|
||||
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 SeaSerpent( 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