Correct Emperor special Sardaukar revival limits
This commit is contained in:
1 parent
b750a3d3eb
commit
ac4302a8ed
14 files changed
+269
-33
No files matched your search
@@ -5,11 +5,13 @@ export function EliteCount({
|
||||
value,
|
||||
onChange,
|
||||
max,
|
||||
min = 0,
|
||||
label = 'Elite forces included',
|
||||
}: {
|
||||
value: number;
|
||||
onChange: (value: number) => void;
|
||||
max: number;
|
||||
min?: number;
|
||||
label?: string;
|
||||
}) {
|
||||
const id = useId();
|
||||
@@ -19,7 +21,7 @@ export function EliteCount({
|
||||
<Input
|
||||
id={id}
|
||||
type="number"
|
||||
min={0}
|
||||
min={min}
|
||||
max={max}
|
||||
value={value}
|
||||
onChange={(e) => onChange(Number(e.target.value))}
|
||||
|
||||
Reference in new issue
Block a user