-Nerf Daily Challenge Loot, making passive daily rewards a lot less
valuable while awarding players that actually do them actively. -Added !roll bot command.
This commit is contained in:
parent
9874633e69
commit
64901cd703
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
name: TwosideKeeper
|
||||
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
||||
version: 3.12.1b
|
||||
version: 3.12.1b1
|
||||
loadbefore: [aPlugin]
|
||||
commands:
|
||||
money:
|
||||
|
@ -132,28 +132,25 @@ public class ChallengeReward {
|
||||
switch (rank) {
|
||||
case 1:{
|
||||
return new ItemStack[]{
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,5),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_ESSENCE,8),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_CORE,4),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_BASE,2),
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,2),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_ESSENCE,2),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_CORE,1),
|
||||
};
|
||||
}
|
||||
case 2:{
|
||||
return new ItemStack[]{
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,3),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_ESSENCE,4),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_CORE,2),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_BASE,1),
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,1),
|
||||
Artifact.createArtifactItem(ArtifactItem.ARTIFACT_ESSENCE,1),
|
||||
};
|
||||
}
|
||||
case 3:{
|
||||
return new ItemStack[]{
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,3),
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,1),
|
||||
};
|
||||
}
|
||||
case 438190894:{
|
||||
return new ItemStack[]{
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,5),
|
||||
Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE,2),
|
||||
};
|
||||
}
|
||||
default:{
|
||||
|
@ -354,6 +354,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
|
||||
public static List<LavaPlume> lavaplume_list = new ArrayList<LavaPlume>();
|
||||
public static long LAST_SPECIAL_SPAWN = 0;
|
||||
public static long LAST_WEEKLY_RESET = 0;
|
||||
public static List<Integer> recentnumbers = new ArrayList<Integer>();
|
||||
|
||||
public static CustomItem HUNTERS_COMPASS;
|
||||
public static CustomItem UPGRADE_SHARD;
|
||||
@ -1395,6 +1396,15 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
|
||||
}
|
||||
}
|
||||
},"daily");
|
||||
aPlugin.API.addCommand(args->{
|
||||
int attempts=1000;
|
||||
int selectednumb = (int)(Math.random()*101);
|
||||
while (attempts>0 && recentnumbers.contains(selectednumb)) {
|
||||
selectednumb = (int)(Math.random()*101);
|
||||
attempts--;
|
||||
}
|
||||
recentnumbers.add(selectednumb);
|
||||
},"roll");
|
||||
}, 90);
|
||||
}
|
||||
|
||||
|
@ -156,6 +156,7 @@ final public class runServerHeartbeat implements Runnable {
|
||||
//MOTD: "Thanks for playing on Sig's Minecraft!\n*bCheck out http://z-gamers.net/mc for update info!\n*aReport any bugs you find at http://zgamers.domain.com/mc/"
|
||||
ServerHeartbeat.getMOTD();
|
||||
ServerHeartbeat.getServer().broadcastMessage(ChatColor.translateAlternateColorCodes('*', TwosideKeeper.MOTD));
|
||||
TwosideKeeper.recentnumbers.clear();
|
||||
TwosideKeeper.habitat_data.increaseHabitationLevels();
|
||||
TwosideKeeper.habitat_data.startinglocs.clear();
|
||||
for (int i=0;i<Bukkit.getOnlinePlayers().size();i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user