'Return the move\'s in-game power rating as a number of stars.'

@property
def star_rating(self):

    if (not self.power):
        return 0
    else:
        stars = ((self.power - 1) // 10)
        stars = min(stars, 5)
        stars = max(stars, 1)
        return stars
