Track specific rolls for Bosses.
This commit is contained in:
parent
450876411b
commit
d4746ac28e
Binary file not shown.
@ -291,6 +291,7 @@ public enum MonsterDifficulty {
|
|||||||
}
|
}
|
||||||
if (isBoss) { //50% of the time, we drop something great.
|
if (isBoss) { //50% of the time, we drop something great.
|
||||||
if (Math.random()<=0.5 && this.loot_legendary.length>0) {
|
if (Math.random()<=0.5 && this.loot_legendary.length>0) {
|
||||||
|
TwosideKeeper.log(">Boss Legendary roll.", 1);
|
||||||
ItemStack gen_loot = DistributeRandomLoot(this.loot_legendary, isRanger);
|
ItemStack gen_loot = DistributeRandomLoot(this.loot_legendary, isRanger);
|
||||||
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
||||||
droplist.add(gen_loot);
|
droplist.add(gen_loot);
|
||||||
@ -298,6 +299,7 @@ public enum MonsterDifficulty {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (this.loot_rare.length>0) { //Consolation Prize.
|
if (this.loot_rare.length>0) { //Consolation Prize.
|
||||||
|
TwosideKeeper.log(">Boss Rare roll.", 1);
|
||||||
ItemStack gen_loot = DistributeRandomLoot(this.loot_rare, isRanger);
|
ItemStack gen_loot = DistributeRandomLoot(this.loot_rare, isRanger);
|
||||||
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
||||||
droplist.add(gen_loot);
|
droplist.add(gen_loot);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user