#NEWLINE# def resolve( self , game ) : #NEWLINE# #INDENT# if ( char . player_ref == 'p1' ) : #NEWLINE# #INDENT# char = game . players [ 0 ] . hero #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# char = game . players [ 1 ] . hero #NEWLINE# #UNINDENT# if ( self . minion_ref is not None ) : #NEWLINE# #INDENT# if ( self . minion_ref == ( - 1 ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if ( self . player_ref == 'p1' ) : #NEWLINE# #INDENT# char = game . players [ 0 ] . minions [ self . minion_ref ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# char = game . players [ 1 ] . minions [ self . minion_ref ] #NEWLINE# #UNINDENT# #UNINDENT# return char