Skip to content

假人(如原版)掉落经验球 #816

@GuangChen2333

Description

@GuangChen2333

描述你希望添加的功能。 Describe the feature you'd like.

如题,我觉得假人应该像一般玩家那样掉落经验球,但代码中只处理了背包物品的逻辑。

this.resumeDataStorage.removeSavedData(bot);
if (event.shouldSave()) {
if (resume) {
this.resumeDataStorage.save(bot);
} else {
this.manualSaveDataStorage.save(bot);
}
} else {
bot.dropAll(true);
botsNameByWorldUuid.getOrDefault(bot.level().uuid.toString(), new HashSet<>()).remove(bot.getBukkitEntity().getName());
}

按原版的

玩家死亡后会掉落“经验等级×7”点经验,最高不超过100点,其余的经验值会遗失。

或全部掉落。

其他 Other

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions