98 lines
1.9 KiB
C#
98 lines
1.9 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a quell corpse" )]
|
|
public class Quell : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Quell() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a quell";
|
|
Body = 3;
|
|
Hue = 0x4001;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 76, 95 );
|
|
SetInt( 66, 80 );
|
|
|
|
SetHits( 146, 160 );
|
|
|
|
SetDamage( 12, 14 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 50 );
|
|
SetDamageType( ResistanceType.Cold, 50 );
|
|
|
|
SetResistance( ResistanceType.Physical, 25, 30 );
|
|
SetResistance( ResistanceType.Cold, 15, 25 );
|
|
SetResistance( ResistanceType.Poison, 10, 20 );
|
|
|
|
SetSkill( SkillName.EvalInt, 55.1, 70.0 );
|
|
SetSkill( SkillName.Magery, 65.1, 80.0 );
|
|
SetSkill( SkillName.MagicResist, 75.1, 80.0 );
|
|
SetSkill( SkillName.Tactics, 75.1, 80.0 );
|
|
SetSkill( SkillName.Wrestling, 45.1, 55.0 );
|
|
|
|
Fame = 8000;
|
|
Karma = -8000;
|
|
|
|
VirtualArmor = 28;
|
|
|
|
PackReg( 10 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Rich );
|
|
AddLoot( LootPack.Meager );
|
|
AddLoot( LootPack.Gems, 1 );
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 0x1AC;
|
|
}
|
|
|
|
public override int GetAngerSound()
|
|
{
|
|
return 0x1CD;
|
|
}
|
|
|
|
public override int GetHurtSound()
|
|
{
|
|
return 0x1D0;
|
|
}
|
|
|
|
public override int GetDeathSound()
|
|
{
|
|
return 0x28D;
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
|
|
public override OppositionGroup OppositionGroup
|
|
{
|
|
get{ return OppositionGroup.FeyAndUndead; }
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
|
|
|
public Quell( 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();
|
|
}
|
|
}
|
|
} |