新增爆破方块强化并接入3x3范围清除
This commit is contained in:
@@ -362,7 +362,7 @@ void TDrawScreen(HDC hdc, HWND hWnd)
|
||||
hdc,
|
||||
_T("\u7ecf\u5178\u6a21\u5f0f\uff1a\u4fdd\u6301\u539f\u7248\u4fc4\u7f57\u65af\u65b9\u5757\u73a9\u6cd5\uff0c\u4ee5\u6d88\u884c\u548c\u751f\u5b58\u4e3a\u4e3b\u3002\r\n\r\n")
|
||||
_T("Rogue \u6a21\u5f0f\uff1a\u6d88\u884c\u540e\u9664\u4e86\u83b7\u5f97\u5206\u6570\uff0c\u8fd8\u4f1a\u83b7\u5f97 EXP\u3002EXP \u8fbe\u5230\u9608\u503c\u540e\u89e6\u53d1\u5347\u7ea7\uff0c\u4ece\u4e09\u4e2a\u5f3a\u5316\u4e2d\u9009\u4e00\u4e2a\u3002\r\n\r\n")
|
||||
_T("\u5f53\u524d\u5df2\u63a5\u5165\uff1a\u5206\u6570\u500d\u7387\u3001EXP \u500d\u7387\u3001\u6162\u901f\u4e0b\u843d\u3001Hold \u89e3\u9501\u3001\u51cf\u538b\u3001\u6e05\u626b\u8005\u3002\r\n\r\n")
|
||||
_T("\u5f53\u524d\u5df2\u63a5\u5165\uff1a\u5206\u6570\u500d\u7387\u3001EXP \u500d\u7387\u3001\u6162\u901f\u4e0b\u843d\u3001Hold \u89e3\u9501\u3001\u51cf\u538b\u3001\u6e05\u626b\u8005\u3001\u7206\u7834\u65b9\u5757\u3002\r\n\r\n")
|
||||
_T("\u63d0\u793a\uff1a\u6682\u505c\u3001\u5931\u8d25\u548c\u5347\u7ea7\u4f1a\u8fdb\u5165\u4e0d\u540c\u754c\u9762\uff0c\u8bf7\u6839\u636e\u5c4f\u5e55\u63d0\u793a\u64cd\u4f5c\u3002"),
|
||||
-1,
|
||||
&rulesBody,
|
||||
@@ -529,7 +529,7 @@ void TDrawScreen(HDC hdc, HWND hWnd)
|
||||
};
|
||||
|
||||
HBRUSH brickBrush = CreateSolidBrush(BrickColor[type]);
|
||||
HPEN brickPen = CreatePen(PS_SOLID, 1, RGB(255, 250, 252));
|
||||
HPEN brickPen = CreatePen(PS_SOLID, currentPieceIsExplosive ? SS(3) : 1, currentPieceIsExplosive ? RGB(255, 214, 82) : RGB(255, 250, 252));
|
||||
oldPen = (HPEN)SelectObject(hdc, brickPen);
|
||||
oldBrush = (HBRUSH)SelectObject(hdc, brickBrush);
|
||||
RoundRect(hdc, brickRect.left, brickRect.top, brickRect.right, brickRect.bottom, SS(12), SS(12));
|
||||
@@ -680,6 +680,18 @@ void TDrawScreen(HDC hdc, HWND hWnd)
|
||||
TextOut(hdc, combatRect.left + SS(18), combatRect.top + SS(114), sweeperText, lstrlen(sweeperText));
|
||||
}
|
||||
|
||||
if (rogueStats.explosiveLevel > 0)
|
||||
{
|
||||
TCHAR explosiveText[96];
|
||||
int explosiveChance = 12 + (rogueStats.explosiveLevel - 1) * 8;
|
||||
if (explosiveChance > 40)
|
||||
{
|
||||
explosiveChance = 40;
|
||||
}
|
||||
_stprintf_s(explosiveText, _T("\u7206\u7834\u6982\u7387 %d%% %s"), explosiveChance, currentPieceIsExplosive ? _T("\u672c\u5757\u5df2\u7206\u7834") : _T("\u672c\u5757\u666e\u901a"));
|
||||
TextOut(hdc, combatRect.left + SS(18), combatRect.top + SS(146), explosiveText, lstrlen(explosiveText));
|
||||
}
|
||||
|
||||
RECT upgradeListRect =
|
||||
{
|
||||
panelRect.left + SS(20),
|
||||
@@ -738,6 +750,10 @@ void TDrawScreen(HDC hdc, HWND hWnd)
|
||||
{
|
||||
_stprintf_s(upgradeSummary + lstrlen(upgradeSummary), 512 - lstrlen(upgradeSummary), _T("\u6e05\u626b\u8005 Lv.%d\r\n"), rogueStats.sweeperLevel);
|
||||
}
|
||||
if (rogueStats.explosiveLevel > 0)
|
||||
{
|
||||
_stprintf_s(upgradeSummary + lstrlen(upgradeSummary), 512 - lstrlen(upgradeSummary), _T("\u7206\u7834\u65b9\u5757 Lv.%d\r\n"), rogueStats.explosiveLevel);
|
||||
}
|
||||
if (lstrlen(upgradeSummary) == 0)
|
||||
{
|
||||
_stprintf_s(upgradeSummary, _T("\u6682\u672a\u9009\u62e9\u4efb\u4f55\u5f3a\u5316\u3002\r\n\u5347\u7ea7\u540e\u4f1a\u5728\u8fd9\u91cc\u7d2f\u79ef\u663e\u793a\u3002"));
|
||||
|
||||
Reference in New Issue
Block a user