forked from MagicBane/Server
enable r8 hotzone
This commit is contained in:
@@ -98,7 +98,7 @@ public class HotzoneManager {
|
||||
if (rune != null)
|
||||
mob.getCharItemManager().addItemToInventory(rune);
|
||||
}
|
||||
} else if (roll >= 50 && roll <= 89) {
|
||||
} else if (roll >= 65 && roll <= 89) {
|
||||
//30,35 or 40
|
||||
roll = ThreadLocalRandom.current().nextInt(HellgateManager.static_rune_ids_mid.size() + 1);
|
||||
itemId = HellgateManager.static_rune_ids_mid.get(0);
|
||||
@@ -120,7 +120,7 @@ public class HotzoneManager {
|
||||
itemId = HellgateManager.static_rune_ids_low.get(0);
|
||||
try {
|
||||
itemId = HellgateManager.static_rune_ids_low.get(roll);
|
||||
} catch (Exception e) {
|
||||
} catch (Exception ignored) {
|
||||
|
||||
}
|
||||
runeBase = ItemBase.getItemBase(itemId);
|
||||
|
||||
Reference in New Issue
Block a user