111
This commit is contained in:
@@ -38,5 +38,14 @@ class R_Utils {
|
||||
return Ret;
|
||||
}
|
||||
|
||||
|
||||
//获取一个指定装备的角色Ani
|
||||
function GetCharacByEqu(Job, GrowType, Equ) {
|
||||
local Obj = sq_CreateCharacter(Job, GrowType);
|
||||
local ObjAddress = L_Sq_GetObjectAddress(Obj);
|
||||
foreach(value in Equ) {
|
||||
local ItemObject = L_sq_GetItem(value);
|
||||
L_Sq_CallFunc(0x825570, "void", FFI_THISCALL, ["int", "int"], ObjAddress, ItemObject);
|
||||
}
|
||||
return Obj;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user