Moon Card

This commit is contained in:
Yazawazi
2022-04-27 06:04:21 +08:00
committed by GitHub
parent b392849577
commit 383356deb0
10 changed files with 1162 additions and 0 deletions

View File

@@ -922,6 +922,11 @@ public class InventoryManager {
default:
break;
}
if (useItem.getItemId() == 1202) {
player.rechargeMoonCard();
used = 1;
}
if (used > 0) {
player.getInventory().removeItem(useItem, used);