Home
last modified time | relevance | path

Searched refs:damage_total (Results 1 – 10 of 10) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmattack_actors.cpp301 int damage_total = dealt_damage.total_damage(); in call() local
302 add_msg_debug( "%s's melee_attack did %d damage", z.name(), damage_total ); in call()
303 if( damage_total > 0 ) { in call()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmattack_actors.cpp301 int damage_total = dealt_damage.total_damage(); in call() local
302 add_msg_debug( "%s's melee_attack did %d damage", z.name(), damage_total ); in call()
303 if( damage_total > 0 ) { in call()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmon-death.cc298 if (!mons->damage_total) in _calc_player_experience()
305 experience = (experience * mons->damage_friendly / mons->damage_total in _calc_player_experience()
307 ASSERT(mons->damage_friendly <= 2 * mons->damage_total); in _calc_player_experience()
1287 dprf("Reaping chance: %d/%d", rd, mons.damage_total); in _reaping()
1288 if (!x_chance_in_y(rd, mons.damage_total)) in _reaping()
2085 unwind_var<int> dt(mons.damage_total, 0); in monster_die()
2130 mons.damage_total += mons.hit_points; in monster_die()
2550 mon.damage_total = daddy->damage_total; in mounted_kill()
H A Dwiz-mon.cc458 if (mons.damage_total) in debug_stethoscope()
462 0.5 * mons.damage_friendly, mons.damage_total, in debug_stethoscope()
463 50 * mons.damage_friendly / mons.damage_total); in debug_stethoscope()
H A Dmonster.cc141 damage_total = 0; in reset()
204 damage_total = mon.damage_total; in init_with()
3483 damage_total = 0; in heal()
3493 damage_total = min<int>(MAX_DAMAGE_COUNTER, damage_total + amount); in blame_damage()
H A Dmonster.h115 int damage_total; variable
H A Dtags.cc5672 marshallShort(th, m.damage_total); in marshallMonster()
6661 m.damage_total = unmarshallShort(th); in unmarshallMonster()
/dports/games/xonotic/Xonotic/source/qcsrc/client/
H A Dview.qc802 float damage_total = STAT(DAMAGE_DEALT_TOTAL);
803 float unaccounted_damage_new = COMPARE_INCREASING(damage_total, damage_total_prev);
804 damage_total_prev = damage_total;
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/parse/
H A Dsexp.cpp7370 float damage_total = 0.0f; in get_damage_caused() local
7379 damage_total += Ships[sindex].damage_ship[idx]; in get_damage_caused()
7390 damage_total += Ships_exited[sindex].damage_ship[idx]; in get_damage_caused()
7397 return damage_total; in get_damage_caused()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/parse/
H A Dsexp.cpp8490 float damage_total = 0.0f; in get_damage_caused() local
8498 damage_total += Ships_exited[ship_entry->exited_index].damage_ship[idx]; in get_damage_caused()
8507 damage_total += ship_entry->shipp->damage_ship[idx]; in get_damage_caused()
8513 return damage_total; in get_damage_caused()