Player ability bug fixed
This commit is contained in:
parent
532045a6ba
commit
fa40665a65
3
Game.py
3
Game.py
@ -57,10 +57,7 @@ class Game:
|
|||||||
self.first, self.second = self.second, self.first
|
self.first, self.second = self.second, self.first
|
||||||
|
|
||||||
# Player Ability Handling
|
# Player Ability Handling
|
||||||
if isinstance(self.first, Player.Keieit):
|
|
||||||
self.first.guard -= 1
|
self.first.guard -= 1
|
||||||
|
|
||||||
if isinstance(self.first, Player.Rabbit):
|
|
||||||
self.first.boost -= 1
|
self.first.boost -= 1
|
||||||
self.end()
|
self.end()
|
||||||
def end(self):
|
def end(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user