Improve Looting drop chance calculation. Modify Drop Rate some more.
#Balance
This commit is contained in:
parent
16599b5cf6
commit
a7b98f2a54
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
name: TwosideKeeper
|
name: TwosideKeeper
|
||||||
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
||||||
version: 3.4.4
|
version: 3.4.4r1
|
||||||
commands:
|
commands:
|
||||||
money:
|
money:
|
||||||
description: Tells the player the amount of money they are holding.
|
description: Tells the player the amount of money they are holding.
|
||||||
|
@ -161,6 +161,10 @@ public enum MonsterDifficulty {
|
|||||||
public List<ItemStack> RandomizeDrops(double dropmult, boolean isBoss) {
|
public List<ItemStack> RandomizeDrops(double dropmult, boolean isBoss) {
|
||||||
List<ItemStack> droplist = new ArrayList<ItemStack>();
|
List<ItemStack> droplist = new ArrayList<ItemStack>();
|
||||||
dropmult += 1; //Base dropmult is 1.0.
|
dropmult += 1; //Base dropmult is 1.0.
|
||||||
|
if (Math.random() < dropmult % 1)
|
||||||
|
{
|
||||||
|
dropmult++;
|
||||||
|
}
|
||||||
|
|
||||||
//Basically for each additional dropmult integer value, the
|
//Basically for each additional dropmult integer value, the
|
||||||
//amount of rolls increases. (A dropmult of 1.0 is required for
|
//amount of rolls increases. (A dropmult of 1.0 is required for
|
||||||
|
@ -169,9 +169,9 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
|
|||||||
public static double ENEMY_DMG_MULT=1.0f; //
|
public static double ENEMY_DMG_MULT=1.0f; //
|
||||||
public static double EXPLOSION_DMG_MULT=1.2f; //
|
public static double EXPLOSION_DMG_MULT=1.2f; //
|
||||||
public static double HEADSHOT_ACC=1.0f; //How accurate headshots have to be. Lower values means more leniency on headshots. Higher values means more strict.
|
public static double HEADSHOT_ACC=1.0f; //How accurate headshots have to be. Lower values means more leniency on headshots. Higher values means more strict.
|
||||||
public static double COMMON_DROP_RATE=0.5; // 1/2 chance
|
public static double COMMON_DROP_RATE=0.1; // 1/10 chance
|
||||||
public static double RARE_DROP_RATE=0.010417; // 1/96 chance
|
public static double RARE_DROP_RATE=0.0078125; // 1/128 chance
|
||||||
public static double LEGENDARY_DROP_RATE=0.0052; // 1/192 chance
|
public static double LEGENDARY_DROP_RATE=0.00390625; // 1/256 chance
|
||||||
public static int PARTY_CHUNK_SIZE=16; //The number of chunks each party spans.
|
public static int PARTY_CHUNK_SIZE=16; //The number of chunks each party spans.
|
||||||
public double XP_CONVERSION_RATE=0.01; //How much money per exp point?
|
public double XP_CONVERSION_RATE=0.01; //How much money per exp point?
|
||||||
public static int WORLD_SHOP_ID=0; //The shop ID number we are on.
|
public static int WORLD_SHOP_ID=0; //The shop ID number we are on.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user