Skip to content

Commit aed9153

Browse files
committed
2026-04-25 时间线纠正
1 parent aac2eb5 commit aed9153

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

RitsuLib/09 - 添加时间线/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,22 @@ public sealed class TestAscensionOneEpoch : PackDeclaredCardUnlockEpochTemplate
156156
}
157157
```
158158

159+
## 使用
160+
161+
然后需要在你的人物类上加上这些特性用于注册:
162+
163+
```csharp
164+
[RegisterCharacter]
165+
[RequireEpoch(typeof(TestEpoch))]
166+
[UnlockEpochAfterRunAs(typeof(TestCardEpoch))]
167+
[UnlockEpochAfterWinAs(typeof(TestVictoryEpoch))]
168+
[UnlockEpochAfterEliteVictories(typeof(TestEliteEpoch))]
169+
[UnlockEpochAfterBossVictories(typeof(TestBossEpoch))]
170+
[UnlockEpochAfterAscensionOneWin(typeof(TestAscensionOneEpoch))]
171+
[RevealAscensionAfterEpoch(typeof(TestVictoryEpoch))]
172+
public class TestCharacter : ModCharacterTemplate<TestCardPool, TestRelicPool, TestPotionPool> {}
173+
```
174+
159175
## 文本
160176

161177
然后创建`{modId}/localization/{Language}/epochs.json`

0 commit comments

Comments
 (0)