🧐 Add ranged weapons and patches

This commit is contained in:
zhbaor 2022-10-03 17:31:11 +08:00
parent 1705624d0d
commit f895e100d2
48 changed files with 40 additions and 4 deletions

View file

@ -14,7 +14,7 @@ with sync_playwright() as p:
browser = p.chromium.launch()
page = browser.new_page(device_scale_factor=3)
with db_session:
for m in [*Melee.select(), *Shield.select()]:
for m in [*Melee.select(), *Shield.select(), *Ranged.select()]:
print(f"rendering {m.name}...")
page.goto(f"http://localhost:8080/{m.name}")
page.locator(".container").screenshot(path=f"./output/{m.name}.png")