From a5569f0b8f2fff82159996b1221c5112fb1f2a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sun, 26 Apr 2020 14:08:38 +0200 Subject: [PATCH] Disable player stats lowering for A* test --- src/entities/Player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entities/Player.py b/src/entities/Player.py index c13f6da..12906e7 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -44,7 +44,7 @@ class Player(Entity): self.movePoints += 1 # You can only move if you have enough stamina if self.statistics.stamina > 1: - self.applyWalkingFatigue() + # self.applyWalkingFatigue() # COMMENTED FOR A_START TEST if self.rotation.value == Rotations.NORTH.value: self.rect.y -= self.rect.w elif self.rotation.value == Rotations.EAST.value: @@ -127,7 +127,7 @@ class Player(Entity): if self.alive: self.timeAlive += self.timer.get_time() # Player gets tired every once in a while - self.applyTimeFatigue(self.timer.get_time()) + #self.applyTimeFatigue(self.timer.get_time()) # COMMENTED FOR A_STAR_TEST self.timer.tick() self.determineLife()