コード例 #1
0
def do_milestone_max_piety(c, mile):
  if query.record_max_piety(c, mile['name'], mile['start'], mile['noun']):
    assign_points(c, "champion", mile['name'], 10)
  if mile['noun'] == 'Ru':
    banner.award_banner(c, mile['name'], 'lugonu', 1)
  elif query.did_champion(c, 'Ru', mile['name'], mile['start'], mile['time']):
    banner.award_banner(c, mile['name'], 'lugonu', 2)
コード例 #2
0
def do_milestone_max_piety(c, mile):
  if query.record_max_piety(c, mile['name'], mile['start'], mile['noun']):
    assign_points(c, "champion", mile['name'], 10)
  if mile['noun'] == 'Ru':
    banner.award_banner(c, mile['name'], 'lugonu', 1)
  elif query.did_champion(c, 'Ru', mile['name'], mile['start'], mile['time']):
    banner.award_banner(c, mile['name'], 'lugonu', 2)
コード例 #3
0
ファイル: outline.py プロジェクト: jmbjr/dcss_tourney
def do_milestone_max_piety(c, mile):
    if query.record_max_piety(c, mile["name"], mile["start"], mile["noun"]):
        assign_points(c, "champion", mile["name"], 10)
    if mile["noun"] == "Ru":
        banner.award_banner(c, mile["name"], "lugonu", 1)
    elif query.did_champion(c, "Ru", mile["name"], mile["start"], mile["time"]):
        banner.award_banner(c, mile["name"], "lugonu", 2)
コード例 #4
0
ファイル: outline.py プロジェクト: bobmurder/dcss_tourney
def do_milestone_max_piety(c, mile):
  if query.record_max_piety(c, mile['name'], mile['start'], mile['noun']):
    assign_points(c, "champion", mile['name'], 10)