ModernUO/Scripts/Mobiles/Monsters/ML/Blighted Grove/Tangle.cs
eos 35fbffdb51 ML quest system; first SVN release.
Secondary changes:
- Region fixes, mainly for New Haven.
- Recipe system changes.
- Enabled ML craftables.
- Dyeing/cutting restrictions for quest items.
- Moved IsInvulnerable from BaseVendor to BaseCreature.
- Moved RandomBrightHue to Utility.
- Items no longer decay when attached to a spawner.
- Quest item hue is now faked through packets, instead of overriding Hue.
- Re-enabled item drag effects for SA clients.
- Fixed AssignRandomFacialHair bug in Utility.
- Added random hue comments to Utility.
2013-02-03 01:05:17 +00:00

78 lines
1.7 KiB
C#

using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a Tangle corpse" )]
public class Tangle : BogThing
{
[Constructable]
public Tangle()
{
// TODO: Not a paragon? No ML arties?
// It moves like a paragon on OSI...
Name = "Tangle";
Hue = 0x21;
SetStr( 870, 940 );
SetDex( 58, 74 );
SetInt( 46, 58 );
SetHits( 2468, 2733 );
SetMana( 8, 12 );
SetDamage( 15, 28 );
SetDamageType( ResistanceType.Physical, 60 );
SetDamageType( ResistanceType.Poison, 40 );
SetResistance( ResistanceType.Physical, 50, 57 );
SetResistance( ResistanceType.Fire, 40, 43 );
SetResistance( ResistanceType.Cold, 30, 35 );
SetResistance( ResistanceType.Poison, 61, 69 );
SetResistance( ResistanceType.Energy, 41, 45 );
SetSkill( SkillName.Wrestling, 77.8, 94.6 );
SetSkill( SkillName.Tactics, 90.6, 100.4 );
SetSkill( SkillName.MagicResist, 108.4, 114.0 );
// TODO: Fame/Karma?
}
public override void GenerateLoot()
{
AddLoot( LootPack.UltraRich, 3 );
}
public override void OnDeath( Container c )
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.3 )
c.DropItem( new TaintedSeeds() );
}
public override Poison PoisonImmune { get { return Poison.Lethal; } }
public Tangle( 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();
}
}
}