可能有些bug,欢迎在评论区反馈
概率参考原神官网祈愿概率公示
有大、小保底
使用方法
按1单抽
按2十连
按3日志
按4抽卡统计
(抽卡动画暂时只支持单抽)
#include <windows.h>
#include <time.h>
#include <bits/stdc++.h>
#include <cstdlib>
#include <stdio.h>
#define Key(VK_NONEMA)((GetAsyncKeyState(VK_NONEMA)&0x8000)?1:0)
using namespace std;
void cp(const char* s, int color)
{
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(handle, FOREGROUND_INTENSITY | color);
printf(s);
SetConsoleTextAttribute(handle, FOREGROUND_INTENSITY | 7);
}
BOOL cgcl(WORD wAttributes)//www.bbsmax.com/A/KE5QqxQ45L/
{
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
if (hConsole == INVALID_HANDLE_VALUE)
return FALSE