from utils.message_util import MessageBuild blue = { '胡桃': ['火', (0, 1886)], '托马': ['火', (1886, 2420)], '宵宫': ['火', (2420, 2955)], '烟绯': ['火', (2955, 3492)], '可莉': ['火', (3492, 4029)], '迪卢克': ['火', (4029, 4567)], '辛焱': ['火', (4567, 5511)], '安柏': ['火', (5511, 6047)], '香菱': ['火', (6047, 6982)], '班尼特': ['火', (6982, 7932)], '神里绫人': ['水', (0, 750)], '珊瑚宫心海': ['水', (750, 1700)], '达达利亚': ['水', (1700, 2424)], '行秋': ['水', (2424, 2920)], '莫娜': ['水', (2920, 3640)], '芭芭拉': ['水', (3640, 4396)], '申鹤': ['冰', (0, 959)], '神里绫华': ['冰', (959, 1496)], '优菈': ['冰', (1496, 2231)], '甘雨': ['冰', (2231, 3569)], '凯亚': ['冰', (3569, 4102)], '重云': ['冰', (4102, 4639)], '七七': ['冰', (4639, 5374)], '迪奥娜': ['冰', (5374, 5710)], '罗莎莉亚': ['冰', (5710, 6044)], '埃洛伊': ['冰', (6044, 6394)], '八重神子': ['雷', (0, 947)], '雷电将军': ['雷', (947, 1474)], '九条裟罗': ['雷', (1474, 2001)], '刻晴': ['雷', (2001, 2730)], '雷泽': ['雷', (2730, 3258)], '菲谢尔': ['雷', (3258, 3786)], '丽莎': ['雷', (3786, 4310)], '北斗': ['雷', (4310, 4838)], '雷主': ['雷', (4838, 5177)], '早柚': ['风', (0, 553)], '枫原万叶': ['风', (553, 1078)], '魈': ['风', (1078, 1803)], '温迪': ['风', (1803, 2527)], '琴': ['风', (2527, 3252)], '砂糖': ['风', (3252, 3977)], '风主': ['风', (3977, 4311)], '空': ['风', (3977, 4311)], '荧': ['风', (3977, 4311)], '荒泷一斗': ['岩', (0, 741)], '五郎': ['岩', (741, 1055)], '阿贝多': ['岩', (1055, 1767)], '钟离': ['岩', (1767, 2475)], '诺艾尔': ['岩', (2475, 3188)], '凝光': ['岩', (3188, 3900)], '岩主': ['岩', (3900, 4608)], '云堇': ['岩', (4608, 5325)] } async def get_blue_pic(name): if name in blue.keys(): return await MessageBuild.StaticImage(url=f'LittlePaimon/blue/{blue[name][0]}.jpg', crop=(0, int(blue[name][1][0]), 1080, int(blue[name][1][1]))) return None