Fixed sendlog wording and increased dmg due to false positives.
This commit is contained in:
parent
383633a823
commit
a88e731263
1 changed files with 2 additions and 2 deletions
|
|
@ -630,9 +630,9 @@ namespace TShockAPI
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dmg > 100) // random number, if false positives, increase
|
if (dmg > 125) // random number, if false positives, increase
|
||||||
{
|
{
|
||||||
TShock.Utils.SendLogs(string.Format("{0} sent a projectile with more than 80 damage.", args.Player.Name), Color.Red);
|
TShock.Utils.SendLogs(string.Format("{0} sent a projectile with more than 125 damage.", args.Player.Name), Color.Red);
|
||||||
if (dmg > 175)
|
if (dmg > 175)
|
||||||
{
|
{
|
||||||
TShock.Utils.HandleCheater(args.Player, TShock.Config.ProjectileAbuseReason);
|
TShock.Utils.HandleCheater(args.Player, TShock.Config.ProjectileAbuseReason);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue