We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case "攻城": //更改了 自己对比下 if ((!IsGM && !Settings.TestServer) || parts.Length < 2) return; int ConquestID; if (parts.Length < 1) { ReceiveChat(string.Format("命令是 /攻城 [攻城ID]"), ChatType.System); return; } if (MyGuild == null) { ReceiveChat(string.Format("你需要在一个公会开始一场战争"), ChatType.System); return; } else if (!int.TryParse(parts[1], out ConquestID)) return; ConquestObject tempConq = Envir.Conquests.FirstOrDefault(t => t.Info.Index == ConquestID); if (tempConq != null) { tempConq.StartType = ConquestType.Forced; tempConq.WarIsOn = !tempConq.WarIsOn; tempConq.AttackerID = MyGuild.Guildindex; } hintstring = tempConq.WarIsOn ? "{0}攻城开始了." : "{0}攻城结束了."; ReceiveChat(string.Format(hintstring, tempConq.Info.Name), ChatType.System); SMain.Enqueue(string.Format(hintstring, tempConq.Info.Name)); break;
This modified command to open conquer the second input will be prompted to conquer the end
The text was updated successfully, but these errors were encountered:
How to prompt for all
Sorry, something went wrong.
Conquer did not prompt the beginning and the end, only prompted by the administrator, why not let all players have tips
No branches or pull requests
This modified command to open conquer the second input will be prompted to conquer the end
The text was updated successfully, but these errors were encountered: