File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed
Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11# Change Log
22All notable changes to this project will be documented in this file.
33
4+ ## [ 4.0.1] - 4/12/20
5+ ### Added
6+ - An alias for ` Player.x3vs3_victories ` called ` team_victories `
7+
48## [ 4.0.0] - 3/11/20
59### Added
610- ` reason ` attribute for ` NotFoundError `
Original file line number Diff line number Diff line change 88############
99
1010
11- __version__ = 'v4.0.0 '
11+ __version__ = 'v4.0.1 '
1212__title__ = 'brawlstats'
1313__license__ = 'MIT'
1414__author__ = 'SharpBit'
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ class Player(BaseBox):
4242 Returns a full player object with all of its attributes.
4343 """
4444
45+ def __init__ (self ):
46+ # Make a less awkward alias
47+ self .team_victories = self .x3vs3_victories
48+
4549 def __repr__ (self ):
4650 return "<Player object name='{0.name}' tag='{0.tag}'>" .format (self )
4751
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ Name Type
5252``exp_level `` int
5353``exp_points `` int
5454``is_qualified_from_championship_challenge `` bool
55- ``x3_vs_3_victories `` int
55+ ``x3vs3_victories `` int
56+ ``team_victories `` int
5657``solo_victories `` int
5758``duo_victories `` int
5859``best_robo_rumble_time `` int
You can’t perform that action at this time.
0 commit comments