Refactor skill lookup logic and vote system, update language files
Refactored command handling to improve player and skill lookup logic, replaced some list operations with direct queries, and updated method signatures for clarity and null safety. The vote system was reworked to support more robust vote tracking, cooldowns, and localized chat messages. Language files were updated to add new vote-related translations. Various code style and nullability improvements were made throughout the plugin.
This commit is contained in:
parent
54b265d43d
commit
e33975fe8b
117 changed files with 1532 additions and 1674 deletions
|
|
@ -414,6 +414,14 @@
|
|||
"healed": "你已被治疗。",
|
||||
"game_start": "游戏开始!",
|
||||
|
||||
"vote_started": "投票开始:'{0}'",
|
||||
"vote_timeout": "投票'{0}'超时!",
|
||||
"vote_wait": "您需要等待才能开始另一轮投票!",
|
||||
"vote_same_wait": "您需要等待才能再次发起相同投票!",
|
||||
"vote_not_enough_players": "投票人数不足!",
|
||||
"vote_alredy_voted": "您已投票!",
|
||||
"vote_vote": "投票",
|
||||
|
||||
"teammate_skills": "你队友的技能",
|
||||
"summary_start": "=============上一回合总结==============",
|
||||
"summary_end": "======================================="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue