import { IsUUID, IsIn, IsOptional, IsInt, Min, Max } from 'class-validator';
import { AttackType } from '../../monster/monster.entity';

export class StartCombatDto {
  @IsUUID()
  monsterId: string;

  @IsIn(['melee', 'ranged', 'magic'])
  attackType: AttackType;

  @IsOptional()
  @IsInt()
  @Min(1)
  @Max(10)
  count?: number;
}
