mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-09 06:43:36 +08:00
[BREAKING] Item Usage Overhaul
-De-hardcode elemental orb values -De-hardcode exp items -Change ShopChest format (temporary, drop system overhaul will replace it entirely) -Food healing actually uses Ability data for real HP amounts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package emu.grasscutter.game.props.ItemUseAction;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
public abstract class ItemUseInt extends ItemUseAction {
|
||||
@Getter protected int i = 0;
|
||||
|
||||
public ItemUseInt(String[] useParam) {
|
||||
try {
|
||||
this.i = Integer.parseInt(useParam[0]);
|
||||
} catch (NumberFormatException ignored) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user