Merge pull request #1922 from moisterrific/patch-5

Update NPCAddBuff to include Sparkle Slime debuff

It looks like this exception is required and is separate from the other exemption we had. In particular, this enables the debuff to work on town NPCs, which aren't hostile.
This commit is contained in:
Lucas Nicodemus 2020-05-30 00:09:43 -07:00 committed by GitHub
commit b98267b795
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1540,7 +1540,7 @@ namespace TShockAPI
if (npc.townNPC && npc.netID != NPCID.Guide && npc.netID != NPCID.Clothier)
{
if (type != BuffID.Lovestruck && type != BuffID.Stinky && type != BuffID.DryadsWard &&
type != BuffID.Wet && type != BuffID.Slimed)
type != BuffID.Wet && type != BuffID.Slimed && type != BuffID.GelBalloonBuff)
{
detectedNPCBuffTimeCheat = true;
}