添加示例项目
This commit is contained in:
11
示例项目/时装潜能/Proj.ifo
Normal file
11
示例项目/时装潜能/Proj.ifo
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ProjectName": "时装潜能",
|
||||
"ProjectDescribe": "默认开启时装潜能以及随机分配潜能属性",
|
||||
"ProjectAuthor": "南瓜",
|
||||
"ProjectVersion": 1.1,
|
||||
"ProjectConfig": "",
|
||||
"ProjectFiles": [
|
||||
"时装潜能.nut"
|
||||
],
|
||||
"ProjectRunFunc": "_Dps_Avatar_hidden_option_Main_"
|
||||
}
|
||||
9
示例项目/时装潜能/时装潜能.nut
Normal file
9
示例项目/时装潜能/时装潜能.nut
Normal file
@@ -0,0 +1,9 @@
|
||||
function _Dps_Avatar_hidden_option_Main_() {
|
||||
NativePointer(S_Ptr("0x08509D49")).writeByteArray([0xEB]);
|
||||
Cb_Inventory_AddAvatarItem_Enter_Func.hidden_option <- function(args) {
|
||||
NativePointer(S_Ptr("0x08509D34")).writeUShort(MathClass.Rand(1, 64));
|
||||
}
|
||||
Cb_Item_IsHiddenOption_Leave_Func.hidden_option <- function(args) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user