mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
fixed some stuff!
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user