/* 文件名:MonsterBlood.nut 路径:Project/MonsterBlood/MonsterBlood.nut 创建日期:2025-12-10 19:13 文件用途:怪物血条 */ class MonsterBloodC extends Rindro_BaseToolClass { constructor() { } function DrawFront(args) { } function DrawBack(args) { } } getroottable().rawdelete("MonsterBlood_Obj"); function Lenheart_MonsterBlood_Fun(obj) { local RootTab = getroottable(); if (!RootTab.rawin("MonsterBlood_Obj")) { RootTab.rawset("MonsterBlood_Obj", MonsterBloodC()); local Func = function(args) { print(args[0]); } // Rindro_Haker.LoadHook(0x43D8C0, ["pointer", "void"], // function(args) { // print(args[0]); // if (getroottable().rawin("MonsterBlood_Obj")) getroottable().MonsterBlood_Obj.DrawBack(args); // }, // function(args) { // if (getroottable().rawin("MonsterBlood_Obj")) getroottable().MonsterBlood_Obj.DrawFront(args); // }); Rindro_Haker.LoadHook(0x43D770, ["int", "int", "int"], function(args) { print(args[0]); if (getroottable().rawin("MonsterBlood_Obj")) getroottable().MonsterBlood_Obj.DrawBack(args); }, function(args) { if (getroottable().rawin("MonsterBlood_Obj")) getroottable().MonsterBlood_Obj.DrawFront(args); }); } } getroottable()["LenheartFuncTab"].rawset("MonsterBloodFuncN", Lenheart_MonsterBlood_Fun);