lulu
This commit is contained in:
@@ -53,6 +53,34 @@ function sq_SetObjectAbilityFloatWithDecrypt(obj, ObjectAddressOffset, Value) {
|
||||
|
||||
|
||||
|
||||
//[human damage rate]
|
||||
// print(DATK(AtkC, 0x294).readFloat());
|
||||
|
||||
//[fort damage rate]
|
||||
// print(DATK(AtkC, 0x2A0).readFloat());
|
||||
|
||||
//[monster damage rate]
|
||||
// print(DATK(AtkC, 0x2AC).readFloat());
|
||||
|
||||
//[critical hit]
|
||||
// print(DATK(AtkC, 0x68).readFloat());
|
||||
|
||||
//[damage]
|
||||
// print(DATK(AtkC, 0x0).readFloat());
|
||||
|
||||
//[damage bonus]
|
||||
// print(DATK(AtkC, 0x24).readInt());
|
||||
|
||||
//[absolute damage]
|
||||
// print(DATK(AtkC, 0x18).readInt());
|
||||
|
||||
//[damage reaction]
|
||||
// print(NativePointer(AtkC + 0x4C).readInt());
|
||||
|
||||
//[knuck back]
|
||||
// print(DATK(AtkC, 0x8C).readInt());
|
||||
|
||||
|
||||
function sq_GetCurrentAttackInfoDamage(attackInfo) {
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x0);
|
||||
@@ -68,4 +96,17 @@ function sq_SetCurrentAttackInfoDamage(attackInfo, damage) {
|
||||
B.writen(damage, 'f');
|
||||
B.seek(0);
|
||||
MemoryTool.EncodeMemoryData(AtkC + 0x0, B.readn('i'));
|
||||
}
|
||||
|
||||
function sq_GetCurrentAttackInfoAbsoluteDamage(attackInfo)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
local Res = MemoryTool.DecodeMemoryData(AtkC + 0x18);
|
||||
return Res;
|
||||
}
|
||||
|
||||
function sq_SetCurrentAttackInfoAbsoluteDamage(attackInfo, damage)
|
||||
{
|
||||
local AtkC = L_sq_P2I(attackInfo["__ot"][28259608]);
|
||||
MemoryTool.EncodeMemoryData(AtkC + 0x18, damage);
|
||||
}
|
||||
Reference in New Issue
Block a user