mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Auctions still dont work but i gtg.
This commit is contained in:
parent
cc22dbcf0b
commit
0f95462294
12 changed files with 385 additions and 44 deletions
|
@ -129,6 +129,7 @@ namespace HISP.Game
|
|||
// Check Tile Type
|
||||
int TileID = Map.GetTileId(x, y, false);
|
||||
string TileType = Map.TerrainTiles[TileID - 1].Type;
|
||||
|
||||
if (TileType != this.StayOn)
|
||||
return false;
|
||||
|
||||
|
@ -149,7 +150,7 @@ namespace HISP.Game
|
|||
int tries = 0;
|
||||
while(true)
|
||||
{
|
||||
int direction = GameServer.RandomNumberGenerator.Next(0, 3);
|
||||
int direction = GameServer.RandomNumberGenerator.Next(0, 4);
|
||||
int tryX = this.X;
|
||||
int tryY = this.Y;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue