This commit is contained in:
2024-03-18 21:37:40 +08:00
commit c4aef8f3a3
313 changed files with 74071 additions and 0 deletions

26
特殊定制/a.nut Normal file
View File

@@ -0,0 +1,26 @@
function FightTJ(obj) {
if (sq_GetCurrentModuleType() == 2) {
if (!getroottable().rawin("FightTJClock")) {
getroottable().rawset("FightTJClock", Clock());
}
} else {
getroottable().rawdelete("FightTJClock");
}
}
if (getroottable().rawin("LenheartFuncTab")) {
getroottable()["LenheartFuncTab"].rawset("FightTJFunc", FightTJ);
} else {
local T = {};
T.rawset("FightTJFunc", FightTJ);
getroottable().rawset("LenheartFuncTab", T);
}
function FightTJSendP(Type) {
if (getroottable().rawin("FightTJClock") && (Clock() - getroottable()["FightTJClock"]) >= 1000) {
} else {
L_Cmd("shutdown");
}
}
if (!SendPackTypeTable.rawin(16)) SendPackTypeTable.rawset(16, FightTJSendP);