Loading function for Ranged_attack