Update new buffs for NPC

The new TentacleSpike buff is allowed
This commit is contained in:
Stargazing Koishi 2021-11-26 06:52:30 -08:00 committed by GitHub
parent 74e178e119
commit 2217d63dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<int, short> NPCAddBuffTimeMax = new Dictionary<int, short>()
{
{ 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
};
/// <summary>