Add pot of gold.

This commit is contained in:
SilicaAndPina 2021-02-12 12:13:37 +13:00
parent 2c77957434
commit a7ad6fc60c
6 changed files with 31 additions and 4 deletions

View file

@ -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)