コード例 #1
0
ファイル: peach.py プロジェクト: neuront/sgs
def peach_h(gc, user):
    if user.vigor == user.max_vigor:
        return forbid()
    return implicit_target()
コード例 #2
0
ファイル: vermilion_feather_fan.py プロジェクト: neuront/sgs
 def __init__(self, game_control, slashing):
     hint = hints.filter_empty(hints.allow_abort(hints.add_method_to(
                     hints.basic_cards_hint(), EQUIP_NAME, hints.forbid())))
     AcceptMessage.__init__(self, game_control, [slashing.user], 'discard',
                            hint, self.on_message)
     self.slashing = slashing