미션 카운팅
This commit is contained in:
parent
6216927b56
commit
6e7d0ebc39
|
|
@ -946,9 +946,9 @@ handlers.Save_PC_LimitSlotOptionChange = function(args)
|
|||
var matdata = global.find(f => f.s_ID == "n_BreakingLimitSlotMaterialID");
|
||||
if (!matdata) return Get_Return(3); // 설정 누락
|
||||
|
||||
var table = Get_MissionTable();
|
||||
var price = 10 * ((1 + LockCount) * LockCount / 2 + 1);
|
||||
if (Use_Item(Get_MissionTable(), urod, matdata.n_Value, price))
|
||||
//if (Use_Item(Get_MissionTable(), urod, 1, 0))
|
||||
if (Use_Item(table, urod, matdata.n_Value, price))
|
||||
{
|
||||
var rtnAdd = []; // [{ slot, randombagid, optionlv }]
|
||||
// 슬롯만큼 for문 돌리기
|
||||
|
|
@ -978,6 +978,8 @@ handlers.Save_PC_LimitSlotOptionChange = function(args)
|
|||
}
|
||||
|
||||
//log.info(rtnAdd);
|
||||
Add_MissionCount(table, urod, "HERO_OPTION_CHANGE", 0, OpenSlots.length, false);
|
||||
Add_MissionCount(table, urod, "HERO_OPTION_CHANGE_ACC", 0, OpenSlots.length, false);
|
||||
Set_JsonUserData(urod);
|
||||
return Get_Return(0, rtnAdd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue