aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-30 09:09:30 +0800
committer简律纯 <i@jyunko.cn>2024-06-30 09:09:30 +0800
commit2ef4227d33b0cbde7304ffdbadfc10732f011fef (patch)
tree4c5fa5d63e7534744e8272623439ba628b545459 /examples
parent043b8c24b8cbf2043485b46fdecb0ca5943b1ffd (diff)
downloadHydroRollCore-2ef4227d33b0cbde7304ffdbadfc10732f011fef.tar.gz
HydroRollCore-2ef4227d33b0cbde7304ffdbadfc10732f011fef.zip
Revert "Revert "chore(examples): remove commented code""
This reverts commit 043b8c24b8cbf2043485b46fdecb0ca5943b1ffd.
Diffstat (limited to 'examples')
-rw-r--r--examples/COC7/__init__.py2
1 files changed, 1 insertions, 1 deletions
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, "理智"):