mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-06 02:51:27 +12:00
Implement click packet
This commit is contained in:
parent
b8934c1faa
commit
862375cc75
10 changed files with 140 additions and 71 deletions
Horse Isle Server/Horse Isle Server/Game
|
@ -152,6 +152,9 @@ namespace HISP.Game
|
|||
public static string WagonCutscene;
|
||||
public static string BallonCutscene;
|
||||
|
||||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
public static string FormatYouEarnedAnItemMessage(string itemName)
|
||||
{
|
||||
return YouEarnedAnItemFormat.Replace("%ITEM%", itemName);
|
||||
|
|
|
@ -139,7 +139,7 @@ namespace HISP.Game
|
|||
}
|
||||
}
|
||||
if (quest.WarpX != 0 && quest.WarpY != 0)
|
||||
GameServer.Teleport(user.LoggedinClient, quest.WarpX, quest.WarpY);
|
||||
user.Teleport(quest.WarpX, quest.WarpY);
|
||||
|
||||
// Give quest points
|
||||
user.QuestPoints += quest.QuestPointsEarned;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue