From a25ccfda6995fb88b5a505babe8f84fa62dc7441 Mon Sep 17 00:00:00 2001 From: Maximilian Wagner Date: Mon, 5 Jun 2023 11:12:18 +0200 Subject: [PATCH] =?UTF-8?q?Bugfix=20f=C3=BCr=20Simulator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hpCalcSim.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hpCalcSim.py b/hpCalcSim.py index ee9e9be..c83cc6f 100644 --- a/hpCalcSim.py +++ b/hpCalcSim.py @@ -5,8 +5,8 @@ import itertools as it print("Consulting") pl.consult("main.pl") -HP = [1,2,3,5] -AP = [2,3,4,5] +HPog = [1,2,3,5] +APog = [2,3,4,5] HPmult = 2 APmult = 2 @@ -14,6 +14,8 @@ APmult = 2 print("AP:HP:HPnew\n") for i in range(0,4): + HP = HPog + AP = HPog match i: case 0: print("Calculating without Multipliers")