11
This commit is contained in:
@@ -257,4 +257,57 @@ function sq_GetCurrentAttackInfoDamageReaction(attackInfo)
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x4C);
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackeHitStunTime(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x138);
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackInfoKnuckBackType(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x8C);
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_SetCurrentAttackInfoKnuckBackType(attackInfo, type)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
MemoryTool.EncodeMemoryData(AtkC + 0x8C, type);
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackInfoStuckRate(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x74);
|
||||
local B = blob();
|
||||
B.writen(Res, 'i');
|
||||
B.seek(0);
|
||||
return B.readn('f');
|
||||
}
|
||||
|
||||
function sq_SetCurrentAttackInfoStuckRate(attackInfo, rate)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local B = blob();
|
||||
B.writen(rate, 'f');
|
||||
B.seek(0);
|
||||
MemoryTool.EncodeMemoryData(AtkC + 0x74, B.readn('i'));
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackUpForce(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x5c);
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackBackForce(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x50);
|
||||
return Res;
|
||||
}
|
||||
Reference in New Issue
Block a user