mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
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:
parent
e326dd2bf7
commit
cfdea72b6c
9 changed files with 346 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue