コード例 #1
0
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.exportCode()
        a.getAllGifts()
        a.freeunits(10)
        #a.gacha(4,10,434,133,2)
        #a.gacha(2,10,565,141,2)
        a.getPlayer()
        a.exportPlayer()
    except:
        pass
コード例 #2
0
def check(l):
    l = l.split(',')
    try:
        a = API()
        a.setuserId(l[2])
        a.setuuid(l[1])
        a.setconsumeId(l[0])
        a.login()
        a.getAllGifts()
        a.finishTutorial()
        a.getPlayer()
        if a.playerdata['player']['jewel'] == 97:
            a.gacha(10, 10, 597, 171, 2)
            a.gacha(10, 10, 434, 133, 2)
            a.gacha(10, 10, 598, 171, 2)
            a.freeunits(5)
        a.getPlayer()
        a.exportPlayer('selling.csv')
    except:
        pass