Skip to content

[Bug] 使用Ritsulib注册Character后Star的CombatUI位置出错 #30

@hailverse

Description

@hailverse

模块范围

UI

严重程度

Minor(轻微)

发生了什么?

使用Ritsulib注册Character后Star的CombatUI位置出错,在使用BaseLib重新注册Character后恢复正常。

使用Ritsulib时:
Image

使用BaseLib时:
Image

注:在回退Ritsulib版本至0.2.5时仍有该现象。

复现步骤

1.在自定义Character的代码中添加:public override bool ShouldAlwaysShowStarCounter => true;
2.使用Ritsulib方式注册(添加[RegisterCharacter]和继承ModCharacterTemplate),其余参数按照Ritsulib方式填写;
3.使用BaseLib方式注册(移除[RegisterCharacter]和继承PlaceholderCharacterModel),其余参数按照BaseLib方式填写;

期望行为

No response

日志 / 堆栈

RitsuLib 版本

0.2.15

运行环境

Windows11,sts2 v0.104.0,BaseLib3.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/uiUser interface, layout, controls, or visual behavior.priority/p3Low priority or backlog.severity/minorMinor defect, polish issue, or low-impact bug.status/needs-triageNeeds maintainer or analyzer triage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions