26 lines
807 B
Plaintext
26 lines
807 B
Plaintext
function _Dps_MapReset_Logic_() {
|
|
|
|
|
|
}
|
|
function _Dps_MapReset_Main_() {
|
|
|
|
local Config = GlobalConfig.Get("异界重置_Lenheart.json");
|
|
//异界重置
|
|
Cb_Use_Item_Sp_Func[Config["重置券id"]] <- function(SUser, ItemId) {
|
|
for (local i = 0; i< 6; i++) {
|
|
local dimensionInout = _Rindro_CDataManager_get_dimensionInout(Sq_CallFunc(S_Ptr("0x80CC19B"), "pointer"), i);
|
|
_Rindro_CUserCharacInfo_setDemensionInoutValue(SUser.C_Object, i, dimensionInout);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function _Rindro_CDataManager_get_dimensionInout(a, b) {
|
|
return Sq_CallFunc(S_Ptr("0x0822b612"), "int", ["pointer", "int"], a, b);
|
|
}
|
|
|
|
|
|
function _Rindro_CUserCharacInfo_setDemensionInoutValue(a, b, c) {
|
|
return Sq_CallFunc(S_Ptr("0x0822f184"), "int", ["pointer", "int", "int"], a, b, c);
|
|
} |