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:
eos 2013-02-03 01:05:17 +00:00
parent 5c7af18dfb
commit 35fbffdb51
167 changed files with 23218 additions and 234 deletions

View file

@ -65,6 +65,14 @@ namespace Server.Mobiles
Utility.AssignRandomHair( this );
}
public override void OnDeath( Container c )
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.9 )
c.DropItem( new SeveredHumanEars() );
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average );

View file

@ -59,6 +59,15 @@ namespace Server.Mobiles
PackItem( Loot.RandomNecromancyReagent() );
}
public override void OnDeath( Container c )
{
base.OnDeath( c );
// TODO: Check drop rate
if ( Utility.RandomDouble() < 0.05 )
c.DropItem( new StoutWhip() );
}
public override void GenerateLoot()
{
AddLoot( LootPack.Meager, 2 );