<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _score_eot_for_actor(self, eot, actor):
 """Have the actor evaluate the end of turn for itself only."""

        # currently just simple sum of own attributes
        # could be much more sophisticated in both analysis (e.g. formulas)
        # and breadth of items analyzed (e.g. require other actor, the board)
        end_state = eot.parent
        a = {'player': end_state.player,
             'opponent': end_state.opponent}[actor.name]
        # simple prioritization without regard to character attributes
        health = a.health * 2
        r, g, b, y = a.r, a.g, a.b, a.y
        x, m = 0.5 * a.x, 0.5 * a.m
        return sum((health, r, g, b, y, x, m))