From 2217d63dc7c0d2d9891f77f6e6bfe9513561f753 Mon Sep 17 00:00:00 2001 From: Stargazing Koishi Date: Fri, 26 Nov 2021 06:52:30 -0800 Subject: [PATCH] Update new buffs for NPC The new TentacleSpike buff is allowed --- TShockAPI/Bouncer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 2cae6ca0..55694df4 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -2383,6 +2383,7 @@ namespace TShockAPI } // These time values are references from Projectile.cs, at npc.AddBuff() calls. + // Moved to Projectile.StatusNPC(int i). private static Dictionary NPCAddBuffTimeMax = new Dictionary() { { BuffID.Poisoned, 3600 }, // BuffID: 20 @@ -2416,7 +2417,8 @@ namespace TShockAPI { BuffID.GelBalloonBuff, 1800 }, // BuffID: 320 { BuffID.OnFire3, 360 }, // BuffID: 323 { BuffID.Frostburn2, 900 }, // BuffID: 324 - { BuffID.BoneWhipNPCDebuff, 240 } // BuffID: 326 + { BuffID.BoneWhipNPCDebuff, 240 }, // BuffID: 326 + { BuffID.TentacleSpike, 540 } // BuffID: 326 }; ///