Skip to content

Commit

Permalink
Fix:未正确返回种族
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4nx committed May 4, 2023
1 parent 6412a2d commit 5ff2e81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/card_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def get_race(self):
race = get_monster_race(self.race)
if race is None:
return "?"
return race

def get_defense(self):
# 没有防御力的,数据库保存的值为 -2
Expand Down

0 comments on commit 5ff2e81

Please sign in to comment.