correction in moongates regarding unhiding. ItemID wands should not be dropping on AoS+ shards.

This commit is contained in:
xavier 2011-09-20 01:08:30 +00:00
parent 67a8569ecd
commit 359349ed01
3 changed files with 17 additions and 8 deletions

View file

@ -104,11 +104,8 @@ namespace Server.Items
public virtual void CheckGate( Mobile m, int range )
{
#region Mondain's Legacy
if ( m.Hidden && Core.ML )
{
if ( m.Hidden && m.AccessLevel == AccessLevel.Player && Core.ML )
m.RevealingAction();
m.SendLocalizedMessage( 501955 ); // Your spirit lacks the cohesion for gate travel at this time.
}
#endregion
new DelayTimer( m, this, range ).Start();

View file

@ -10,8 +10,11 @@ namespace Server.Items
return CreateRandomWand();
}
public static BaseWand CreateRandomWand( )
public static BaseWand CreateRandomWand()
{
return Loot.RandomWand();
/*
switch ( Utility.Random( 11 ) )
{
default:
@ -27,6 +30,7 @@ namespace Server.Items
case 9: return new ManaDrainWand();
case 10: return new WeaknessWand();
}
*/
}
}
}