Commit 9fd2719f9c5b5b56262a1b559ddf5e8bd6e56f15
1 parent
a5fa0074
物品
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
robot/unitTest/item.lua
| @@ -31,8 +31,8 @@ end | @@ -31,8 +31,8 @@ end | ||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | function _M:openItem() | 33 | function _M:openItem() |
| 34 | - sendServer(actionCodes.Gm_clientRequest, MsgPack.pack({cmd = "get", pm1 = 701, pm2 = 20})) | ||
| 35 | - requestServer(actionCodes.Role_openItemRpc, MsgPack.pack({itemId = 701, count = 1})) | 34 | + sendServer(actionCodes.Gm_clientRequest, MsgPack.pack({cmd = "get", pm1 = 831, pm2 = 1})) |
| 35 | + requestServer(actionCodes.Role_openItemRpc, MsgPack.pack({itemId = 831, count = 1})) | ||
| 36 | end | 36 | end |
| 37 | 37 | ||
| 38 | function _M:openTimeBox() | 38 | function _M:openTimeBox() |