Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,54 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Items;
namespace Server.Mobiles
{
public class DoNDLogin
{
public static void Initialize()
{
EventSink.Login += new LoginEventHandler( OnLogin );
}
private static void OnLogin( LoginEventArgs e )
{
if ( e.Mobile is PlayerMobile )
{
PlayerMobile pm = (PlayerMobile)e.Mobile;
if (pm == null || pm.Backpack == null)
return;
Item check = pm.Backpack.FindItemByType(typeof(DoNDGameDeed) );
if ( check != null )
check.Delete();
if ( pm.Frozen == true )
pm.Frozen = false;
Item check2 = pm.Backpack.FindItemByType(typeof(DoNDReplayDeed) );
if ( check2 == null )
return;
DoNDReplayDeed rd = check2 as DoNDReplayDeed;
if ( rd == null )
return;
if ( rd.RP1 < 24 )
{
Timer i_timer = new PlayerReplayTimer( pm );
i_timer.Start();
}
if ( rd.RP1 >= 24 )
rd.Delete();
}
}
}
}