default of everytick is painful

need to rework some timer code
This commit is contained in:
mark 2009-08-08 10:32:11 +00:00
parent c25c3687e4
commit 698d969b9b

View file

@ -522,6 +522,8 @@ namespace Server.Mobiles
public TeleportTimer( Mobile owner ) : base( TimeSpan.FromSeconds( 5.0 ), TimeSpan.FromSeconds( 5.0 ) )
{
Priority = TimerPriority.TwoFiftyMS;
m_Owner = owner;
}
@ -608,6 +610,8 @@ namespace Server.Mobiles
public GoodiesTimer( Map map, int x, int y ) : base( TimeSpan.FromSeconds( Utility.RandomDouble() * 10.0 ) )
{
Priority = TimerPriority.TwoFiftyMS;
m_Map = map;
m_X = x;
m_Y = y;