1.1.6
This commit is contained in:
parent
9a0ee2d107
commit
fbc3897bff
|
@ -65,6 +65,7 @@ public class KillMobsListener implements Listener {
|
|||
if (itemKey == null) {
|
||||
return;
|
||||
}
|
||||
String playerName = player.getName();
|
||||
double luckyValue = getLuckyValue(itemKey);
|
||||
CacheManager cacheManager = AuCardBackpack.getCacheManager();
|
||||
int dropAmount = cacheManager.getDropData(player.getName(), itemKey);
|
||||
|
@ -90,6 +91,7 @@ public class KillMobsListener implements Listener {
|
|||
}
|
||||
player.getInventory().addItem(stack);
|
||||
DemonAPI.sendTitle(player, 0, 20, 10, "", "§a+ §e" + itemName + " §7X §a" + stack.getAmount());
|
||||
System.out.println("[日志 - 魂卡] 玩家 "+playerName+" 掉落 "+itemKey);
|
||||
}
|
||||
} else {
|
||||
// 当数量大于128后将不会增加幸运值
|
||||
|
|
Loading…
Reference in New Issue
Block a user