Searched refs:base_chance (Results 1 – 7 of 7) sorted by relevance
/dports/games/freeorion/freeorion-0.4.10.2/default/python/universe_generation/ |
H A D | specials.py | 65 base_chance = universe_tables.SPECIALS_FREQUENCY[specials_freq] 66 if base_chance <= 0: 82 objects_needing_specials = [obj for obj in universe_objects if random.random() < base_chance] 87 .format(base_chance, len(objects_needing_specials), len(universe_objects),
|
/dports/games/nlarn/nlarn-NLarn-0.7.6/src/ |
H A D | traps.c | 115 const int base_chance = trap_effect_chance(trap); in modified_effect_chance() local 119 return (base_chance * level / 5); in modified_effect_chance() 122 return base_chance; in modified_effect_chance()
|
/dports/games/augustus/augustus-3.1.0/src/building/ |
H A D | industry.c | 411 int base_chance = 60 - city_data.sentiment.value; in building_industry_start_strikes() local 412 int strike_chance = base_chance * base_chance / 36; in building_industry_start_strikes()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | ability.cc | 200 int base_chance; member 220 return base_chance - you.experience_level * variable_fail_mult; in chance() 222 return base_chance - you.skill(SK_EVOCATIONS, variable_fail_mult); in chance() 229 return base_chance - sk_mod - piety_mod; in chance() 1041 static int _adjusted_failure_chance(ability_type ability, int base_chance) in _adjusted_failure_chance() argument 1053 return base_chance - 20; in _adjusted_failure_chance() 1054 return base_chance; in _adjusted_failure_chance() 1060 return base_chance; in _adjusted_failure_chance() 1086 const int base_chance = abil.failure.chance(); in get_talent() local 1087 const int failure = _adjusted_failure_chance(ability, base_chance); in get_talent() [all …]
|
H A D | throw.cc | 1014 const int base_chance = ammo_type_destroy_chance(item->sub_type); in thrown_object_destroyed() local 1019 int chance = base_chance * mult; in thrown_object_destroyed()
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | scene_battle.cpp | 113 …int base_chance = Utils::RoundTo<int>(100.0 * static_cast<double>(avg_enemy_agi) / static_cast<dou… in InitEscapeChance() local 114 this->escape_chance = Utils::Clamp(150 - base_chance, 64, 100); in InitEscapeChance()
|
/dports/games/ivan/ivan-059/Main/Source/ |
H A D | char.cpp | 13240 double base_chance = 100 - (100000 / (2000 + game::GetGod(CLEPTIA)->GetRelation())); in TryToStealFromShop() local 13243 int normalized_chance = Max(5, Min(95, int(base_chance * size_mod * stat_mod))); in TryToStealFromShop()
|