if((get_sfall_global_int("perk0187") == 1) and (get_kill_counter(Kill_Type_Aliens) > get_sfall_global_int("kills_16"))) or ((get_sfall_global_int("perk0187") == 0) and (metarule3(103,KILL_TYPE_alien_kills,0,0) > get_sfall_global_int("kills_16"))) then
begin
if(get_sfall_global_int("perk0187") == 0) then
begin
set_sfall_global("kills_16", metarule3(103,KILL_TYPE_alien_kills,0,0));
end
else
if(get_sfall_global_int("perk0187") == 1) then
begin
set_sfall_global("kills_16", get_kill_counter(Kill_Type_Aliens));
end
set_sfall_global("perk1944", (get_sfall_global_int("perk1944") + 1));
if(not(has_fake_perk(AlienExpert))) then
begin
if(get_sfall_global_int("perk1944") == get_sfall_global_int("perk1842")) then
begin
float_msg(dude_obj, "You are eligable for the Perk " + AlienExpert, 9);
end
end
else
if(has_fake_perk(AlienExpert)) then
begin
give_exp_points(get_sfall_global_int("perk1815"));
display_msg("You gain " + get_sfall_global_int("perk1815") + " experience from " + AlienExpert +" perk.");
end
//display_msg("kill count Alien " + get_sfall_global_int("kills_16") + " kill count global " + get_sfall_global_int("perk1944") + " kill needed " + get_sfall_global_int("perk1842"));
end
if((get_sfall_global_int("perk0187") == 1) and (get_kill_counter(Kill_Type_Giant_Ants) > get_sfall_global_int("kills_17"))) or ((get_sfall_global_int("perk0187") == 0) and (metarule3(103,KILL_TYPE_giant_ant_kills,0,0) > get_sfall_global_int("kills_17"))) then
begin
if(get_sfall_global_int("perk0187") == 0) then
begin
set_sfall_global("kills_17", metarule3(103,KILL_TYPE_giant_ant_kills,0,0));
end
else
if(get_sfall_global_int("perk0187") == 1) then
begin
set_sfall_global("kills_17", get_kill_counter(Kill_Type_Giant_Ants));
end
set_sfall_global("perk1945", (get_sfall_global_int("perk1945") + 1));
if(not(has_fake_perk(AntExpert))) then
begin
if(get_sfall_global_int("perk1945") == get_sfall_global_int("perk1871")) then
begin
float_msg(dude_obj, "You are eligable for the Perk " + AntExpert, 9);
end
end
else
if(has_fake_perk(AntExpert)) then
begin
give_exp_points(get_sfall_global_int("perk1844"));
display_msg("You gain " + get_sfall_global_int("perk1844") + " experience from " + AntExpert +" perk.");
end
//display_msg("kill count Ant " + get_sfall_global_int("kills_17") + " kill count global " + get_sfall_global_int("perk1945") + " kill needed " + get_sfall_global_int("perk1871"));
end