Return the amount of artifacts the player has acquired from the provided race. Opening the Archaeology window populates the values. The value returned is the number of completed artifacts for that race plus one for the in progress artifact. If the player hasn't collected the race's fragments yet, the value will be 0. Artifacts are only counted once so no matter how many times an artifact has been repeated it counts as one.
See also Archaeology profession functions.
Signature:
numProjects
=
GetNumArtifactsByRace(branchID)
Arguments:
branchID
- Index of the branch (race) to be selected (number
)
Returns:
numProjects
- Number of projects (artifacts) for that race (number
)