Track specific rolls for Bosses.

dev
sigonasr2 9 years ago
parent 450876411b
commit d4746ac28e
  1. BIN
      TwosideKeeper.jar
  2. 2
      src/sig/plugin/TwosideKeeper/HelperStructures/MonsterDifficulty.java

Binary file not shown.

@ -291,6 +291,7 @@ public enum MonsterDifficulty {
}
if (isBoss) { //50% of the time, we drop something great.
if (Math.random()<=0.5 && this.loot_legendary.length>0) {
TwosideKeeper.log(">Boss Legendary roll.", 1);
ItemStack gen_loot = DistributeRandomLoot(this.loot_legendary, isRanger);
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
droplist.add(gen_loot);
@ -298,6 +299,7 @@ public enum MonsterDifficulty {
}
else
if (this.loot_rare.length>0) { //Consolation Prize.
TwosideKeeper.log(">Boss Rare roll.", 1);
ItemStack gen_loot = DistributeRandomLoot(this.loot_rare, isRanger);
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
droplist.add(gen_loot);

Loading…
Cancel
Save