mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
Fix drop command bug (#25)
Update coop command Add /killall to CustomCommands
This commit is contained in:
parent
92f1dc81d9
commit
f46e63b189
@ -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;
|
||||
|
@ -41,7 +41,7 @@ Restart Server
|
||||
Send PM
|
||||
/say <player> <message>
|
||||
Pull in team
|
||||
/coop <playerId> <target playerId>
|
||||
/coop @targetId
|
||||
Suicide
|
||||
/killcharacter
|
||||
Kill Somebody
|
||||
@ -49,4 +49,6 @@ Kill Somebody
|
||||
List ALL users
|
||||
/list uid
|
||||
Reload service config
|
||||
/reload
|
||||
/reload
|
||||
KillAll
|
||||
/killall
|
@ -41,7 +41,7 @@
|
||||
私信
|
||||
/say <player> <message>
|
||||
进来吧你
|
||||
/coop <playerId> <target playerId>
|
||||
/coop @targetId
|
||||
自杀
|
||||
/killcharacter
|
||||
暗杀
|
||||
@ -49,4 +49,6 @@
|
||||
都有谁在?
|
||||
/list uid
|
||||
重载服务配置
|
||||
/reload
|
||||
/reload
|
||||
清场
|
||||
/killall
|
Loading…
Reference in New Issue
Block a user