|
|
@@ -22,6 +22,7 @@ local BuyLogic = require("topup.BuyLogic")
|
|
|
local WarOrder = require("shop.WarOrder")
|
|
|
local GiftLogic = require("topup.GiftLogic")
|
|
|
local HeroSkinLogic = require("present.HeroSkinLogic")
|
|
|
+local DrawCardLogic = require("drawCard.DrawCardLogic")
|
|
|
|
|
|
d3 = {}
|
|
|
|
|
|
@@ -80,6 +81,14 @@ function checkGm(human, str)
|
|
|
return true
|
|
|
end
|
|
|
|
|
|
+function d3.addJifen(human,val)
|
|
|
+ local v = tonumber(val)
|
|
|
+ if not v then
|
|
|
+ print("param invalid")
|
|
|
+ return
|
|
|
+ end
|
|
|
+ return DrawCardLogic.getJifen(human,v)
|
|
|
+end
|
|
|
|
|
|
function d3.unlockOrder(human,orderType)
|
|
|
local t = tonumber(orderType)
|