11
This commit is contained in:
@@ -97,20 +97,20 @@ function L_drawMainCustomUI_All() {
|
||||
|
||||
|
||||
|
||||
local attackInfo = sq_GetCustomAttackInfo(obj, 0);
|
||||
sq_SetAttackInfoHitDelayRateDamager(attackInfo, 4.2);
|
||||
// sq_SetCurrentAttackBonusRate(attackInfo, 4812);
|
||||
// sq_SetCurrentAttacknUpForce(attackInfo, 41918);
|
||||
// sq_GetAttackInfoHitDelayRateDamager(attackInfo);
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
// local attackInfo = sq_GetCustomAttackInfo(obj, 0);
|
||||
// sq_SetAttackInfoHitDelayRateDamager(attackInfo, 4.2);
|
||||
// // sq_SetCurrentAttackBonusRate(attackInfo, 4812);
|
||||
// // sq_SetCurrentAttacknUpForce(attackInfo, 41918);
|
||||
// // sq_GetAttackInfoHitDelayRateDamager(attackInfo);
|
||||
// local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
|
||||
// sq_SetChangeStatusIntoAttackInfoWithEtc(attackInfo, 0, 10, 50, 150, 140, 49, 0);
|
||||
// print(attackInfo["__ot"][28259608])
|
||||
|
||||
|
||||
// for (local i = 0; i< 8000; i++) {
|
||||
// local Ret = DATK(AtkC, i).readFloat();
|
||||
// if (Ret == 50.0)
|
||||
// local Ret = DATK(AtkC, i).readInt();
|
||||
// if (Ret == 21567)
|
||||
// {
|
||||
// print("找到了! " + format("当前遍历: 0x%02x\n", i));
|
||||
// }
|
||||
|
||||
@@ -170,6 +170,7 @@ class Rindro_EventList {
|
||||
local Jso = Json.Decode(Chunk);
|
||||
X = Jso.YosinEventIconInfoXpos;
|
||||
Y = Jso.YosinEventIconInfoYpos;
|
||||
|
||||
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = X - 456,
|
||||
@@ -228,30 +229,6 @@ function Lenheart_EventList_Fun(obj) {
|
||||
}
|
||||
}
|
||||
|
||||
//获取活动图标坐标 在活动图标变动时会被调用
|
||||
function Sq_Get_Event_Pos_X() {
|
||||
if (getroottable().rawin("LenheartEventOffset")) {
|
||||
return getroottable()["LenheartEventOffset"].x;
|
||||
} else {
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = 277,
|
||||
y = 530
|
||||
};
|
||||
return getroottable()["LenheartEventOffset"].x;
|
||||
}
|
||||
}
|
||||
|
||||
function Sq_Get_Event_Pos_Y() {
|
||||
if (getroottable().rawin("LenheartEventOffset")) {
|
||||
return getroottable()["LenheartEventOffset"].y;
|
||||
} else {
|
||||
getroottable()["LenheartEventOffset"] <- {
|
||||
x = 277,
|
||||
y = 530
|
||||
};
|
||||
return getroottable()["LenheartEventOffset"].y;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ class NativePointer {
|
||||
// if(L_sq_Test(L_sq_P2I(this.C_Object))){
|
||||
// return read('i');
|
||||
// }
|
||||
// }
|
||||
// return 0;
|
||||
|
||||
return read('i');
|
||||
|
||||
Reference in New Issue
Block a user