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.
This commit is contained in:
parent
5c7af18dfb
commit
35fbffdb51
167 changed files with 23218 additions and 234 deletions
81
Scripts/Mobiles/Monsters/ML/Blighted Grove/Thrasher.cs
Normal file
81
Scripts/Mobiles/Monsters/ML/Blighted Grove/Thrasher.cs
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a Thrasher corpse" )]
|
||||
public class Thrasher : Alligator
|
||||
{
|
||||
[Constructable]
|
||||
public Thrasher()
|
||||
{
|
||||
IsParagon = true;
|
||||
|
||||
Name = "Thrasher";
|
||||
Hue = 0x497;
|
||||
|
||||
SetStr( 93, 327 );
|
||||
SetDex( 7, 201 );
|
||||
SetInt( 15, 67 );
|
||||
|
||||
SetHits( 260, 984 );
|
||||
SetStam( 56, 75 );
|
||||
SetMana( 25, 30 );
|
||||
|
||||
SetDamage( 20, 30 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 50, 55 );
|
||||
SetResistance( ResistanceType.Fire, 25, 29 );
|
||||
SetResistance( ResistanceType.Poison, 25, 28 );
|
||||
|
||||
SetSkill( SkillName.Wrestling, 101.2, 118.3 );
|
||||
SetSkill( SkillName.Tactics, 96.3, 117.3 );
|
||||
SetSkill( SkillName.MagicResist, 102.4, 118.6 );
|
||||
|
||||
// TODO: Fame/Karma
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich, 4 );
|
||||
}
|
||||
|
||||
public override WeaponAbility GetWeaponAbility()
|
||||
{
|
||||
return WeaponAbility.ArmorIgnore;
|
||||
}
|
||||
|
||||
public override void OnDeath( Container c )
|
||||
{
|
||||
base.OnDeath( c );
|
||||
|
||||
c.DropItem( new ThrashersTail() );
|
||||
}
|
||||
|
||||
public override bool GivesMLMinorArtifact { get { return true; } }
|
||||
public override int Hides { get { return 48; } }
|
||||
public override int Meat { get { return 1; } }
|
||||
|
||||
public Thrasher( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue