MCPcopy Create free account
hub / github.com/crawl/crawl / give_basic_mutations

Function give_basic_mutations

crawl-ref/source/species.cc:645–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645void give_basic_mutations(species_type species)
646{
647 // Don't perma_mutate since that gives messages.
648 for (const auto& lum : get_species_def(species).level_up_mutations)
649 if (lum.xp_level == 1)
650 you.mutation[lum.mut] = you.innate_mutation[lum.mut] = lum.mut_level;
651}
652
653void give_level_mutations(species_type species, int xp_level)
654{

Callers 3

change_species_toFunction · 0.85
fill_doll_for_newgameFunction · 0.85
_setup_genericFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected