#NEWLINE# def minion_value( self , minion ) : #NEWLINE# #INDENT# if ( minion . health <= 0 ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# res = ( ( minion . base_attack + 0.5 ) * ( minion . health ** 1.5 ) ) #NEWLINE# if minion . taunt : #NEWLINE# #INDENT# res += 0.5 #NEWLINE# #UNINDENT# return ( res ** 0.4 )