use of com.lilithsthrone.game.character.race.RaceStage in project liliths-throne-public by Innoxia.
the class ReindeerOverseer method setBodyFromPreferences.
private void setBodyFromPreferences(int i, Gender gender, Subspecies race) {
int choice = Util.random.nextInt(i) + 1;
RaceStage raceStage = RaceStage.PARTIAL;
if (choice == 1) {
raceStage = RaceStage.PARTIAL;
} else if (choice == 2) {
raceStage = RaceStage.LESSER;
} else {
raceStage = RaceStage.GREATER;
}
setBody(gender, race, raceStage);
}
Aggregations