Idibil said:
("get_troop_max_hp", #myone add level?
[
(store_script_param_1, ":troop"),
(store_skill_level, ":skill", skl_ironflesh, ":troop"),
(store_attribute_level, ":attrib", ":troop", ca_strength),
(store_character_level, ":level", ":troop"), #my addition
(val_mul, ":skill", 2),
(val_add, ":skill", ":attrib"),
(val_add, ":skill", ":level"), #my addition
(val_add, ":skill", 35),
(assign, reg0, ":skill"),
]),
[party_tpl|pt_manhunters|plyr,"manhunter_talk_b", [], "Kiss my arse.", "manhunter_talk_b4",[]],
[party_tpl|pt_manhunters,"manhunter_talk_b4", [], "How dare you! Prepare to die.", "close_window",
#[[encounter_attack]]],
[(call_script, "script_diplomacy_party_attacks_neutral", "p_main_party", "$g_encountered_party"),
(store_relation,":rel", "$g_encountered_party_faction","fac_player_supporters_faction"),
(try_begin),
(gt, ":rel", 0),
(val_sub, ":rel", 0), #rep loss irrelevant here
(try_end),
(val_sub, ":rel", 1), #reputation with manhunters loss
(call_script, "script_set_player_relation_with_faction", "$g_encountered_party_faction", ":rel"),
(assign,"$encountered_party_hostile",1),
(assign,"$encountered_party_friendly",0),
]],