Eltirosto / Degrees-of-Lewdity-Chinese-Localization

Degrees of Lewdity 游戏的授权中文社区本地化版本
https://eltirosto.github.io/Degrees-of-Lewdity-Chinese-Localization/
Other
3.71k stars 187 forks source link

[0.4.6.7-(chs-alpha2.0.0)] 和谐,残暴文本漏抓 #337

Closed miyakoAki4828 closed 5 months ago

miyakoAki4828 commented 5 months ago

在提问之前...

说说你看到的汉化文本内容?

位于 game/base-system/stat-changes.js 的 573 行 image image degrees-of-lewdity-20240412-000316.txt

有什么好的想法?

No response

其他内容

No response

gn02994106 commented 5 months ago

补充一下,虽然widget是在573行,但实际需要抓的两行应该是在579和581行

Kagamine-Rinrin commented 5 months ago

直接抓base-system\text.js:8 | <span class="${colorClass}">${prefix.repeat(Math.abs(amount))}${statType}</span> 将这里的statType 在前面replace一遍 就可以解决所有statDisplay.statChange("名称", -1, "green"))的问题了

Kagamine-Rinrin commented 5 months ago

image 测试可行,已修,等待同步