Hello guys, i need add the restocking script to my scriptset, i tried some codes but they dont work, how can i add this script at module system? (Sorry for bad language)
The admin scalpel codes are here.
The admin scalpel codes are here.
Code:
(else_try),
(eq, ":weapon_item_id", "itm_admin_scalpel"),
(try_begin),
(agent_get_troop_id, ":attacker_troop_id", ":attacker_agent_id"),
(eq, ":attacker_troop_id", "trp_godlike_hero"),
(agent_set_hit_points, ":attacked_agent_id", 100, 0),
(assign, ":damage_result", 0),
(call_script, "script_cf_clean_blood", ":attacked_agent_id"),
(try_end),