Testing things

dev
sigonasr2 9 years ago
parent b03b64125e
commit d836f2977a
  1. BIN
      TwosideKeeper.jar
  2. 2
      src/plugin.yml
  3. 8
      src/sig/plugin/TwosideKeeper/HelperStructures/MonsterDifficulty.java
  4. 2
      src/sig/plugin/TwosideKeeper/TwosideKeeper.java

Binary file not shown.

@ -1,6 +1,6 @@
name: TwosideKeeper
main: sig.plugin.TwosideKeeper.TwosideKeeper
version: 3.7.3cr5
version: 3.7.3cr6
commands:
money:
description: Tells the player the amount of money they are holding.

@ -252,9 +252,9 @@ public enum MonsterDifficulty {
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
droplist.add(gen_loot);
double randomness = Math.random();
TwosideKeeper.log(ChatColor.DARK_GREEN+" Randomness is "+randomness, 3);
TwosideKeeper.log(ChatColor.DARK_GREEN+" Randomness is "+randomness, 1);
if (randomness<=0.2) {
TwosideKeeper.log(ChatColor.DARK_GREEN+" Spawn a Core!", 3);
TwosideKeeper.log(ChatColor.DARK_GREEN+" Spawn a Core!", 1);
switch (this) {
case DANGEROUS:
droplist.add(sig.plugin.TwosideKeeper.Artifact.createArtifactItem(ArtifactItem.ANCIENT_CORE));
@ -274,9 +274,9 @@ public enum MonsterDifficulty {
}
}
randomness = Math.random();
TwosideKeeper.log(ChatColor.DARK_GREEN+" Randomness is "+randomness, 3);
TwosideKeeper.log(ChatColor.DARK_GREEN+" Randomness is "+randomness, 1);
if (randomness<=0.6) {
TwosideKeeper.log(ChatColor.DARK_GREEN+" Spawn a Mysterious Essence!", 3);
TwosideKeeper.log(ChatColor.DARK_GREEN+" Spawn a Mysterious Essence!", 1);
switch (this) {
case NORMAL:
droplist.add(sig.plugin.TwosideKeeper.Artifact.createArtifactItem(ArtifactItem.MYSTERIOUS_ESSENCE));

@ -4364,7 +4364,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
break;
}
log("Drop list contains "+(droplist.size()+originaldroplist.size())+" elements.",5);
log(" Drops "+"["+(drop.size()+originaldroplist.size())+"]: "+ChatColor.GOLD+ChatColor.stripColor(originaldroplist.toString())+ChatColor.WHITE+","+ChatColor.LIGHT_PURPLE+ChatColor.stripColor(drop.toString()),3);
log(" Drops "+"["+(drop.size()+originaldroplist.size())+"]: "+ChatColor.GOLD+ChatColor.stripColor(originaldroplist.toString())+ChatColor.WHITE+","+ChatColor.LIGHT_PURPLE+ChatColor.stripColor(drop.toString()),1);
}
if (monsterdata.containsKey(m.getUniqueId())) {

Loading…
Cancel
Save