diff --git a/Source/GrasscutterTools/FormMain.cs b/Source/GrasscutterTools/FormMain.cs index 952699b..2e13385 100644 --- a/Source/GrasscutterTools/FormMain.cs +++ b/Source/GrasscutterTools/FormMain.cs @@ -513,8 +513,16 @@ namespace GrasscutterTools { var id = name.Substring(0, name.IndexOf(':')).Trim(); - SetCommand(ChkDrop.Checked ? "/drop" : "/give", - $"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}"); + if (ChkDrop.Checked) + { + NUDGameItemLevel.Enabled = false; + SetCommand("/drop", $"{id} {NUDGameItemAmout.Value}"); + } + else + { + NUDGameItemLevel.Enabled = true; + SetCommand("/give", $"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}"); + } return true; } return false; diff --git a/Source/GrasscutterTools/Resources/en-us/CustomCommands.txt b/Source/GrasscutterTools/Resources/en-us/CustomCommands.txt index 5cfcad7..b9d2932 100644 --- a/Source/GrasscutterTools/Resources/en-us/CustomCommands.txt +++ b/Source/GrasscutterTools/Resources/en-us/CustomCommands.txt @@ -41,7 +41,7 @@ Restart Server Send PM /say Pull in team -/coop +/coop @targetId Suicide /killcharacter Kill Somebody @@ -49,4 +49,6 @@ Kill Somebody List ALL users /list uid Reload service config -/reload \ No newline at end of file +/reload +KillAll +/killall \ No newline at end of file diff --git a/Source/GrasscutterTools/Resources/zh-cn/CustomCommands.txt b/Source/GrasscutterTools/Resources/zh-cn/CustomCommands.txt index 1e70311..687b50b 100644 --- a/Source/GrasscutterTools/Resources/zh-cn/CustomCommands.txt +++ b/Source/GrasscutterTools/Resources/zh-cn/CustomCommands.txt @@ -41,7 +41,7 @@ 私信 /say 进来吧你 -/coop +/coop @targetId 自杀 /killcharacter 暗杀 @@ -49,4 +49,6 @@ 都有谁在? /list uid 重载服务配置 -/reload \ No newline at end of file +/reload +清场 +/killall \ No newline at end of file