From c29738661837749c72e3743c71814703cd11e062 Mon Sep 17 00:00:00 2001 From: Supremist Date: Wed, 29 Oct 2025 00:40:14 +0200 Subject: Add simple creature stat builder --- game.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'game.py') diff --git a/game.py b/game.py index fd9aba0..75162ee 100644 --- a/game.py +++ b/game.py @@ -1,6 +1,7 @@ import re from enum import Enum from dataclasses import dataclass +from abc import ABC, abstractmethod from distribution import Distribution @@ -85,3 +86,8 @@ class RollInfo: def distribution(self): return self.dice_count * d(self.die_size) + self.bonus + +class LevelingPlan(ABC): + @abstractmethod + def build(self, level: int): + pass -- cgit v1.2.3