添加示例项目
This commit is contained in:
11
示例项目/修复卡NPC商店道具/Proj.ifo
Normal file
11
示例项目/修复卡NPC商店道具/Proj.ifo
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ProjectName": "修复卡NPC商店道具",
|
||||
"ProjectDescribe": "修复了客户端通过BUG卡NPC商店道具的问题",
|
||||
"ProjectAuthor": "倾泪寒",
|
||||
"ProjectVersion": 1.0,
|
||||
"ProjectConfig": "",
|
||||
"ProjectFiles": [
|
||||
"修复卡NPC商店道具.nut"
|
||||
],
|
||||
"ProjectRunFunc": "_Dps_RepairCardNpcStoreProps_Main_"
|
||||
}
|
||||
12
示例项目/修复卡NPC商店道具/修复卡NPC商店道具.nut
Normal file
12
示例项目/修复卡NPC商店道具/修复卡NPC商店道具.nut
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
|
||||
function _Dps_RepairCardNpcStoreProps_Main_()
|
||||
{
|
||||
Cb_BuyItem_Get_Data_Leave_Func["_DPS_RepairCardNpcStoreProps_"] <- function (args)
|
||||
{
|
||||
if(NativePointer(args[3]).add(156).readInt() < 0){
|
||||
return 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user