Well,I mean when I want to start a MAX RAID battle with a certain pokemon,now I have to add it into database and use pbmaxraid to search for it.
In this way,it ivs,level,ability and so on are decided by the rule.
However,in the game,sometimes we just want to start battle with a certain pokemon.
I want to decide its name,ivs,evs,level,dynamax level and so on,instead of searching a specie and spawn one in database.
So I want to ask if it is possible?
I still don't feel like I'm really getting what you're asking. What do you mean you have to "add it into the database"?
Pokemon are added to the database automatically if they appear in your Pokemon PBS file, there's nothing you have to physically add to the database to get them to appear. And this has no bearing on the pbMaxRaid script, they both function independently of each other. So I don't get what one has to do with the other.
If you want to start a raid battle against a particular species, you can set up a raid den event with pbMaxRaid to spawn that particular species. Which is how this always worked. This has nothing to do with the Database. The Database battles are purely for quickly testing fights in debug mode without having to set up several dens to test each battle. I feel like you're confusing the two somehow, or more likely I'm just really not understanding your question.
As far as controlling the attributes of a Raid Pokemon, most of these are automatically handled by the raid itself. Level, IV's, and Dynamax Level scale with the star rank of the raid. Which is how raid battles are supposed to work. If you want, however, to manipulate these values for particular species, that's what
pbCustomRaidSets is for. In the MaxRaidEvents script near the top, you'll find this section. Here, you can set moves, abilities, held items, natures, etc....basically any attribute of a particular Pokemon species. When you encounter that species in any raid battle, they will have those custom attributes set, which will override any of the normally generated values.