Bump max player damage to 42,000 for empress of light

Based on feedback from #1936, empress of light needs to do more damage,
so we're going to boost it to a higher arbitrary number than it was
before.
This commit is contained in:
Lucas Nicodemus 2020-05-31 13:11:01 -07:00
parent 1a35713e3e
commit 6ca9a98a91
No known key found for this signature in database
GPG key ID: A07BD9023D1664DB
2 changed files with 2 additions and 1 deletions

View file

@ -2043,7 +2043,7 @@ namespace TShockAPI
short id = args.PlayerId;
PlayerDeathReason playerDeathReason = args.PlayerDeathReason;
if (damage > 20000) //Abnormal values have the potential to cause infinite loops in the server.
if (damage > 42000) //Abnormal values have the potential to cause infinite loops in the server.
{
TShock.Log.ConsoleDebug("Bouncer / OnKillMe rejected high damage from {0} {1}", args.Player.Name, damage);
args.Player.Kick("Failed to shade polygon normals.", true, true);