mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Add pot of gold.
This commit is contained in:
parent
2c77957434
commit
a7ad6fc60c
6 changed files with 31 additions and 4 deletions
|
@ -157,6 +157,9 @@ namespace HISP.Game
|
|||
}
|
||||
else if(this.Type == "RAINBOW")
|
||||
{
|
||||
byte[] treasureReceivedPacket = PacketBuilder.CreateChat(Messages.FormatPotOfGold(this.Value), PacketBuilder.CHAT_BOTTOM_RIGHT);
|
||||
user.LoggedinClient.SendPacket(treasureReceivedPacket);
|
||||
|
||||
user.TrackedItems.GetTrackedItem(Tracking.TrackableItem.PotOfGold).Count++;
|
||||
|
||||
if (user.TrackedItems.GetTrackedItem(Tracking.TrackableItem.PotOfGold).Count >= 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue