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
78 lines
No EOL
1.8 KiB
C#
78 lines
No EOL
1.8 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "an ore elemental corpse" )]
|
|
public class DullCopperElemental : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public DullCopperElemental() : this( 2 )
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public DullCopperElemental( int oreAmount ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a dull copper elemental";
|
|
Body = 110;
|
|
BaseSoundID = 268;
|
|
|
|
SetStr( 226, 255 );
|
|
SetDex( 126, 145 );
|
|
SetInt( 71, 92 );
|
|
|
|
SetHits( 136, 153 );
|
|
|
|
SetDamage( 9, 16 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 100 );
|
|
|
|
SetResistance( ResistanceType.Physical, 30, 40 );
|
|
SetResistance( ResistanceType.Fire, 30, 40 );
|
|
SetResistance( ResistanceType.Cold, 10, 20 );
|
|
SetResistance( ResistanceType.Poison, 20, 30 );
|
|
SetResistance( ResistanceType.Energy, 20, 30 );
|
|
|
|
SetSkill( SkillName.MagicResist, 50.1, 95.0 );
|
|
SetSkill( SkillName.Tactics, 60.1, 100.0 );
|
|
SetSkill( SkillName.Wrestling, 60.1, 100.0 );
|
|
|
|
Fame = 3500;
|
|
Karma = -3500;
|
|
|
|
VirtualArmor = 20;
|
|
|
|
Item ore = new DullCopperOre( oreAmount );
|
|
ore.ItemID = 0x19B9;
|
|
PackItem( ore );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.Gems, 2 );
|
|
}
|
|
|
|
public override bool AutoDispel{ get{ return true; } }
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
public override int TreasureMapLevel{ get{ return 1; } }
|
|
|
|
public DullCopperElemental( 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();
|
|
}
|
|
}
|
|
} |