91 lines
No EOL
1.8 KiB
C#
91 lines
No EOL
1.8 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a fungal corpse" )]
|
|
public class FungalMage : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public FungalMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a fungal mage";
|
|
Body = 110;
|
|
AnimationMod = 4;
|
|
|
|
SetStr( 181, 205 );
|
|
SetDex( 191, 215 );
|
|
SetInt( 96, 120 );
|
|
|
|
SetHits( 109, 123 );
|
|
|
|
SetDamage( 5, 10 );
|
|
|
|
SetSkill( SkillName.Concentration, 85.1, 100.0 );
|
|
SetSkill( SkillName.Magery, 85.1, 100.0 );
|
|
SetSkill( SkillName.MagicResist, 75.0, 97.5 );
|
|
SetSkill( SkillName.Tactics, 65.0, 87.5 );
|
|
SetSkill( SkillName.HandToHand, 20.2, 60.0 );
|
|
|
|
Fame = 4000;
|
|
Karma = -4000;
|
|
|
|
VirtualArmor = 30;
|
|
|
|
PackReg( 10 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.LowScrolls );
|
|
AddLoot( LootPack.MedScrolls );
|
|
AddLoot( LootPack.MedPotions );
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
|
|
public override int GetAngerSound()
|
|
{
|
|
return 0x451;
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 0x452;
|
|
}
|
|
|
|
public override int GetAttackSound()
|
|
{
|
|
return 0x453;
|
|
}
|
|
|
|
public override int GetHurtSound()
|
|
{
|
|
return 0x454;
|
|
}
|
|
|
|
public override int GetDeathSound()
|
|
{
|
|
return 0x455;
|
|
}
|
|
|
|
public FungalMage( 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();
|
|
}
|
|
}
|
|
} |