From 2ef4227d33b0cbde7304ffdbadfc10732f011fef Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sun, 30 Jun 2024 09:09:30 +0800 Subject: Revert "Revert "chore(examples): remove commented code"" This reverts commit 043b8c24b8cbf2043485b46fdecb0ca5943b1ffd. --- examples/COC7/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/COC7/__init__.py b/examples/COC7/__init__.py index f9d4949..baea4c7 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_post_processor_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