mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-09 23:29: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();
|
var id = name.Substring(0, name.IndexOf(':')).Trim();
|
||||||
|
|
||||||
SetCommand(ChkDrop.Checked ? "/drop" : "/give",
|
if (ChkDrop.Checked)
|
||||||
$"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}");
|
{
|
||||||
|
NUDGameItemLevel.Enabled = false;
|
||||||
|
SetCommand("/drop", $"{id} {NUDGameItemAmout.Value}");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
NUDGameItemLevel.Enabled = true;
|
||||||
|
SetCommand("/give", $"{id} {NUDGameItemAmout.Value} {NUDGameItemLevel.Value}");
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -41,7 +41,7 @@ Restart Server
|
|||||||
Send PM
|
Send PM
|
||||||
/say <player> <message>
|
/say <player> <message>
|
||||||
Pull in team
|
Pull in team
|
||||||
/coop <playerId> <target playerId>
|
/coop @targetId
|
||||||
Suicide
|
Suicide
|
||||||
/killcharacter
|
/killcharacter
|
||||||
Kill Somebody
|
Kill Somebody
|
||||||
@ -50,3 +50,5 @@ List ALL users
|
|||||||
/list uid
|
/list uid
|
||||||
Reload service config
|
Reload service config
|
||||||
/reload
|
/reload
|
||||||
|
KillAll
|
||||||
|
/killall
|
@ -41,7 +41,7 @@
|
|||||||
私信
|
私信
|
||||||
/say <player> <message>
|
/say <player> <message>
|
||||||
进来吧你
|
进来吧你
|
||||||
/coop <playerId> <target playerId>
|
/coop @targetId
|
||||||
自杀
|
自杀
|
||||||
/killcharacter
|
/killcharacter
|
||||||
暗杀
|
暗杀
|
||||||
@ -50,3 +50,5 @@
|
|||||||
/list uid
|
/list uid
|
||||||
重载服务配置
|
重载服务配置
|
||||||
/reload
|
/reload
|
||||||
|
清场
|
||||||
|
/killall
|
Loading…
Reference in New Issue
Block a user