Home
last modified time | relevance | path

Searched refs:BASELINE_DELAY (Results 1 – 25 of 43) sorted by relevance

12

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dplayer-reacts.cc134 ASSERTM(!midloss || midloss * BASELINE_DELAY < midpoint, in _decrement_a_duration()
136 midloss * BASELINE_DELAY, midpoint); in _decrement_a_duration()
144 you.duration[dur] -= midloss * BASELINE_DELAY; in _decrement_a_duration()
231 * BASELINE_DELAY; in _decrement_paralysis()
760 (you.duration[DUR_RECITE] + BASELINE_DELAY - 1) / BASELINE_DELAY; in _decrement_durations()
763 (you.duration[DUR_RECITE] + BASELINE_DELAY - 1) / BASELINE_DELAY; in _decrement_durations()
826 const int drain = div_rand_round(15 * you.time_taken, BASELINE_DELAY); in _handle_emergency_flight()
906 you.hit_points_regeneration += div_rand_round(base_val * delay, BASELINE_DELAY); in _regenerate_hp_and_mp()
933 int mp_regen_countup = div_rand_round(base_val * delay, BASELINE_DELAY); in _regenerate_hp_and_mp()
978 if (x_chance_in_y(you.time_taken, 10 * BASELINE_DELAY)) in player_reacts()
H A Dtimed-effects.h27 const int ZOT_CLOCK_PER_FLOOR = 6000 * BASELINE_DELAY;
29 const int MAX_ZOT_CLOCK = 27000 * BASELINE_DELAY;
H A Ddefines.h148 const int BASELINE_DELAY = 10; variable
152 const int ICEMAIL_TIME = 30 * BASELINE_DELAY;
H A Dspl-selfench.cc43 if (you.duration[DUR_DEATHS_DOOR] > 25 * BASELINE_DELAY) in cast_deaths_door()
44 you.duration[DUR_DEATHS_DOOR] = (23 + random2(5)) * BASELINE_DELAY; in cast_deaths_door()
H A Dtimed-effects.cc238 BASELINE_DELAY); in _apply_contam_over_time()
1236 shoals_apply_tides(div_rand_round(you.time_taken, BASELINE_DELAY), in run_environment_effects()
1322 return aut * 3 / (2 * BASELINE_DELAY); in turns_until_zot_in()
1323 return aut / BASELINE_DELAY; in turns_until_zot_in()
1438 if (turns_left < 0 || turns_left > MAX_ZOT_CLOCK / BASELINE_DELAY) in set_turns_until_zot()
1442 clock = MAX_ZOT_CLOCK - turns_left * BASELINE_DELAY; in set_turns_until_zot()
H A Dplayer.cc4073 / BASELINE_DELAY); in confuse_player()
4481 if (you.duration[DUR_SLOW] > BASELINE_DELAY) in dec_slow_player()
4496 if (you.duration[DUR_SLOW] <= BASELINE_DELAY) in dec_slow_player()
4557 if (you.duration[DUR_HASTE] > BASELINE_DELAY) in dec_haste_player()
4563 int threshold = 6 * BASELINE_DELAY; in dec_haste_player()
4838 BASELINE_DELAY * 10); in handle_player_drowning()
4953 next_timer_effect.init(20 * BASELINE_DELAY); in player()
6643 paralysis = min(str, 13) * BASELINE_DELAY; in paralyse()
6690 duration[DUR_PETRIFIED] = 6 * BASELINE_DELAY in fully_petrify()
7348 cap *= BASELINE_DELAY; in increase_duration()
[all …]
H A Dart-func.h158 (3 + random2(dam)) * BASELINE_DELAY)); in _CEREBOV_melee_effects()
1082 (3 + random2(dam)) * BASELINE_DELAY)); in _FIRESTARTER_melee_effects()
1114 (5 + random2(dam)) * BASELINE_DELAY)); in _CHILLY_DEATH_melee_effects()
1273 inc_mp(binomial(div_rand_round(delay, BASELINE_DELAY), 1, 2)); in _ETHERIC_CAGE_world_reacts()
1414 item->plus -= div_rand_round(you.time_taken, BASELINE_DELAY); in _THERMIC_ENGINE_world_reacts()
1428 && one_chance_in(7 * div_rand_round(BASELINE_DELAY, you.time_taken))) in _ZHOR_world_reacts()
H A Dspl-monench.cc40 * BASELINE_DELAY; in englaciate()
H A Dareas.cc512 dur /= BASELINE_DELAY; // now roughly number of turns in _shrinking_aoe_range()
541 const int moddur = BASELINE_DELAY in silence_radius()
652 const int moddur = BASELINE_DELAY * in liquefying_radius()
H A Douch.cc90 you.duration[DUR_ICY_ARMOUR] -= damage * BASELINE_DELAY; in maybe_melt_player_enchantments()
1176 return div_rand_round(damage * you.time_taken, BASELINE_DELAY); in timescale_damage()
1180 const int speed = mons->speed > 0? mons->speed : BASELINE_DELAY; in timescale_damage()
1181 return div_rand_round(damage * BASELINE_DELAY, speed); in timescale_damage()
H A Dmon-ench.cc1742 breath_timeout_turns * BASELINE_DELAY)); in apply_enchantment()
1766 BASELINE_DELAY * 10); in apply_enchantment()
1954 speed = BASELINE_DELAY; in _mod_speed()
1955 const int modded = val * BASELINE_DELAY / speed; in _mod_speed()
2323 return random_range(10 * BASELINE_DELAY, 15 * BASELINE_DELAY); in calc_duration()
H A Dstatus.cc892 const int high = 120 * BASELINE_DELAY; in _describe_sickness()
893 const int low = 40 * BASELINE_DELAY; in _describe_sickness()
1059 return _lookup_duration(dur)->expire_threshold * BASELINE_DELAY; in duration_expire_point()
H A Dbeam.cc3675 4 + random2(7) * BASELINE_DELAY)); in __anonb1d1125b0502()
3717 15 + random2(11) * BASELINE_DELAY)); in __anonb1d1125b0902()
4047 you.duration[DUR_FROZEN] = (2 + random2(3)) * BASELINE_DELAY; in affect_player()
4449 int time_left = (random2(8) + hd) * BASELINE_DELAY; in glaciate_freeze()
4551 random_range(5, 7) * BASELINE_DELAY)); in monster_post_hit()
5475 ench_power * BASELINE_DELAY); in apply_enchantment_to_monster()
5764 * BASELINE_DELAY; in apply_enchantment_to_monster()
5775 agent()->heal(dur / BASELINE_DELAY); in apply_enchantment_to_monster()
5804 const int dur = (5 + random2avg(ench_power / 2, 2)) * BASELINE_DELAY; in apply_enchantment_to_monster()
5814 * BASELINE_DELAY; in apply_enchantment_to_monster()
[all …]
H A Dspl-goditem.cc912 const int tomb_duration = BASELINE_DELAY * pow; in entomb()
928 const int tomb_duration = BASELINE_DELAY * pow; in cast_imprison()
1059 (10 + random2(10)) * BASELINE_DELAY)); in holy_word_monsters()
H A Dgod-abil.cc1024 (degree + random2(spellpower)) * BASELINE_DELAY))) in zin_recite_to_single_monster()
1034 (degree + random2(spellpower)) * BASELINE_DELAY))) in zin_recite_to_single_monster()
1046 (degree + random2(spellpower)) * BASELINE_DELAY))) in zin_recite_to_single_monster()
1077 (degree + random2(spellpower)) * BASELINE_DELAY))) in zin_recite_to_single_monster()
1087 (degree + random2(spellpower)) * BASELINE_DELAY))) in zin_recite_to_single_monster()
1205 int time_left = (random2(8) + hd) * BASELINE_DELAY; in _zin_saltify()
2035 const int player_numer = BASELINE_DELAY * BASELINE_DELAY * BASELINE_DELAY; in _slouch_damage()
2036 return 4 * (mon->speed * BASELINE_DELAY * jerk_num in _slouch_damage()
3452 random2(you.skill(SK_INVOCATIONS, BASELINE_DELAY)), in qazlal_upheaval()
H A Dspl-miscast.cc366 0, source, dam * BASELINE_DELAY)); in __anon41bd6ab60302()
H A Dmon-act.cc432 && !x_chance_in_y(4 * BASELINE_DELAY, in _mons_can_cast_dig()
433 4 * BASELINE_DELAY in _mons_can_cast_dig()
437 >= 4 * BASELINE_DELAY)); in _mons_can_cast_dig()
1685 mons->speed_increment -= BASELINE_DELAY; in handle_monster_move()
1776 random_range(1, 5) * BASELINE_DELAY)); in handle_monster_move()
2127 you.duration[DUR_SICKENING] += (2 + random2(4)) * BASELINE_DELAY; in _ancient_zyme_sicken()
H A Dability.cc2264 you.duration[DUR_RECITE] = 3 * BASELINE_DELAY; in _do_ability()
2406 you.duration[DUR_MIRROR_DAMAGE] = 9 * BASELINE_DELAY in _do_ability()
2407 + random2avg(you.piety * BASELINE_DELAY, 2) / 10; in _do_ability()
2501 duration * BASELINE_DELAY)); in _do_ability()
2663 you.duration[DUR_LIFESAVING] = 9 * BASELINE_DELAY in _do_ability()
2664 + random2avg(you.piety * BASELINE_DELAY, 2) / 10; in _do_ability()
H A Dgod-wrath.cc387 if (you.duration[DUR_SLOW] < 180 * BASELINE_DELAY) in _cheibriados_retribution()
806 if (you.duration[DUR_SLOW] < 180 * BASELINE_DELAY) in _trog_retribution()
2137 if (you.duration[DUR_SLOW] < 180 * BASELINE_DELAY) in divine_retribution()
H A Dspl-damage.cc2712 random_range(4, 8) * BASELINE_DELAY)); in dazzle_monster()
2835 (4 + random2avg(pow/15, 2)) * BASELINE_DELAY)); in cast_toxic_radiance()
2875 int dam = roll_dice(1, 1 + pow / 20) * div_rand_round(mult, BASELINE_DELAY); in toxic_radiance_effect()
2906 int q = mult / BASELINE_DELAY; in toxic_radiance_effect()
2907 int levels = roll_dice(q, 2) - q + (roll_dice(1, 20) <= (mult % BASELINE_DELAY)); in toxic_radiance_effect()
3793 temp_change_terrain(pos, DNGN_TOXIC_BOG, turns * BASELINE_DELAY, in cast_noxious_bog()
H A Dplayer-stats.cc631 (20 + random2(20)) * BASELINE_DELAY; in _handle_stat_change()
H A Dmon-cast.cc315 const int dur = BASELINE_DELAY in __anon2840f9480b02()
813 random_range(7, 9) * BASELINE_DELAY)); in _cast_injury_mirror()
851 turns * BASELINE_DELAY)); in _cast_grasping_roots()
4010 && !x_chance_in_y(4 * BASELINE_DELAY, in handle_mon_spell()
4011 4 * BASELINE_DELAY in handle_mon_spell()
4058 6 * BASELINE_DELAY)); in handle_mon_spell()
4356 timeout * BASELINE_DELAY); in setup_breath_timeout()
5303 random2(14) * BASELINE_DELAY, in _mons_upheaval()
5614 const int tide_duration = BASELINE_DELAY in mons_cast()
6058 const int tomb_duration = BASELINE_DELAY in mons_cast()
[all …]
H A Dgod-passive.cc920 piety_breakpoint(5) * 7 * BASELINE_DELAY); in qazlal_storm_clouds()
1401 attack_delay * BASELINE_DELAY); in _wu_jian_number_of_attacks()
H A Dplayer-act.cc310 return rv::max(div_rand_round(attk_delay * you.time_taken, BASELINE_DELAY), in attack_delay()
H A Dranged-attack.cc678 damage_done * BASELINE_DELAY)); in apply_missile_brand()

12