|
|
@@ -398,7 +398,7 @@ function checkUseItem(human, id, op, config,isAct)
|
|
|
local vipArg = 100
|
|
|
vipArg = VipLogic.getPowerArgs(human, VipLogic.VIP_POWER21)
|
|
|
print(" checkUseItem vipArg ", vipArg, " , old : " ,itemCnt , " , new : ", math.floor(itemCnt * vipArg / 100 ) )
|
|
|
- itemCnt = math.floor(itemCnt * vipArg / 100 )
|
|
|
+ finalItemCnt = math.floor(itemCnt * vipArg / 100 )
|
|
|
end
|
|
|
print(" checkUseItem itemID itemCnt ", itemID, finalItemCnt)
|
|
|
-- 活动只扣道具
|