(assign, reg35, -1),
(assign, reg36, -1),
(try_begin),
(neg|ge, "$event_rand_1b", 30),
(else_try),
(neg|ge, "$event_rand_1b", 35),
(assign, reg35, "trp_iron_circle_centurian"),
(else_try),
(neg|ge, "$event_rand_1b", 40),
(assign, reg35, "trp_empire_guardian_knight"),
(else_try),
(neg|ge, "$event_rand_1b", 45),
(assign, reg35, "trp_valdis_huscarl"),
(else_try),
(neg|ge, "$event_rand_1b", 50),
(assign, reg35, "trp_veccavi_uncut"),
(else_try),
(neg|ge, "$event_rand_1b", 55),
(assign, reg35, "trp_iceguard_ranger"),
(else_try),
(neg|ge, "$event_rand_1b", 60),
(assign, reg35, "trp_noldor_hunter"),
(else_try),
(neg|ge, "$event_rand_1b", 68),
(assign, reg35, "trp_marleons_cavalry"),
(else_try),
(neg|ge, "$event_rand_1b", 76),
(assign, reg35, "trp_dshar_djaha"),
(else_try),
(neg|ge, "$event_rand_1b", 84),
(assign, reg35, "trp_dshar_deathwind"),
(else_try),
(neg|ge, "$event_rand_1b", 92),
(assign, reg35, "trp_red_fletcher_renegade"),
(else_try),
(assign, reg35, "trp_vanskery_agnus_freebooters"),
(try_end),
(try_begin),
(neg|ge, "$event_rand_1b", 60),
(store_mod, ":var_0", "$event_rand_1a", 3),(请问这一句怎么解释?)
(val_add, ":var_0", 2),
(val_clamp, ":var_0", 2, 5),
(else_try),
(store_mod, ":var_0", "$event_rand_1a", 4),
(val_add, ":var_0", 3),
(val_clamp, ":var_0", 3, 7),
(try_end),
(assign, reg36, ":var_0"),
(try_begin),
(eq, reg35, -1),
(assign, ":var_1", 1000),
(else_try),
(call_script, "script_game_get_join_cost_selectable", reg35, 125, 100),(请问这一句怎么解释?特别是125和100,代表什么)
(store_mul, ":var_1", reg0, ":var_0"),
(try_end),
(store_mod, ":var_2", "$event_rand_0", 31),
(val_abs, ":var_2"),
(val_add, ":var_2", 0),
(val_clamp, ":var_2", 0, 31),
(assign, ":var_3", "$event_rand_0"),
(val_abs, ":var_3"),
(try_begin),
(neg|ge, ":var_3", 50),
(store_sub, ":var_2", 100, ":var_2"),
(else_try),
(store_add, ":var_2", 100, ":var_2"),
(try_end),
(val_mul, ":var_1", ":var_2"),
(val_div, ":var_1", 100),
(assign, reg37, ":var_1"),这些红色部分实在是搞不懂。
望大佬们不吝赐教,好人一生平安!
|