Commit 5668f15037112cfec0696cfa6f720dbf15a8733b

Authored by zhouhaihai
2 parents 13cb6ff7 920e75af

Merge branch 'tr/bugfix' into tr/publish/preview

* tr/bugfix:
  获取有效期物品
  增加gm 方法
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/actions/GmAction.lua
... ... @@ -80,6 +80,10 @@ function _M.pvp_cross_head(role, pms)
80 80 return "成功"
81 81 end
82 82  
  83 +function _M.expire_item(role, pms)
  84 + role:awardExpireItem(tonum(pms.pm1), pms.pm2, {log = {desc = "pvpCHead"}})
  85 + return "成功"
  86 +end
83 87  
84 88 local helpDes = {{"描述", "指令", "参数1", "参数2" ,"参数3"}}
85 89  
... ...