Home
last modified time | relevance | path

Searched refs:hit_points (Results 1 – 25 of 200) sorted by relevance

12345678

/dports/games/allacrost/allacrost-1.0.2/dat/actors/
H A Denemies_set_02.lua21 hit_points = 80,
34 hit_points = 10.0,
83 hit_points = 90,
96 hit_points = 10.0,
145 hit_points = 85,
158 hit_points = 15.0,
214 hit_points = 90,
227 hit_points = 10.0,
283 hit_points = 100,
361 hit_points = 120,
[all …]
H A Denemies_set_01.lua22 hit_points = 22,
35 hit_points = 10.0,
83 hit_points = 25,
96 hit_points = 10.0,
145 hit_points = 28,
158 hit_points = 10.0,
215 hit_points = 24,
228 hit_points = 9.0,
285 hit_points = 22,
298 hit_points = 6.0,
H A Dcharacters.lua71 hit_points = 5.0,
81 hit_points = 5.0,
156 hit_points = 5.0,
166 hit_points = 5.0,
241 hit_points = 5.0,
251 hit_points = 5.0,
326 hit_points = 5.0,
336 hit_points = 5.0,
/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOU_VEHI.cpp36 max_hit_points = unit_res[unitInfo->vehicle_id]->hit_points + in set_combat_level()
37 unit_res[unitInfo->solider_id]->hit_points * combatLevel / 100; in set_combat_level()
39 hit_points = MIN(hit_points, max_hit_points); in set_combat_level()
60 float soliderHitPoints = hit_points * solider_hit_points / (solider_hit_points+vehicle_hit_points); in dismount()
61 float vehicleHitPoints = hit_points * vehicle_hit_points / (solider_hit_points+vehicle_hit_points); in dismount()
85 unitPtr->hit_points = soliderHitPoints; in dismount()
97 unit_array[unitRecno]->hit_points = vehicleHitPoints; in dismount()
H A DOTORNADO.cpp118 if( targetUnit->hit_points <= 0) in hit_target()
119 targetUnit->hit_points = (float) 0; in hit_target()
125 targetUnit->hit_points -= attack_damage; in hit_target()
126 if( targetUnit->hit_points <= 0) in hit_target()
127 targetUnit->hit_points = (float) 0; in hit_target()
132 targetUnit->hit_points -= attack_damage; in hit_target()
133 if( targetUnit->hit_points <= 0) in hit_target()
134 targetUnit->hit_points = (float) 0; in hit_target()
165 firmPtr->hit_points -= attack_damage*2; in hit_building()
166 if( firmPtr->hit_points <= 0) in hit_building()
[all …]
H A DOW_FIRE.cpp166 targetUnit->hit_points -= (float)2.0*flameDamage; in spread_fire()
167 if( targetUnit->hit_points <= 0 ) in spread_fire()
168 targetUnit->hit_points = (float) 0; in spread_fire()
173 targetUnit->hit_points -= (float)2.0*flameDamage; in spread_fire()
174 if( targetUnit->hit_points <= 0 ) in spread_fire()
175 targetUnit->hit_points = (float) 0; in spread_fire()
185 targetFirm->hit_points -= flameDamage; in spread_fire()
186 if( targetFirm->hit_points <= 0) in spread_fire()
188 targetFirm->hit_points = (float) 0; in spread_fire()
H A DOF_MONS.cpp322 if( monster_king.hit_points < monster_king.max_hit_points ) in recover_hit_points()
323 monster_king.hit_points++; in recover_hit_points()
330 monster_general_array[i].hit_points++; in recover_hit_points()
377 monster_king.hit_points = monster_king.max_hit_points; in set_king()
399 monsterInFirm->hit_points = (int) unitPtr->hit_points; in add_general()
402 monsterInFirm->hit_points = 1; in add_general()
493 monsterInFirm->hit_points = monsterInFirm->max_hit_points; in recruit_general()
651 monsterPtr->hit_points = (float) hitPoints; in mobilize_monster()
655 monsterPtr->hit_points = monsterPtr->max_hit_points; in mobilize_monster()
812 max_hit_points = (int) unitInfo->hit_points * combatLevel / 100; in set_combat_level()
[all …]
H A DOFIRM.cpp98 hit_points = 0.0f; in Firm()
1017 workerPtr->hit_points = (int) unitPtr->hit_points; in assign_worker()
1369 hit_points++; in process_construction()
1373 hit_points += 10; in process_construction()
1404 hit_points++; in process_construction()
1407 hit_points += 10; in process_construction()
1486 err_when (hit_points < 0 || hit_points > max_hit_points ); in process_construction()
1741 hit_points++; in process_repair()
1770 hit_points--; in pay_expense()
2477 unitPtr->hit_points = thisWorker.hit_points; in create_worker_unit()
[all …]
H A DOUNIT.cpp1036 if( hit_points==0 || hit_points == max_hit_points ) // this unit is dead already in process_recover()
1750 if( hit_points > 0 ) in pay_expense()
1752 hit_points--; in pay_expense()
1754 if( hit_points < 0 ) in pay_expense()
1755 hit_points = (float) 0; in pay_expense()
1759 if( hit_points==0 ) in pay_expense()
1786 if( hit_points < 0 ) in change_hit_points()
1787 hit_points = (float) 0; in change_hit_points()
1862 hit_points = hit_points * max_hit_points / oldMaxHitPoints; in set_combat_level()
1864 hit_points = MIN(hit_points, max_hit_points); in set_combat_level()
[all …]
H A DOU_GOD.cpp82 hit_points=(float)0; in pre_process()
100 hit_points = (short) firmBase->pray_points; in pre_process()
102 if( hit_points == 0 ) in pre_process()
195 if( hit_points >= god_res[god_id]->power_pray_points ) in disp_info()
206 if( hit_points >= god_res[god_id]->power_pray_points ) in disp_info()
614 float oldHitPoints = unitPtr->hit_points; in maya_cast_power()
618 unitPtr->hit_points = oldHitPoints; // keep the hit points unchanged. in maya_cast_power()
691 hit_points = (float)0; in consume_power_pray_points()
700 hit_points = (short) firmBase->pray_points; in consume_power_pray_points()
H A DOF_CAMP.cpp171 …hen(unitPtr->cur_action==SPRITE_DIE || unitPtr->action_mode==ACTION_DIE || unitPtr->hit_points<=0); in clear_defense_mode()
673 * (int) overseerUnit->hit_points / overseerUnit->max_hit_points in train_unit()
689 incValue = 20 * (int) overseerUnit->hit_points / overseerUnit->max_hit_points in train_unit()
717 * workerPtr->hit_points / workerPtr->max_hit_points() in train_unit()
736 * workerPtr->hit_points / workerPtr->max_hit_points() in train_unit()
771 if( workerPtr->hit_points < workerPtr->max_hit_points() ) in recover_hit_point()
772 workerPtr->hit_points++; in recover_hit_point()
796 if( workerPtr->hit_points > 0 ) in pay_weapon_expense()
797 workerPtr->hit_points--; in pay_weapon_expense()
799 if( workerPtr->hit_points == 0 ) in pay_weapon_expense()
[all …]
H A DOUNITAT.cpp155 targetUnit->hit_points -= attackDamage - DEFAULT_ARMOR_OVER_ATTACK_SLOW_DOWN; in hit_target()
157 …targetUnit->hit_points -= MIN(attackDamage,ONE_OVER_ATTACK_SLOW_DOWN); // in case attackDamage = … in hit_target()
167 if( targetUnit->hit_points <= 0 ) in hit_target()
169 targetUnit->hit_points = (float) 0; in hit_target()
428 if(targetUnit->hit_points > attackUnit->hit_points) // the new attacker is weaker in unit_auto_guarding()
606 targetFirm->hit_points -= attackDamage/3; // /3 so that it takes longer to destroy a firm in hit_firm()
610 if(targetFirm->hit_points <= 0) in hit_firm()
612 targetFirm->hit_points = (float) 0; in hit_firm()
/dports/games/valyriatear/ValyriaTear-1.1.0/data/entities/
H A Denemies.lua33 hit_points = 30,
79 hit_points = 55,
140 hit_points = 160,
195 hit_points = 80,
260 hit_points = 355,
306 hit_points = 75,
367 hit_points = 420,
428 hit_points = 640,
482 hit_points = 300,
661 hit_points = 75,
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmon-grow.cc96 hit_points += minhp - max_hit_points; in upgrade_type()
98 hit_points = min(hit_points, max_hit_points); in upgrade_type()
137 hit_points += hpboost; in level_up()
138 hit_points = min(hit_points, max_hit_points); in level_up()
H A Dmonster.cc131 hit_points = 0; in reset()
177 hit_points = mon.hit_points; in init_with()
2066 if (!wandering && (hit_points * 10 < max_hit_points || hit_points < 10) in pickup_item()
3472 hit_points += amount; in heal()
3507 hit_points = hp_target; in suicide()
4407 hit_points -= amount; in hurt()
4978 hit_points = (hit_points * num + 1) / den; in scale_hp()
4981 if (hit_points < 1) in scale_hp()
4982 hit_points = 1; in scale_hp()
6018 hit_points = min(old_hp, hit_points); in react_to_damage()
[all …]
/dports/games/legesmotus/legesmotus-0.4.0/client/
H A DPenetrationGun.cpp128 std::list<Point> hit_points; in fire() local
154 hit_points.push_back(obj.point); in fire()
161 hit_points.push_back(obj.point); in fire()
168 hit_points.push_back(obj.point); in fire()
181 while (!hit_points.empty()) { in fire()
182 …gc.show_bullet_impact(hit_points.front(), m_impact_graphic.c_str()); // Also show the bullet impac… in fire()
183 fired_packet << hit_points.front(); in fire()
184 hit_points.pop_front(); in fire()
H A DSpreadGun.cpp94 std::list<Point> hit_points; in fire() local
114 hit_points.push_back(hit_point); in fire()
136 while (!hit_points.empty()) { in fire()
137 …gc.show_bullet_impact(hit_points.front(), m_impact_graphic.c_str()); // Also show the bullet impac… in fire()
138 discharged_packet << hit_points.front(); in fire()
139 hit_points.pop_front(); in fire()
H A DAreaGun.cpp115 std::list<Point> hit_points; in fire() local
120 hit_points = gc.shoot_in_region(*m_area, m_pivot, hit_players); in fire()
127 while (!hit_points.empty()) { in fire()
128 …gc.show_bullet_impact(hit_points.front(), m_impact_graphic.c_str()); // Also show the bullet impac… in fire()
129 discharged_packet << hit_points.front(); in fire()
130 hit_points.pop_front(); in fire()
/dports/games/dungeoncrawl/dc400b26-src/source/
H A Dmonstuff.cc353 if (monster->hit_points < 1 && monster->hit_points > -15) in monster_die()
670 monster->hit_points = 0; in monster_cleanup()
754 child->hit_points = parent->hit_points; in jelly_divide()
917 int old_hp = monster->hit_points; in monster_polymorph()
1140 || monster->hit_points < 1) in print_wounds()
1891 if (monster->hit_points > 1 in handle_enchantment()
2267 monster->hit_points = -1; in handle_special_ability()
3967 if (monster->hit_points > 100) in handle_pickup()
3968 monster->hit_points = 100; in handle_pickup()
4297 monster->hit_points += 5; in monster_move()
[all …]
/dports/games/uqm/uqm-0.8.0/src/uqm/
H A Dmisc.c43 PlanetElementPtr->hit_points = 200; in spawn_planet()
62 PlanetElementPtr->mass_points = PlanetElementPtr->hit_points; in spawn_planet()
142 AsteroidElementPtr->hit_points = 1; in spawn_asteroid()
207 if ((BYTE)damage < ElementPtr->hit_points) in do_damage()
208 ElementPtr->hit_points -= (BYTE)damage; in do_damage()
211 ElementPtr->hit_points = 0; in do_damage()
284 && ElementPtr0->hit_points > 0) in crew_collision()
296 ElementPtr0->hit_points = 0; in crew_collision()
342 CrewPtr->hit_points = 1; in AbandonShip()
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/badguy/
H A Dyeti.cpp63 hit_points(), in Yeti()
72 reader.get("lives", hit_points, INITIAL_HITPOINTS); in Yeti()
135 for (int i = 0; i < hit_points; ++i) in draw_hit_points()
259 hit_points--; in take_hit()
261 if (hit_points <= 0) { in take_hit()
297 if (hit_points >= 3) { in drop_stalactite()
370 result.add_int(_("Lives"), &hit_points, "lives", 5); in get_settings()
/dports/games/valyriatear/ValyriaTear-1.1.0/data/story/layna_village/battle_with_banesore/
H A Dbattle_with_banesore_script.lua307 local hit_points = 60
310 hit_points = hit_points + vt_utils.RandomBoundedInteger(70, 150); -- Easy
312 hit_points = hit_points + vt_utils.RandomBoundedInteger(50, 80);
315 bronann:RegisterHealing(hit_points, true);
/dports/games/uqm/uqm-0.8.0/src/uqm/ships/lastbat/
H A Dlastbat.c204 old_hits = ElementPtr0->hit_points; in comet_collision()
209 ElementPtr0->hit_points = old_hits; in comet_collision()
247 MissileBlock.hit_points = COMET_HITS; in spawn_comet()
278 CometPtr->hit_points = ElementPtr->hit_points; in spawn_comet()
349 ElementPtr0->hit_points = GATE_HITS; in gate_collision()
445 - ElementPtr->hit_points) / 5)) < 3) in generator_preprocess()
633 old_hits = ElementPtr0->hit_points; in sentinel_collision()
646 ElementPtr0->hit_points = old_hits; in sentinel_collision()
735 MissileBlock.hit_points = SENTINEL_HITS; in samatra_postprocess()
844 TurretPtr->hit_points = 1; in samatra_preprocess()
[all …]
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dcyber.c104 player_struct.hit_points = player_struct.hit_points * 1 / 2; in check_cspace_death()
105 if (player_struct.hit_points < MIN_CSPACE_EXIT_HP) in check_cspace_death()
106 player_struct.hit_points = MIN_CSPACE_EXIT_HP; in check_cspace_death()
/dports/games/uqm/uqm-0.8.0/src/uqm/ships/mycon/
H A Dmycon.c128 if (ElementPtr->mass_points > ElementPtr->hit_points) in plasma_preprocess()
129 ElementPtr->life_span = ElementPtr->hit_points * PLASMA_DURATION; in plasma_preprocess()
131 ElementPtr->hit_points = (BYTE)((ElementPtr->life_span * in plasma_preprocess()
133 ElementPtr->mass_points = ElementPtr->hit_points; in plasma_preprocess()
317 MissileBlock.hit_points = MISSILE_DAMAGE; in initialize_plasma()

12345678