Searched refs:atk2 (Results 1 – 6 of 6) sorted by relevance
678 const char *atk2 = action_info[action].atk_2; in UpdateAttacks() local694 assert(! atk2); in UpdateAttacks()711 if (atk2) in UpdateAttacks()713 assert(strlen(atk2) >= 3); in UpdateAttacks()714 assert(atk2[1] == ':'); in UpdateAttacks()716 kind2 = (atk2[0] == 'R') ? RANGE : (atk2[0] == 'C') ? COMBAT : SPARE; in UpdateAttacks()718 atk2 += 2; in UpdateAttacks()728 if (atk2) in UpdateAttacks()729 attack_slot[kind2] = atk2; in UpdateAttacks()748 if (atk1 && atk2) in UpdateAttacks()[all …]
150 return std::find_if(u.attacks().begin(), u.attacks().end(), [&atk](const attack_type& atk2) { in get_attack_iter() argument151 return &atk2 == atk.get(); in get_attack_iter()179 if(const_attack_ptr atk2 = luaW_toweapon(L, 3)) { in impl_unit_attacks_set() local181 atk = u.add_attack(end, *atk2); in impl_unit_attacks_set()183 iter.base()->reset(new attack_type(*atk2)); in impl_unit_attacks_set()
327 static long *atk1, *atk2; variable1000 || (atk2[u] == 0)) in BRLscan()1013 if ((atk2[pin] == 0) in BRLscan()1071 if ((atk1[u] == 0) || ((atk2[u] & CNT_MASK) != 0)) \1135 if (atk2[u] & control[p]) in KingScan()1178 if (atk2[u] > atk1[u]) in KingScan()1182 if (atk2[u] & ctlSG) in KingScan()1244 if ((atk2[u] == 0) || ((*value)[stage][board[u]] >= rvalue)) in trapped()1398 if ((atk2[csquare(c1, 52)] & CNT_MASK) < 2) in PawnValue()1899 a2 = atk2[sq]; in PieceValue()[all …]
336 const auto atk2 = i2 ? i2->atk_points1 : 0; in testWeapon3() local365 CAPTURE(atk2); in testWeapon3()369 REQUIRE_EQ(a->GetBaseAtk(wid), 11 + atk1 + atk2 + atkA); in testWeapon3()
5004 atk2 臢