Unkreed
Recruit
Hello! Please help me, I can’t figure it out, I installed the module system, inserted the script into "module_mission_templates.py", but I can’t understand where to write these values "common_battle_tab_press, regeneration," in the "mission_templates.txt" file. I already entered the values, but nothing comes out, the game crashes. Please tell me what to do next?
Script found here: https://forums.taleworlds.com/index.php?threads/health-regeneration.65521/
Script:
regeneration = (1, 0, 1,[(neg|main_hero_fallen)], [
(get_player_agent_no, ":player_agent"),
(store_agent_hit_points,":life",":player_agent",1),
(val_add,":life",1),
(agent_set_hit_points,":player_agent",":life",1),
])
then added to all necessary missions like this:
common_battle_tab_press,
regeneration,
Script found here: https://forums.taleworlds.com/index.php?threads/health-regeneration.65521/
Script:
regeneration = (1, 0, 1,[(neg|main_hero_fallen)], [
(get_player_agent_no, ":player_agent"),
(store_agent_hit_points,":life",":player_agent",1),
(val_add,":life",1),
(agent_set_hit_points,":player_agent",":life",1),
])
then added to all necessary missions like this:
common_battle_tab_press,
regeneration,
Last edited: