Moon Card

This commit is contained in:
Yazawazi
2022-04-27 06:04:21 +08:00
committed by GitHub
parent addfb5eb5d
commit 748e64a60c
9 changed files with 1145 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);