Add debug to if statements.
This commit is contained in:
parent
9caa25538c
commit
a26c3d127e
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
name: TwosideKeeper
|
||||
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
||||
version: 3.7.3cr8
|
||||
version: 3.7.3cr9
|
||||
commands:
|
||||
money:
|
||||
description: Tells the player the amount of money they are holding.
|
||||
|
@ -208,6 +208,7 @@ public enum MonsterDifficulty {
|
||||
//First do a common roll.
|
||||
if (Math.random()<TwosideKeeper.COMMON_DROP_RATE &&
|
||||
this.loot_regular.length>0) {
|
||||
TwosideKeeper.log(">Attempting Common roll.", 1);
|
||||
//This is a common roll.
|
||||
ItemStack gen_loot = DistributeRandomLoot(this.loot_regular, isRanger);
|
||||
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
||||
@ -217,6 +218,7 @@ public enum MonsterDifficulty {
|
||||
//Rare Loot roll.
|
||||
if (Math.random()<TwosideKeeper.RARE_DROP_RATE &&
|
||||
this.loot_rare.length>0) {
|
||||
TwosideKeeper.log(">Attempting Rare roll.", 1);
|
||||
//This is a common roll.
|
||||
ItemStack gen_loot = DistributeRandomLoot(this.loot_rare, isRanger);
|
||||
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
||||
@ -248,6 +250,7 @@ public enum MonsterDifficulty {
|
||||
//Legendary Loot roll.
|
||||
if (Math.random()<TwosideKeeper.LEGENDARY_DROP_RATE &&
|
||||
this.loot_legendary.length>0) {
|
||||
TwosideKeeper.log(">Attempting Legendary roll.", 1);
|
||||
//This is a common roll.
|
||||
ItemStack gen_loot = DistributeRandomLoot(this.loot_legendary, isRanger);
|
||||
TwosideKeeper.log("Adding "+gen_loot.toString()+" to loot table.", 4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user