From 0ed10486f719c23ab7e0e84d2e119a7fa5f70475 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 6 Jul 2024 09:07:19 +0800 Subject: refactor!: rewrite core business logic --- examples/COC7/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/COC7/__init__.py') 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, "理智"): -- cgit v1.2.3-70-g09d2