summaryrefslogtreecommitdiff
path: root/game.py
diff options
context:
space:
mode:
authorSupremist <sergkarv@gmail.com>2025-10-29 00:40:14 +0200
committerSupremist <sergkarv@gmail.com>2025-10-29 00:40:14 +0200
commitc29738661837749c72e3743c71814703cd11e062 (patch)
tree421a26874678eed3273322e7d3cbe7bc95954cc2 /game.py
parentf2c7dbddb602db06ec8e8a8c9a4134451acd52e9 (diff)
downloadpf2e_calc-c29738661837749c72e3743c71814703cd11e062.tar.xz
pf2e_calc-c29738661837749c72e3743c71814703cd11e062.zip
Add simple creature stat builder
Diffstat (limited to 'game.py')
-rw-r--r--game.py6
1 files changed, 6 insertions, 0 deletions
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