summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorSupremist <sergkarv@gmail.com>2025-10-28 00:30:11 +0200
committerSupremist <sergkarv@gmail.com>2025-10-28 00:44:33 +0200
commita792c35f6ee3b37ecb6fe1692f81574509728cae (patch)
treecbc760039838f6dfdad9d01b953399f4fbe39f05 /main.py
parent146aa6ddff5a347c61aef5ddd62bebd344508c3d (diff)
downloadpf2e_calc-a792c35f6ee3b37ecb6fe1692f81574509728cae.tar.xz
pf2e_calc-a792c35f6ee3b37ecb6fe1692f81574509728cae.zip
Add character import from pathbuilder2e site
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 8 insertions, 1 deletions
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()