Android build v1.0.58 stadium added
This commit is contained in:
+27
-4
@@ -5,6 +5,7 @@ import { AuthScreen } from './components/AuthScreen'
|
||||
import { CustomizeScreen } from './components/CustomizeScreen'
|
||||
import { EquipmentScreen } from './components/EquipmentScreen'
|
||||
import { PvPRoguelikeScreen } from './components/PvpRoguelikeScreen'
|
||||
import { PvpStadiumScreen } from './components/PvpStadiumScreen'
|
||||
import { TalentScreen } from './components/TalentScreen'
|
||||
import { SettingsScreen } from './components/SettingsScreen'
|
||||
import {
|
||||
@@ -253,6 +254,19 @@ function App() {
|
||||
}
|
||||
|
||||
if (screen === 'pvp') {
|
||||
if (pvpContentType === 'stadium') {
|
||||
return (
|
||||
<PvpStadiumScreen
|
||||
gameMode={gameMode}
|
||||
onExit={() => {
|
||||
setRoguelikeVariant('pvp')
|
||||
setScreen('roguelike')
|
||||
}}
|
||||
onProfileUpdated={setProfile}
|
||||
profile={profile}
|
||||
/>
|
||||
)
|
||||
}
|
||||
const pvpPool = profile.dungeons
|
||||
.filter((candidate) => candidate.contentType === pvpContentType)
|
||||
.flatMap((candidate) => candidate.encounters)
|
||||
@@ -547,6 +561,13 @@ function App() {
|
||||
>
|
||||
Raid
|
||||
</button>
|
||||
<button
|
||||
className={`text-button ${pvpContentType === 'stadium' ? 'active' : ''}`}
|
||||
onClick={() => setPvpContentType('stadium')}
|
||||
type="button"
|
||||
>
|
||||
Stadium
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="menu-card pvp-queue-panel">
|
||||
@@ -554,9 +575,11 @@ function App() {
|
||||
<div>
|
||||
<strong>{gameMode === 'offline' ? 'Offline CPU Match' : 'Queue Then CPU Fallback'}</strong>
|
||||
<small>
|
||||
{gameMode === 'offline'
|
||||
? 'Offline mode always places you against a random CPU 1-5.'
|
||||
: 'Online mode searches briefly. If nobody is queued, a random CPU 1-5 takes the slot.'}
|
||||
{pvpContentType === 'stadium'
|
||||
? 'Best-of-5 survival with dampening, equalized gear, and after-round buff buying.'
|
||||
: gameMode === 'offline'
|
||||
? 'Offline mode always places you against a random CPU 1-5.'
|
||||
: 'Online mode searches briefly. If nobody is queued, a random CPU 1-5 takes the slot.'}
|
||||
</small>
|
||||
</div>
|
||||
<button
|
||||
@@ -572,7 +595,7 @@ function App() {
|
||||
<div className="equipment-heading toggle-heading">
|
||||
<div>
|
||||
<p className="eyebrow">CPU Leaderboard</p>
|
||||
<h2>{pvpContentType === 'raid' ? 'Raid Clash' : 'Dungeon Clash'}</h2>
|
||||
<h2>{pvpContentType === 'stadium' ? 'Stadium' : pvpContentType === 'raid' ? 'Raid Clash' : 'Dungeon Clash'}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div className="leaderboard-table">
|
||||
|
||||
Reference in New Issue
Block a user