Add pirate treasures, and pot of gold (Though, text is missing for Pot of Gold- i have to find one in public server first.)

This commit is contained in:
SilicaAndPina 2021-02-07 23:04:09 +13:00
parent e326dd2bf7
commit cfdea72b6c
9 changed files with 346 additions and 2 deletions

View file

@ -242,6 +242,9 @@ namespace HISP.Player
}
set
{
if (value > Map.Width)
value = Map.Width;
Database.SetPlayerX(value, Id);
x = value;
}
@ -255,6 +258,8 @@ namespace HISP.Player
}
set
{
if (value > Map.Height)
value = Map.Height;
Database.SetPlayerY(value, Id);
y = value;
}