File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -679,6 +679,9 @@ function GachaTargetInput({
679679 value = { gachaName }
680680 options = { Object . values ( gachas ) . map ( ( g ) => g . bannerName ) }
681681 />
682+ { ! Number . isFinite ( banner . guaranteed ) && (
683+ < NumberInput label = "Available 4* star count in banner" set = { setGuaranteedRate } value = { guaranteedRate } min = { 0 } max = { banner . guaranteed } />
684+ ) }
682685 < NumberInput label = { `Current ${ banner . constName . toLowerCase ( ) } ` } set = { setCurrent } value = { current } min = { banner . minConst } max = { target - 1 } />
683686 < NumberInput label = { `Target ${ banner . constName . toLowerCase ( ) } ` } set = { setTarget } value = { target } min = { current + 1 } max = { banner . maxConst } />
684687 < NumberInput label = "Current pity" set = { setPity } value = { pity } min = { 0 } max = { banner . maxPity - 1 } />
@@ -689,9 +692,6 @@ function GachaTargetInput({
689692 { Array . isArray ( banner . banner ) && (
690693 < NumberInput label = "Lost pity (Capturing Radiance)" set = { setLostPity } value = { lostPity } min = { 0 } max = { banner . banner . length - 1 } />
691694 ) }
692- { ! Number . isFinite ( banner . guaranteed ) && (
693- < NumberInput label = "Available 4* star count in banner" set = { setGuaranteedRate } value = { guaranteedRate } min = { 0 } max = { banner . guaranteed } />
694- ) }
695695 </ div >
696696}
697697
You can’t perform that action at this time.
0 commit comments