示例#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
示例#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
示例#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()
示例#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()