ModernUO/Scripts/Mobiles/Monsters/Ants/AntLion.cs
xavier cd2462621f Lightning strike should not consume mana or deactivate when you miss.
http://www.uodemise.com/forum/showthread.php?t=145364

BOD turn-in should have 10 second timer since pub 50 
http://www.uodemise.com/forum/showthread.php?t=156441

Vet reward ore carts, gem carts, and stumps have missing range check added
http://www.uodemise.com/forum/showthread.php?t=156380

Blood Oath: missing 35hp pvp dmg cap added, correct credit for kills/dmg given to caster, ML magic resist now applies.
http://www.uodemise.com/forum/showthread.php?t=118729&page=3

Missing ore sizes added
http://www.uodemise.com/forum/showthread.php?t=119888

Player-cast gates reveal stealthers/hiders.
http://www.uodemise.com/forum/showthread.php?t=149218

Some necro spells should disturb a casting target
http://www.uodemise.com/forum/showthread.php?t=149361

Failed snoop attempts should reveal thief if hidden.
http://www.uodemise.com/forum/showthread.php?t=153962

Pets do not autostable in the case of a server restart/cash: fixed
http://www.uodemise.com/forum/showthread.php?t=122745

Misc Aesthetic changes to spells, etc.

earthquake wrong sound
magic arrow inappropriate particles
curse wrong sound
agility wrong sound
chain lightning should always play sound
poison wrong sound
dispel evil missing sound
noble sacrifice male/female, diff sounds
sacred journey missing sound
2010-09-25 13:48:08 +00:00

116 lines
No EOL
2.6 KiB
C#

using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "an ant lion corpse" )]
public class AntLion : BaseCreature
{
[Constructable]
public AntLion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "an ant lion";
Body = 787;
BaseSoundID = 1006;
SetStr( 296, 320 );
SetDex( 81, 105 );
SetInt( 36, 60 );
SetHits( 151, 162 );
SetDamage( 7, 21 );
SetDamageType( ResistanceType.Physical, 70 );
SetDamageType( ResistanceType.Poison, 30 );
SetResistance( ResistanceType.Physical, 45, 60 );
SetResistance( ResistanceType.Fire, 25, 35 );
SetResistance( ResistanceType.Cold, 30, 40 );
SetResistance( ResistanceType.Poison, 40, 50 );
SetResistance( ResistanceType.Energy, 30, 35 );
SetSkill( SkillName.MagicResist, 70.0 );
SetSkill( SkillName.Tactics, 90.0 );
SetSkill( SkillName.Wrestling, 90.0 );
Fame = 4500;
Karma = -4500;
VirtualArmor = 45;
PackItem( new Bone( 3 ) );
PackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) );
if ( Core.ML && Utility.RandomDouble() < .33 )
PackItem( Engines.Plants.Seed.RandomPeculiarSeed(2) );
Item dullore = new DullCopperOre( Utility.RandomMinMax( 1, 10 ) );
dullore.ItemID = 0x19B9;
Item shadowore = new ShadowIronOre( Utility.RandomMinMax( 1, 10 ) );
shadowore.ItemID = 0x19B9;
Item copperore = new CopperOre( Utility.RandomMinMax( 1, 10 ) );
copperore.ItemID = 0x19B9;
Item bronzeore = new BronzeOre( Utility.RandomMinMax( 1, 10 ) );
bronzeore.ItemID = 0x19B9;
switch ( Utility.Random( 4 ) )
{
case 0: PackItem( dullore ); break;
case 1: PackItem( shadowore ); break;
case 2: PackItem( copperore ); break;
case 3: PackItem( bronzeore ); break;
}
// TODO: skeleton
}
public override int GetAngerSound()
{
return 0x5A;
}
public override int GetIdleSound()
{
return 0x5A;
}
public override int GetAttackSound()
{
return 0x164;
}
public override int GetHurtSound()
{
return 0x187;
}
public override int GetDeathSound()
{
return 0x1BA;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average, 2 );
}
public AntLion( 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();
}
}
}