sp_2hands_overjump_bash_1 = (
1, 0, 0,
[
(eq, "$sp_2hands_overjump_bash", 1),
##(key_clicked, key_left_alt),
( key_is_down, key_left_alt),
(val_max, ":timer", 0),
],
[
(get_player_agent_no, ":agent"),
#(agent_is_active, ":agent"),
#(agent_is_alive, ":agent"),
(neg|agent_slot_ge, ":agent", sp_agent_2hands_overjump_bash_timer, 1), ###### - таймер на каст
(agent_get_wielded_item, ":item", ":agent", 0), #Offhand.
(gt, ":item", 0),
(item_get_type, ":type", ":item"),
(eq, ":item", "itm_2hendtwohandetristy",), #Poisk Predmeta dlya ispolzovaniya
(agent_get_defend_action, ":action", ":agent"),
(eq, ":action", 2), #Blocking.
(agent_get_horse, ":horse", ":agent"),
(eq, ":horse", -1), #No horse.
(try_begin),
(position_move_x, pos1,27),
(spawn_missile, ":agent", pos0, 90, "itm_2hendtwohandetristy", "itm_2hendtwohandetristy", 0, 0),
# (spawn_missile, ":agent", pos0, 90, "itm_2hendtwohandetristy", "itm_elven_ice_storm_arrows_missile" 0, 0),
# (spawn_missile, ":agent", pos0, 90, "itm_2hendtwohandetristy", "itm_elven_ice_storm_arrows_missile" 0, 0),
(try_end), (agent_get_troop_id, ":troop", ":agent"),
(troop_get_type, ":type", ":troop"),
(try_begin),
(eq, ":type", tf_male),
(agent_play_sound, ":agent", "snd_hummenstr_yell"),
(else_try),
(eq, ":type", tf_female),
(agent_play_sound, ":agent", "snd_woman_yell"),
(try_end),
(agent_set_slot, ":agent", sp_agent_2hands_overjump_bash_timer, 1 ), ## тут тоже таймер только не пойму не приромню зачем он тут ..

(agent_set_animation, ":agent", "anim_2hnd_strike_jump_start"), #Anima_atack!!!
(agent_play_sound, ":agent", "snd_metal_hit_low_armor_low_damage"), ##Ozvu4ka
(try_end),
])