refactor: 清理代码格式并修复拼写错误

移除多余空行并修正Timer.SetTimeOut方法名拼写
调整随机数生成范围避免数组越界
添加调试打印语句用于测试
This commit is contained in:
2026-05-03 19:59:02 +08:00
parent a71fb179ef
commit 70376c380e
4 changed files with 22 additions and 5 deletions

View File

@@ -336,6 +336,7 @@ class FatalismStone {
function RegisterDebugCmd() {
Gm_InputFunc_Handle["给魂石"] <- function(SUser, CmdString) {
print(123123);
local count = -1;
local pos = 0;
local handler = [];
@@ -406,7 +407,7 @@ class FatalismStone {
//给指定玩家新增魂石
function AddFatalismStone(SUser, FatalismStoneID) {
local CID = SUser.GetCID();
}