|
@@ -17,6 +17,7 @@ function NewProto(human, type, param)
|
|
|
-- Msg.send(msgRet,human.fd)
|
|
-- Msg.send(msgRet,human.fd)
|
|
|
|
|
|
|
|
if type == AD_DRAW_REWARD_TYPE then
|
|
if type == AD_DRAW_REWARD_TYPE then
|
|
|
|
|
+ human.db.adRewardCnt = human.db.adRewardCnt or 0
|
|
|
|
|
|
|
|
if human.db.adRewardCnt > 4 then
|
|
if human.db.adRewardCnt > 4 then
|
|
|
Broadcast.sendErr(human, Lang.AD_DRAW_REWARD_LIMIT_ERROR)
|
|
Broadcast.sendErr(human, Lang.AD_DRAW_REWARD_LIMIT_ERROR)
|