-
Notifications
You must be signed in to change notification settings - Fork 8
[Bug] 使用Ritsulib注册Character后Star的CombatUI位置出错 #30
Copy link
Copy link
Closed
Labels
area/uiUser interface, layout, controls, or visual behavior.User interface, layout, controls, or visual behavior.priority/p3Low priority or backlog.Low priority or backlog.severity/minorMinor defect, polish issue, or low-impact bug.Minor defect, polish issue, or low-impact bug.status/needs-triageNeeds maintainer or analyzer triage.Needs maintainer or analyzer triage.
Metadata
Metadata
Assignees
Labels
area/uiUser interface, layout, controls, or visual behavior.User interface, layout, controls, or visual behavior.priority/p3Low priority or backlog.Low priority or backlog.severity/minorMinor defect, polish issue, or low-impact bug.Minor defect, polish issue, or low-impact bug.status/needs-triageNeeds maintainer or analyzer triage.Needs maintainer or analyzer triage.
模块范围
UI
严重程度
Minor(轻微)
发生了什么?
使用Ritsulib注册Character后Star的CombatUI位置出错,在使用BaseLib重新注册Character后恢复正常。
使用Ritsulib时:

使用BaseLib时:

注:在回退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