65 lines
No EOL
1.5 KiB
C#
65 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a white wyrm corpse" )]
|
|
public class WhiteWyrm : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public WhiteWyrm () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Body = 122;
|
|
Name = "a white wyrm";
|
|
Hue = 1150;
|
|
BaseSoundID = 362;
|
|
|
|
SetStr( 721, 760 );
|
|
SetDex( 101, 130 );
|
|
SetInt( 386, 425 );
|
|
|
|
SetHits( 433, 456 );
|
|
|
|
SetDamage( 17, 25 );
|
|
|
|
SetSkill( SkillName.Concentration, 99.1, 100.0 );
|
|
SetSkill( SkillName.Magery, 99.1, 100.0 );
|
|
SetSkill( SkillName.MagicResist, 99.1, 100.0 );
|
|
SetSkill( SkillName.Tactics, 97.6, 100.0 );
|
|
SetSkill( SkillName.HandToHand, 90.1, 100.0 );
|
|
|
|
Fame = 18000;
|
|
Karma = -18000;
|
|
|
|
VirtualArmor = 64;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.FilthyRich, 2 );
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.Gems, Utility.Random( 1, 5 ) );
|
|
}
|
|
|
|
public override bool ReacquireOnMovement{ get{ return true; } }
|
|
public override int Meat{ get{ return 19; } }
|
|
public override int Hides{ get{ return 20; } }
|
|
|
|
public WhiteWyrm( 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();
|
|
}
|
|
}
|
|
} |