add colours to annoy

and add silent support
This commit is contained in:
stacey 2021-08-06 16:29:20 -04:00
parent 45e1e4288a
commit 7e4f05eb9c
2 changed files with 9 additions and 5 deletions

View file

@ -1715,7 +1715,6 @@ namespace TShockAPI
var time2 = (int)time;
var launch = DateTime.UtcNow;
var startname = Name;
SendInfoMessage("You are now being annoyed.");
while ((DateTime.UtcNow - launch).TotalSeconds < time2 && startname == Name)
{
SendData(PacketTypes.NpcSpecial, number: Index, number2: 2f);