Track specific rolls for Bosses.

This commit is contained in:
sigonasr2 2016-08-05 21:34:07 -05:00
parent 450876411b
commit d4746ac28e
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -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);