default of everytick is painful
need to rework some timer code
This commit is contained in:
parent
c25c3687e4
commit
698d969b9b
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue