This commit is contained in:
shoopea 2020-01-26 16:31:47 +08:00
parent 89c452aaeb
commit a889309879
2 changed files with 11 additions and 11 deletions

View File

@ -5472,15 +5472,15 @@
"Phoenix Sword" "Phoenix Sword"
], ],
"craft": { "craft": {
"cmd": "/craft_w98", "cmd": "/craft_w93",
"mana": 800, "mana": 800,
"items": [ "items": [
{ {
"item": "r98", "item": "r93",
"quantity": 1 "quantity": 1
}, },
{ {
"item": "k98", "item": "k93",
"quantity": 6 "quantity": 6
}, },
{ {
@ -5532,7 +5532,7 @@
"mana": 800, "mana": 800,
"items": [ "items": [
{ {
"item": "r98", "item": "r94",
"quantity": 1 "quantity": 1
}, },
{ {

14
def.go
View File

@ -129,13 +129,13 @@ type ChatWarsUser struct {
type ChatWarsItem struct { type ChatWarsItem struct {
ObjID64 int64 ObjID64 int64
ItemTypeID int64 ItemTypeID int64
ItemType string `json:"item_type"` ItemType string `json:"item_type"`
Code string `json:"code"` Code string `json:"code"`
Names []string `json:"names"` Names []string `json:"names"`
Weight int64 `json:"weight"` Weight int64 `json:"weight"`
Exchange string `json:"exchange"` Exchange string `json:"exchange"`
Auction bool `json:"auction"` Auction bool `json:"auction"`
Craft ChatWarsItemCraft `json:"craft"` Craft *ChatWarsItemCraft `json:"craft"`
} }
type ChatWarsItemCraft struct { type ChatWarsItemCraft struct {