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

@ -13,10 +13,11 @@ namespace Server.Mobiles
{
public override bool Commandable{ get{ return false; } }
public override bool InitialInnocent{ get{ return true; } }
public virtual bool IsInvulnerable{ get{ return true; } }
//public override bool IsInvulnerable{ get{ return true; } } // TODO: Wailing banshees are NOT invulnerable, are any of the others?
public BaseTalismanSummon() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4 )
{
// TODO: Stats/skills
}
public BaseTalismanSummon( Serial serial ) : base( serial )
@ -368,8 +369,10 @@ namespace Server.Mobiles
public override void OnThink()
{
/*
if ( m_NextWave < DateTime.Now )
AreaHeatDamage();
*/
}
public override void Serialize( GenericWriter writer )
@ -386,6 +389,9 @@ namespace Server.Mobiles
int version = reader.ReadEncodedInt();
}
/*
// An area attack that only damages staff, wtf?
private DateTime m_NextWave;
public void AreaHeatDamage()
@ -417,6 +423,7 @@ namespace Server.Mobiles
m_NextWave = DateTime.Now + TimeSpan.FromSeconds( 3 );
}
*/
}
public class SummonedOrcBrute : BaseTalismanSummon