Searched refs:which_mut (Results 1 – 3 of 3) sorted by relevance
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | mutation.h | 77 bool perma_mutate(mutation_type which_mut, int how_much, const string &reason); 78 bool temp_mutate(mutation_type which_mut, const string &reason);
|
H A D | mutation.cc | 2852 bool perma_mutate(mutation_type which_mut, int how_much, const string &reason) in perma_mutate() argument 2854 ASSERT(_is_valid_mutation(which_mut)); in perma_mutate() 2856 int cap = get_mutation_cap(which_mut); in perma_mutate() 2863 rc = _handle_conflicting_mutations(which_mut, true, reason); in perma_mutate() 2869 dprf("Perma Mutate %s: cap %d, total %d, innate %d", mutation_name(which_mut), cap, in perma_mutate() 2870 you.get_base_mutation_level(which_mut), you.get_innate_mutation_level(which_mut)); in perma_mutate() 2871 if (you.get_base_mutation_level(which_mut, true, false, false) < cap in perma_mutate() 2872 && !mutate(which_mut, reason, false, true, false, false, MUTCLASS_INNATE)) in perma_mutate() 2889 bool temp_mutate(mutation_type which_mut, const string &reason) in temp_mutate() argument 2891 return mutate(which_mut, reason, false, false, false, false, MUTCLASS_TEMPORARY); in temp_mutate()
|
/dports/games/dungeoncrawl/dc400b26-src/source/ |
H A D | mutation.cc | 47 bool perma_mutate(int which_mut, char how_much); 2145 bool perma_mutate(int which_mut, char how_much) in perma_mutate() argument 2149 if (mutate(which_mut + 1000)) in perma_mutate() 2152 if (how_much >= 2 && mutate(which_mut + 1000)) in perma_mutate() 2155 if (how_much >= 3 && mutate(which_mut + 1000)) in perma_mutate() 2158 you.demon_pow[which_mut] = levels; in perma_mutate()
|