Searched refs:lichDist (Results 1 – 1 of 1) sorted by relevance
1910 real_t lichDist = 0.f; in actMonster() local2012 lichDist = sqrt(pow(my->x - target->x, 2) + pow(my->y - target->y, 2)); in actMonster()2104 else if ( lichDist > 64 ) in actMonster()2154 else if ( (lichDist < 32) || (enemiesInMelee > 1) ) in actMonster()2188 else if ( lichDist > 64 ) in actMonster()2284 lichDist = 1024; in actMonster()2289 && (sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)) < lichDist) in actMonster()2292 lichDist = sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)); in actMonster()2312 lichDist = 1024; in actMonster()2317 && (sqrt(pow(my->x - tempEntity->x, 2) + pow(my->y - tempEntity->y, 2)) < lichDist) in actMonster()[all …]