Make raids less golddiggery

This commit is contained in:
Aubri Seebauer committed 2023-04-26 21:39:05 -04:00
1 parent c74130869f
commit 021c5a3b05
1 file changed
+4 -4
@@ -261,7 +261,7 @@ public class Raid {
lb.finished = true; lb.finished = true;
Random r = new Random(); Random r = new Random();
//The base value can be abjusted //The base value can be abjusted
lb.value = r.nextDouble() * 100; lb.value = r.nextDouble() * 30;
//score for looting //score for looting
this.addPointsToRaidScore(10); this.addPointsToRaidScore(10);
@@ -857,12 +857,12 @@ public class Raid {
//Report //Report
if (Raid.this.raidTicks % 6000 == 0) { if (Raid.this.raidTicks % 6000 == 0) {
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "Report on the raid of " Bukkit.broadcastMessage(Helper.Chatlabel() + "Report on the raid of "
+ Raid.this.getRaidedTown().getName() + ":"); + Raid.this.getRaidedTown().getName() + ":");
Bukkit.broadcastMessage( Bukkit.broadcastMessage(
"Raid Score - " + String.valueOf(Raid.this.raidScore)); "Raid Score - " + Raid.this.raidScore);
Bukkit.broadcastMessage( Bukkit.broadcastMessage(
"Chunks Looted - " + String.valueOf(Raid.this.lootedChunks.size()) + "/" + raidedTown.getTownBlocks().size()); "Chunks Looted - " + Raid.this.lootedChunks.size() + "/" + raidedTown.getTownBlocks().size());
} }
//Looting chunks //Looting chunks