From a792c35f6ee3b37ecb6fe1692f81574509728cae Mon Sep 17 00:00:00 2001 From: Supremist Date: Tue, 28 Oct 2025 00:30:11 +0200 Subject: Add character import from pathbuilder2e site --- main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index f5888c3..38fbd59 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,8 @@ import math from sys import base_exec_prefix from distribution import Distribution +import pb2e + def d(edge_count): res = Distribution() @@ -185,6 +187,11 @@ def test3(): show_stat("attack", attack) show_stat("falcata", falcata.strike(bonus, dmg_bonus, ac, 0)) +def main4(): + # char = pb2e.download_character(pfb_id=160180) + char = pb2e.open_character("quizrel2") + print(char) + if __name__ == '__main__': - test3() + main4() -- cgit v1.2.3