使用洗护用品给宠物洗护。
调用
const result = await api.bathe_pet(self_id, pet_id, item, count)
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
self_id |
number | 是 | 在线 Bot QQ 号 |
pet_id |
string | 是 | get_pet_profile 返回的宠物 ID |
item |
string | 是 | get_pet_bath_catalog 返回的用品名称或 item_id |
count |
number | 否 | 使用数量,默认 1,范围 1~99 |
返回值
{
success: true,
pet_id: 'PET_ID',
item_name: '香皂片',
item_id: 'ITEM_ID',
count: 1,
cleanliness: 100,
mood: 100,
remaining: 9,
completed: true,
}