94 lines
2.1 KiB
C#
94 lines
2.1 KiB
C#
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class Virulent : DreadSpider
|
|
{
|
|
public override string CorpseName => "a Virulent corpse";
|
|
public override string DefaultName => "Virulent";
|
|
|
|
[Constructible]
|
|
public Virulent()
|
|
{
|
|
IsParagon = true;
|
|
Hue = 0x8FD;
|
|
|
|
SetStr( 207, 252 );
|
|
SetDex( 156, 194 );
|
|
SetInt( 346, 398 );
|
|
|
|
SetHits( 616, 740 );
|
|
SetStam( 156, 194 );
|
|
SetMana( 346, 398 );
|
|
|
|
SetDamage( 15, 22 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 20 );
|
|
SetDamageType( ResistanceType.Poison, 80 );
|
|
|
|
SetResistance( ResistanceType.Physical, 60, 68 );
|
|
SetResistance( ResistanceType.Fire, 40, 49 );
|
|
SetResistance( ResistanceType.Cold, 41, 50 );
|
|
SetResistance( ResistanceType.Poison, 100 );
|
|
SetResistance( ResistanceType.Energy, 40, 49 );
|
|
|
|
SetSkill( SkillName.Wrestling, 92.8, 111.7 );
|
|
SetSkill( SkillName.Tactics, 91.6, 107.4 );
|
|
SetSkill( SkillName.MagicResist, 78.1, 93.3 );
|
|
SetSkill( SkillName.Poisoning, 120.0 );
|
|
SetSkill( SkillName.Magery, 104.2, 119.8 );
|
|
SetSkill( SkillName.EvalInt, 102.8, 117.8 );
|
|
|
|
Fame = 21000;
|
|
Karma = -21000;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.UltraRich, 3 );
|
|
}
|
|
|
|
public override WeaponAbility GetWeaponAbility() => WeaponAbility.MortalStrike;
|
|
|
|
/*
|
|
// TODO: uncomment once added
|
|
public override void OnDeath( Container c )
|
|
{
|
|
base.OnDeath( c );
|
|
|
|
if ( Utility.RandomDouble() < 0.025 )
|
|
{
|
|
switch ( Utility.Random( 2 ) )
|
|
{
|
|
case 0: c.DropItem( new HunterLegs() ); break;
|
|
case 1: c.DropItem( new MalekisHonor() ); break;
|
|
}
|
|
}
|
|
|
|
if ( Utility.RandomDouble() < 0.1 )
|
|
c.DropItem( new ParrotItem() );
|
|
}
|
|
*/
|
|
|
|
public override bool GivesMLMinorArtifact => true;
|
|
|
|
public Virulent( Serial serial )
|
|
: base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|