diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rules/BRP/__init__.py | 6 | ||||
| -rw-r--r-- | examples/rules/COC/Character.py (renamed from examples/rules/COC7/Character.py) | 0 | ||||
| -rw-r--r-- | examples/rules/COC/Command.py (renamed from examples/rules/COC7/Command.py) | 0 | ||||
| -rw-r--r-- | examples/rules/COC/Wiki.py (renamed from examples/rules/COC7/Wiki.py) | 0 | ||||
| -rw-r--r-- | examples/rules/COC/__init__.py (renamed from examples/rules/COC7/__init__.py) | 10 |
5 files changed, 10 insertions, 6 deletions
diff --git a/examples/rules/BRP/__init__.py b/examples/rules/BRP/__init__.py deleted file mode 100644 index 54f2261..0000000 --- a/examples/rules/BRP/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -from hrc.rule import Rule - -class BRP(Rule): - async def handle(self) -> None: ... - - async def rule(self) -> bool: return False
\ No newline at end of file diff --git a/examples/rules/COC7/Character.py b/examples/rules/COC/Character.py index bb30661..bb30661 100644 --- a/examples/rules/COC7/Character.py +++ b/examples/rules/COC/Character.py diff --git a/examples/rules/COC7/Command.py b/examples/rules/COC/Command.py index 9819841..9819841 100644 --- a/examples/rules/COC7/Command.py +++ b/examples/rules/COC/Command.py diff --git a/examples/rules/COC7/Wiki.py b/examples/rules/COC/Wiki.py index b97f717..b97f717 100644 --- a/examples/rules/COC7/Wiki.py +++ b/examples/rules/COC/Wiki.py diff --git a/examples/rules/COC7/__init__.py b/examples/rules/COC/__init__.py index 65f40ab..260bfb5 100644 --- a/examples/rules/COC7/__init__.py +++ b/examples/rules/COC/__init__.py @@ -17,6 +17,10 @@ class COC7(Rule): attr: Attributes = Depends() # CharacterCard.Attribute wiki: Wiki = Depends() # Wiki cmd: Command = Depends() # Command # noqa: F821 + + async def handle(self): ... + + async def rule(self): ... @core.event_postprocessor_hook async def auto_card(self): @@ -50,3 +54,9 @@ class COC7(Rule): + " DEX" + str(self.pc.get("DEX", "?")) ) + + +class COC6(Rule): + async def handle(self): ... + + async def rule(self): ... |
