fixed some stuff!

This commit is contained in:
Aubri Seebauer committed 2023-04-24 17:59:30 -04:00
1 parent 1e19d8eaf6
commit bdc3962dbf
4 files changed
+69 -56

No files matched your search

@@ -455,6 +455,7 @@ public class Raid {
//factor is 0.5 -> 3
double factor = ((raidScore - 800.0) / 100) + 0.5;
if (factor > 3.0) factor = 3.0;
if (factor < 0) factor = 0.0;
final Resident resident = TownyAPI.getInstance().getResident(owner.getUniqueId());
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "The raiders from " + this.raiders
@@ -529,6 +530,7 @@ public class Raid {
double factor = (3 - ((raidScore) / 200.0) - 0.5);
if (factor > 3.0) factor = 3.0;
if (factor < 0) factor = 0.0;
String statement = "raided";
if (factor <= 0.5) {