48public class ShootingStarData {
53 private boolean decreaseDouble =
false;
78 public int[]
starIds = { 41229, 41228, 41227, 41226, 41225, 41224, 41223, 41021, };
83 public int[]
possibleDust = { 1200, 700, 430, 250, 175, 80, 40, 40, 15 };
88 public int[]
xpDrops = { 12, 22, 26, 31, 48, 74, 123, 162, 244 };
106 System.out.println(
"starLocation.starPosition " +
starLocation.starPosition);
119 int roll = RandomUtils.inclusive(0, 100);
122 player.inventory.
add(
new Item(25527, amount));
128 if(p ==
null || !(p.action.getCurrentAction() instanceof ShootingStarAction))
continue;
130 System.out.println(
"Reset the mining action for all the players with a shooting star action...");
166 int[] chances = { 0, 16, 18, 20, 17, 12, 9, 5 };
168 for (
int index = chances.length - 1; index > 0; index--) {
169 int roll = RandomUtils.inclusive(0, 100);
170 if (roll < chances[index])
ShootingStarLocations starLocation
void decreaseDust(Player player)