Commit d33ab09e authored by alt3ri's avatar alt3ri Committed by GitHub
Browse files

Added Elemental Bonus

Usage: /stats <epyro | ecryo | ehydro | egeo | edend | eelec | ephys> <amount> for elemental bonus
parent d0529641
...@@ -9,7 +9,7 @@ import emu.grasscutter.server.packet.send.PacketEntityFightPropUpdateNotify; ...@@ -9,7 +9,7 @@ import emu.grasscutter.server.packet.send.PacketEntityFightPropUpdateNotify;
import java.util.List; import java.util.List;
@Command(label = "setstats", usage = "setstats <hp|def|atk|em|er|crate|cdmg> <value>", @Command(label = "setstats", usage = "setstats|stats <stat> <value>",
aliases = {"stats"}) aliases = {"stats"})
public class SetStats implements CommandHandler { public class SetStats implements CommandHandler {
...@@ -23,7 +23,8 @@ public class SetStats implements CommandHandler { ...@@ -23,7 +23,8 @@ public class SetStats implements CommandHandler {
String stat = args.get(0); String stat = args.get(0);
switch (stat) { switch (stat) {
default: default:
CommandHandler.sendMessage(sender, "Usage: setstats|stats <hp|def|atk|em|er|crate|cdmg> <value>"); CommandHandler.sendMessage(sender, "Usage: /setstats|stats <hp | def | atk | em | er | crate | cdmg> <value> for basic stats");
CommandHandler.sendMessage(sender, "Usage: /stats <epyro | ecryo | ehydro | egeo | edend | eelec | ephys> <amount> for elemental bonus");
return; return;
case "hp": case "hp":
try { try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment