Skip to content

[Bug]: 清除玩家背包物品概率异常 #327

@cjxpj

Description

@cjxpj

Describe the bug

当我使用扣除时候,会出现多吞物品数量,比如扣除32物品会扣除64返回32

To Reproduce

let 扣除 = pl.clearItem(item["new_id"], 数量);
pl.refreshItems();

Expected behavior

正常清理物品指定数量

Screenshots

No response

Platform

Win11

BDS Version

1.21.93

LeviLamina Version

1.44

LegacyScriptEngine Version

0.13.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions