Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
namespace Server.Custom.UOSurvivalEvent
{
public class SurvivalPlayer
{
public Mobile S_Player { get; private set; }
public int Kills { get; private set; } = 0;
public int Deaths { get; private set; } = 0;
public int Points { get; private set; } = 0;
public (Point3D oldLocation, Map map) HomeLocation { get; private set; }
public SurvivalPlayer(Mobile m)
{
S_Player = m;
}
public void UpdateStats(bool kill, bool death, bool point)
{
if (kill)
{
Kills++;
}
if (death)
{
Deaths++;
}
if (point)
{
Points++;
}
}
public void MarkHomeLocation()
{
HomeLocation = (S_Player.Location, S_Player.Map);
}
}
}