全NPC多重箭:除数是5,所以15/5=3,一下最多发4根箭,然后有6个NPC除数是1,即发15+1=16更箭的。
(store_trigger_param_1,":var_0"),
(try_begin),
(assign,":var_5",0),
(assign,":var_3",0),
(agent_get_troop_id,":var_1",":var_0"),
(try_begin),
(eq,":var_1","trp_npc_ansen"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_leslie"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_adonja"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_lethaldiran"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_kassim"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_riva"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_rayne"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_alistair"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_jocelyn"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_julia"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_frederick"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_ediz"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_diev"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_donavan"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_sara"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_alyssa"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_roland"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_npc_kaverra"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(try_begin),
(eq,":var_1","trp_npc_sigismund"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(assign,":var_5",":var_21"),
(else_try),
(eq,":var_1","trp_npc_boadice"),
(2170,":var_21","skl_33",":var_1"),
(assign,":var_3",1),
(store_div,":var_5",":var_21",5),
(else_try),
(eq,":var_1","trp_player"),
(2170,":var_21","skl_33",":var_1"),
(store_div,":var_5",":var_21",5),
(try_end),
(ge,":var_5",1),
(1726,":var_2",":var_0"),
(get_player_agent_no,":var_4"),
(assign,":var_7","itm_no_item"),
(try_for_range_backwards,":var_8",0,4),
(1804,":var_9",":var_0",":var_8"),
(try_begin),
(eq,":var_9",":var_2"),
(1542,":var_10",":var_1",":var_8"),
(else_try),
(this_or_next|is_between,":var_9","itm_book_heretic","itm_book_noldor_3"),
(this_or_next|is_between,":var_9","itm_practice_arrows","itm_practice_bolts_9_amount"),
(eq,":var_9","itm_dshar_heavy_scale"),
(try_begin),
(assign,":var_7",":var_9"),
(try_begin),
(ge,":var_3",1),
(1825,":var_16",":var_0",":var_8"),
(val_add,":var_16",1),
(1776,":var_0",":var_9",":var_16"),
(try_end),
(try_end),
(try_end),
(eq,":var_9",":var_2"),
(try_end),
(try_begin),
(eq,":var_7","itm_no_item"),
(assign,":var_7","itm_practice_arrows"),
(try_end),
(ge,":var_5",1),
(copy_position,pos20,pos1),
(1506,":var_17",":var_1"),
(set_fixed_point_multiplier,100),
(assign,":var_19",9200),
(item_get_slot,":var_20",":var_2",47),
(val_mul,":var_20",38),
(val_add,":var_19",":var_20"),
(2170,":var_21","skl_33",":var_1"),
(val_mul,":var_21",100),
(val_add,":var_19",":var_21"),
(2176,":var_22",":var_1",3),
(val_mul,":var_22",10),
(val_add,":var_19",":var_22"),
(try_for_range,":var_8",0,":var_5"),
(agent_get_look_position,pos3,":var_0"),
(copy_position,pos2,pos1),
(718,2,3),
(store_random_in_range,":var_6",0,21),
(store_sub,":var_6",10,":var_6"),
(position_move_x,pos2,":var_6"),
(store_random_in_range,":var_6",0,21),
(store_sub,":var_6",10,":var_6"),
(position_move_z,pos2,":var_6"),
(store_random_in_range,":var_6",0,2),
(store_sub,":var_6",1,":var_6"),
(725,2,":var_6"),
(store_random_in_range,":var_6",0,2),
(store_sub,":var_6",1,":var_6"),
(723,2,":var_6"),
(1829,":var_0",2,":var_19",":var_2",":var_10",":var_7",0),
(try_end),
(try_end),
|