(0.005, 0, 0, [],[
(try_for_agents,":agent"),
(party_get_slot,":fire","p_fire_arrows",":agent"),
(ge,":fire",0),
(assign, ":agent_slot",":agent"),
(party_get_slot,"
","p_x_coordinate",":agent"),
(party_get_slot,":y","p_y_coordinate",":agent"),
(party_get_slot,":z","p_z_coordinate",":agent"),
(party_get_slot,"
vel","p_x_velocity",":agent"),
(party_get_slot,":yvel","p_y_velocity",":agent"),
(party_get_slot,":zvel","p_z_velocity",":agent"),
(val_add,"
","
vel"),
(val_add,":y",":yvel"),
(val_add,":z",":zvel"),
(position_set_x,pos1,"
"),
(position_set_y,pos1,":y"),
(position_set_z,pos1,":z"),
(particle_system_burst, "psys_torch_fire", pos1, 15),
(position_set_z_to_ground_level,pos1),
(position_get_z,":zground",pos1),
(get_player_agent_no,":player_no"),
(agent_get_look_position,pos3,":player_no"),
(get_distance_between_positions,":skull_dist",pos1,pos3),
(try_begin),
(le,":z",":zground"),
(particle_system_burst, "psys_massive_fire", pos1, 15),
(particle_system_burst, "psys_war_smoke_tall", pos1, 15),
(try_for_agents,":agent"),
(neq,":agent",":player_no"),
(neg|agent_is_ally,":agent"),
(agent_is_alive,":agent"),
(agent_get_look_position, pos2, ":agent"),
(get_distance_between_positions,":dist",pos1,pos2),
(lt,":dist",300),
(agent_deliver_damage_to_agent,":player_no",":agent"),
(end_try),
(scene_prop_get_instance,":instance", "spr_explosion", 0),
(position_copy_origin,pos2,pos1),
(prop_instance_set_position,":instance",pos2),
(position_move_z,pos2,1000),
(prop_instance_animate_to_position,":instance",pos2,200),
(party_set_slot,"p_fire_arrows",":agent_slot",-1),
(else_try),
(ge,":skull_dist", 2000),
(particle_system_burst, "psys_massive_fire", pos1, 15),
(particle_system_burst, "psys_war_smoke_tall", pos1, 15),
(try_for_agents,":agent"),
(neq,":agent",":player_no"),
(neg|agent_is_ally,":agent"),
(agent_is_alive,":agent"),
(agent_get_look_position, pos2, ":agent"),
(get_distance_between_positions,":dist",pos1,pos2),
(lt,":dist",300),
(agent_deliver_damage_to_agent,":player_no",":agent"),
(end_try),
(scene_prop_get_instance,":instance", "spr_explosion", 0),
(position_copy_origin,pos2,pos1),
(prop_instance_set_position,":instance",pos2),
(position_move_z,pos2,1000),
(prop_instance_animate_to_position,":instance",pos2,200),
(party_set_slot,"p_fire_arrows",":agent_slot",-1),
(else_try),
(party_set_slot,"p_x_coordinate",":agent","
"),
(party_set_slot,"p_y_coordinate",":agent",":y"),
(party_set_slot,"p_z_coordinate",":agent",":z"),
(val_sub,":zvel",1),
(party_set_slot,"p_z_velocity",":agent",":zvel"),
(end_try),
(end_try),]),