Ejemplo n.º 1
0
 def injury_effect_getter(record):
   for injury_key in record.match_injuries:
     injury = Injury.get(injury_key)
     if injury.permanent:
       break
   return injury.effect
Ejemplo n.º 2
0
 def injury_effect_getter(record):
     for injury_key in record.match_injuries:
         injury = Injury.get(injury_key)
         if injury.permanent:
             break
     return injury.effect
Ejemplo n.º 3
0
 def injury_name_getter(record):
   for injury_key in record.match_injuries:
     injury = Injury.get(injury_key)
     if injury.permanent:
       break
   return injury.key().name()
Ejemplo n.º 4
0
 def injury_name_getter(record):
     for injury_key in record.match_injuries:
         injury = Injury.get(injury_key)
         if injury.permanent:
             break
     return injury.key().name()