("get_power_skill_fix",
[
(store_script_param_1, ":pow_level"),
(store_script_param_2, ":skill"),
(assign, ":pd_level_fix", 10000),
(try_begin),
(eq, ":skill", skl_power_draw),
(store_mul, ":level_fix_point", ":pow_level", 1200),
(else_try),
(eq, ":skill", skl_power_throw),
(store_mul, ":level_fix_point", ":pow_level", 1000),
(try_end),
(val_mul, ":level_fix_point", 10000),
(store_sqrt, ":pd_level_fix", ":level_fix_point"),
(assign, reg0, ":pd_level_fix"),
]
("get_skill_h_archer_fix",
[
(store_script_param_1, ":h_archery_level"),
(assign, ":h_a_l_fix", 9950),
(store_mul, ":skill", ":h_archery_level", 100),
(val_sub, ":h_a_l_fix", ":skill"),
(assign, reg0, ":h_a_l_fix"),
]
|