/dports/games/wesnoth/wesnoth-1.14.17/data/ai/scenarios/ai_arena_small/ |
H A D | 0001-healing.cfg | 19 {UNIT 2 Peasant 10 11 hitpoints=1} 21 {UNIT 2 "Heavy Infantryman" 19 13 hitpoints=1} 22 {UNIT 2 "General" 21 13 hitpoints=1} 23 {UNIT 2 "Grand Knight" 21 14 hitpoints=1} 24 {UNIT 2 "Halberdier" 10 12 hitpoints=1} 25 {UNIT 2 "Pikeman" 9 17 hitpoints=1} 26 {UNIT 2 "Master at Arms" 20 12 hitpoints=1} 27 {UNIT 2 Peasant 21 9 hitpoints=1} 28 {UNIT 2 Peasant 16 17 hitpoints=1} 29 {UNIT 2 Peasant 9 17 hitpoints=1}
|
/dports/devel/p5-Function-Parameters/Function-Parameters-2.001003/t/foreign/Method-Signatures-Simple/ |
H A D | 03-config.t | 31 $self->{hitpoints} = calculate_damage($self->{hitpoints}, $hits); 32 if($self->{hitpoints} <= 0) { 37 function calculate_damage ($hitpoints, $damage) { 38 return $hitpoints - $damage; 43 my $hellhound = Monster->spawn( name => "Hellhound", voices => "barks", strength => 22, hitpoints =… 46 my $human = Monster->spawn( name => 'human', voices => 'whispers', strength => 4, hitpoints => 16 ); 49 is $human->{hitpoints}, -6;
|
/dports/games/alienblaster/alienblaster/src/ |
H A D | enemy.cc | 44 hitpoints = ENEMY_HITPOINTS[ enemyType ]; in Enemy() 144 return ( hitpoints <= 0 || in isExpired() 153 hitpoints = -1; in expire() 402 case SHOT_NORMAL: hitpoints -= DAMAGE_SHOT_NORMAL; break; in doDamage() 404 case SHOT_DOUBLE: hitpoints -= DAMAGE_SHOT_DOUBLE; break; in doDamage() 406 case SHOT_TRIPLE: hitpoints -= DAMAGE_SHOT_TRIPLE; break; in doDamage() 408 case SHOT_HF_NORMAL: hitpoints -= DAMAGE_SHOT_HF_NORMAL; break; in doDamage() 414 case SHOT_DUMBFIRE: hitpoints -= DAMAGE_SHOT_DUMBFIRE; break; in doDamage() 417 case SHOT_HELLFIRE: hitpoints -= DAMAGE_SHOT_HELLFIRE; break; in doDamage() 424 case SHOT_HF_LASER: hitpoints -= DAMAGE_SHOT_HF_LASER; break; in doDamage() [all …]
|
/dports/devel/p5-Method-Signatures-Simple/Method-Signatures-Simple-1.07/t/ |
H A D | 03-config.t | 29 $self->{hitpoints} = calculate_damage($self->{hitpoints}, $hits); 30 if($self->{hitpoints} <= 0) { 35 function calculate_damage ($hitpoints, $damage) { 36 return $hitpoints - $damage; 41 my $hellhound = Monster->spawn( name => "Hellhound", voices => "barks", strength => 22, hitpoints =… 44 my $human = Monster->spawn( name => 'human', voices => 'whispers', strength => 4, hitpoints => 16 ); 47 is $human->{hitpoints}, -6;
|
/dports/games/kspaceduel/kspaceduel-21.12.3/src/ |
H A D | playerinfo.cpp | 29 hitpoints(2,this),energy(2,this),wins(2,this) in PlayerInfo() 68 hitpoints.setGeometry(9,45,26,26); in PlayerInfo() 71 hitpoints.setFrameStyle(NoFrame); in PlayerInfo() 72 hitpoints.setToolTip(i18n("Hit points")); in PlayerInfo() 73 hitpoints.setSegmentStyle(QLCDNumber::Flat); in PlayerInfo() 82 palette.setColor(hitpoints.foregroundRole(), QColor(251,37,37)); in PlayerInfo() 85 palette.setColor(hitpoints.foregroundRole(), QColor(61,23,233)); in PlayerInfo() 87 hitpoints.setPalette(palette); in PlayerInfo() 95 hitpoints.display(h); in setHitpoints()
|
/dports/games/frogatto/frogatto-1.3.1/modules/aritest/data/object_prototypes/ |
H A D | pang-ball.cfg | 4 hitpoints: 1, 16 if(collide_with.team='player' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 21 if(collide_with.team='player' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 26 if(collide_with.team='player' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 31 add(collide_with.hitpoints, -1), 36 add(me.hitpoints, -1), 37 add(collide_with.hitpoints, -1)
|
/dports/games/openglad/openglad-0.98/src/ |
H A D | loader.cpp | 333 hitpoints[PIX(ORDER_LIVING, FAMILY_ELF)] = 30; in loader() 336 hitpoints[PIX(ORDER_LIVING, FAMILY_MAGE)] = 60; in loader() 346 hitpoints[PIX(ORDER_LIVING, FAMILY_ORC)] = 110; in loader() 512 hitpoints[PIX(ORDER_WEAPON, FAMILY_KNIFE)] = 6; in loader() 513 hitpoints[PIX(ORDER_WEAPON, FAMILY_BONE)] = 5; in loader() 514 hitpoints[PIX(ORDER_WEAPON, FAMILY_ROCK)] = 4; in loader() 515 hitpoints[PIX(ORDER_WEAPON, FAMILY_ARROW)] = 5; in loader() 518 hitpoints[PIX(ORDER_WEAPON, FAMILY_TREE)] = 50; in loader() 521 hitpoints[PIX(ORDER_WEAPON, FAMILY_BLOB)] = 1; in loader() 523 hitpoints[PIX(ORDER_WEAPON, FAMILY_GLOW)] = 50; in loader() [all …]
|
H A D | living.cpp | 85 if (stats->hitpoints < stats->max_hitpoints) // we're hurt in act() 92 owner->stats->hitpoints--; in act() 100 stats->hitpoints++; in act() 137 if (stats->hitpoints < stats->max_hitpoints && in act() 140 stats->hitpoints += stats->heal_per_round; in act() 144 stats->hitpoints++; in act() 147 if (stats->hitpoints > stats->max_hitpoints) in act() 148 stats->hitpoints = stats->max_hitpoints; in act() 172 stats->hitpoints--; in act() 173 if (stats->hitpoints < 1) in act() [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/micro_ais/cas/ |
H A D | ca_fast_attack_utils.lua | 108 hitpoints = unit_proxy.hitpoints, 263 local damage = attacker_info.hitpoints - att_stat.average_hp 379 local defender_starting_damage_fraction = defender_info.max_hitpoints - defender_info.hitpoints 449 …he[attacker_info.id][defender_info.id][attacker_defense][defender_defense][attacker_info.hitpoints] 450 …nder_info.id][attacker_defense][defender_defense][attacker_info.hitpoints][defender_info.hitpoints] 452 …info.id][attacker_defense][defender_defense][attacker_info.hitpoints][defender_info.hitpoints].att… 453 …info.id][attacker_defense][defender_defense][attacker_info.hitpoints][defender_info.hitpoints].def… 504 …acker_info.id][defender_info.id][attacker_defense][defender_defense][attacker_info.hitpoints]) then 505 …tacker_info.id][defender_info.id][attacker_defense][defender_defense][attacker_info.hitpoints] = {} 508 …nder_info.id][attacker_defense][defender_defense][attacker_info.hitpoints][defender_info.hitpoints]
|
/dports/games/frogatto/frogatto-1.3.1/modules/aritest/data/objects/ |
H A D | pacghost.cfg | 39 if(collide_with.team='player' and collide_with_area = 'body', add(collide_with.hitpoints, -1)) 52 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 69 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 86 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 103 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 120 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 137 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)),
|
H A D | pacman.cfg | 78 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 96 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 114 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 132 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 150 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 168 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)), 186 #if(collide_with.team='monster' and collide_with_area = 'body', add(collide_with.hitpoints, -1)),
|
H A D | pang-shot1.cfg | 5 hitpoints: 1, 20 add(me.hitpoints, -1), 24 add(me.hitpoints, -1),
|
/dports/games/wesnoth/wesnoth-1.14.17/data/lua/ |
H A D | feeding.lua | 29 u_killer_cfg.hitpoints = u_killer_cfg.hitpoints + 1 43 u_killer.hitpoints = u_killer.hitpoints + 1
|
/dports/games/frogatto/frogatto-1.3.1/modules/cellular/data/objects/ |
H A D | cel_player.cfg | 9 hitpoints: 50, 48 set(vars.is_wounded,if(hitpoints < (vars.max_hitpoints/5),1,0)), 108 if(vars.energy > 100 and hitpoints < vars.max_hitpoints,[ 110 add(hitpoints,min(10,vars.max_hitpoints-hitpoints)) 114 if(hitpoints > (vars.max_hitpoints/5) and vars.energy < vars.max_energy,[ 115 add(hitpoints,-5),
|
/dports/games/wesnoth/wesnoth-1.14.17/data/core/macros/ |
H A D | traits.cfg | 113 apply_to=hitpoints 137 # Units with trait Quick have +1 movement and 5% less hitpoints. 150 apply_to=hitpoints 182 apply_to=hitpoints 186 apply_to=hitpoints 207 apply_to=hitpoints 211 apply_to=hitpoints 283 apply_to=hitpoints 290 # Units with trait Slow have -1 movement and 5% more hitpoints. 303 apply_to=hitpoints [all …]
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/props/nutty-factory/ |
H A D | arcade_acorn_mixer.cfg | 4 hitpoints: 3, 26 if(me.hitpoints > 1, add(me.hitpoints, -1), set(level.player.hitpoints, 0)) 43 schedule(80, set(level.player.hitpoints, 0))
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/props-interactive/obstacles/ |
H A D | large_breakable_block.cfg | 4 hitpoints: 5, 10 …e: "def(collide_with) execute(me, [add(me.hitpoints, -1),if(hitpoints > 1, set(animation, 'normal'…
|
/dports/games/wesnoth/wesnoth-1.14.17/data/lua/wml/ |
H A D | harm_unit.lua | 98 if unit_to_harm.hitpoints <= damage then 99 if kill == false then damage = unit_to_harm.hitpoints - 1 100 else damage = unit_to_harm.hitpoints 104 unit_to_harm.hitpoints = unit_to_harm.hitpoints - damage 173 if kill ~= false and unit_to_harm.hitpoints <= 0 then 181 if kill ~= false and unit_to_harm.hitpoints <= 0 then
|
H A D | heal_unit.lua | 28 local heal_amount = u.max_hitpoints - u.hitpoints 34 new_hitpoints = math.floor(math.max(1, math.min(u.max_hitpoints, u.hitpoints + heal_amount))) 35 heal_amount = new_hitpoints - u.hitpoints 50 u.hitpoints = new_hitpoints
|
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/scenarios/ |
H A D | scenario-high_xp_attack.cfg | 58 {UNIT 1 (Skeleton) 23 55 (random_traits,experience,hitpoints=no,34,10)} 68 {UNIT 2 (Dwarvish Fighter) 21 29 (random_traits,hitpoints=no,2)} 69 {UNIT 2 (Dwarvish Fighter) 21 30 (random_traits,hitpoints=no,2)} 79 {UNIT 1 (Revenant) 46 41 (random_traits,experience,hitpoints=no,84,25)} 80 {UNIT 2 (Dwarvish Fighter) 35 40 (random_traits,hitpoints=no,7)} 81 {UNIT 2 (Dwarvish Fighter) 43 40 (random_traits,hitpoints=no,18)} 84 {UNIT 1 (Ghoul) 52 55 (random_traits,experience,hitpoints=no,34,16)} 90 {UNIT 1 (Ghoul) 56 55 (random_traits,experience,hitpoints=no,34,24)} 117 …he map, but it is really expected that you add more units and/or change hitpoints and experience u…
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/enemies/milgramen/ |
H A D | bunny_ball_tosser.cfg | 3 hitpoints: 800, 104 hitpoints: 32, 118 on_collide_side: "[ set(hitpoints, hitpoints-1), 122 on_collide_feet: "[ set(hitpoints, hitpoints-1),
|
/dports/dns/p5-Net-DRI/Net-DRI-0.96/lib/Net/DRI/Protocol/EPP/Extensions/EURid/ |
H A D | Registrar.pm | 115 $rinfo->{registrar}->{info}->{hitpoints}={}; 121 $rinfo->{registrar}->{info}->{hitpoints}->{current_number}=0+$cc->textContent(); 124 $rinfo->{registrar}->{info}->{hitpoints}->{maximum_number}=0+$cc->textContent(); 127 … $rinfo->{registrar}->{info}->{hitpoints}->{blocked_until}=$po->parse_iso8601($cc->textContent());
|
/dports/games/wesnoth/wesnoth-1.14.17/data/test/scenarios/ |
H A D | filter_this_unit.cfg | 2 # Note: As an Orcish Grunt without traits, Bob starts with 38 hitpoints. 3 # Thus, the first test sets his hitpoints to 19, and the second test 13 hitpoints="$($this_unit.max_hitpoints / 2)" 19 hitpoints="$($this_unit.max_hitpoints / 2)"
|
/dports/games/wesnoth/wesnoth-1.14.17/data/ai/lua/ |
H A D | retreat.lua | 40 if u.hitpoints < retreat_functions.min_hp(u) then 145 local base_rating = - u.hitpoints + u.max_hitpoints / 2. 158 heal_score = math.min(8, u.max_hitpoints - u.hitpoints) 162 heal_score = math.min(8, u.hitpoints - 1) 169 heal_score = math.min(loc[3], u.max_hitpoints - u.hitpoints) 190 rating = rating + unit_in_way.hitpoints - unit_in_way.max_hitpoints
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/items/ |
H A D | heart_fruit.cfg | 4 …(), sound('AppleCrunch.ogg'), set(level.player.driver, 'hitpoints', level.player.driver.hitpoints … 5 … where diff = min(2, level.player.driver.max_hitpoints - level.player.driver.hitpoints)",
|