将炸弹方块改为每10块固定生成一次
This commit is contained in:
@@ -712,12 +712,11 @@ void TDrawScreen(HDC hdc, HWND hWnd)
|
||||
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"));
|
||||
_stprintf_s(
|
||||
explosiveText,
|
||||
_T("\u7206\u7834\u8ba1\u6570 %d / 10 %s"),
|
||||
rogueStats.explosivePieceCounter,
|
||||
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user