diff options
| author | 2024-07-06 09:07:19 +0800 | |
|---|---|---|
| committer | 2024-07-06 09:07:19 +0800 | |
| commit | 0ed10486f719c23ab7e0e84d2e119a7fa5f70475 (patch) | |
| tree | 095b77f6220fdf929de0a1de29332b1912aa30e1 /examples/COC7/__init__.py | |
| parent | c0518c138914b321d0fa2d7b0d1377f78ff85b3c (diff) | |
| download | HydroRollCore-0ed10486f719c23ab7e0e84d2e119a7fa5f70475.tar.gz HydroRollCore-0ed10486f719c23ab7e0e84d2e119a7fa5f70475.zip | |
refactor!: rewrite core business logic
Diffstat (limited to 'examples/COC7/__init__.py')
| -rw-r--r-- | examples/COC7/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/COC7/__init__.py b/examples/COC7/__init__.py index baea4c7..25acdaa 100644 --- a/examples/COC7/__init__.py +++ b/examples/COC7/__init__.py @@ -15,7 +15,7 @@ class COC7(Rule): attr: Attributes = Depends() # 必须实现一个继承自 Character.Attribute 的子类 wiki: Wiki = Depends() # 可选实现一个 Wiki 类 - @core.event_post_processor_hook + @core.event_postprocessor_hook async def auto_card(self): if self.session and self.session.gid and self.ac: if hasattr(self.pc.trans, "生命") or hasattr(self.pc.trans, "理智"): |
