- 好友
- 0
- 在线时间
- 0 小时
- 最后登录
- 2024-5-13
随仆
- UID
- 3336352
- 第纳尔
- 2
- 精华
- 0
- 互助
- 1
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2022-3-13
鲜花( 0) 鸡蛋( 0)
|
楼主 |
发表于 2024-3-17 23:48:12
|
显示全部楼层
一楼代码没发好,在这里再发一遍
(
"qishi_zhuanzhi_renwu",mtf_arena_fight|mtf_commit_casualties,-1,
"You enter a melee fight in the arena.",
[
(0, mtef_visitor_source|mtef_team_0,0,aif_start_alarmed,1,[]), #玩家
(16, mtef_visitor_source|mtef_team_1,0,aif_start_alarmed,1,[]), #妖精骑士
],
[
common_inventory_not_available,
(ti_tab_pressed, 0, 0, [(display_message, "str_cannot_leave_now")], []),
(ti_once,0,0,[
(key_is_down ,key_left_control),
(this_or_next|key_clicked,key_h),
(key_clicked,key_f4),
],[(assign,"$zuobi_qishi",10)]),
#作弊检测
(ti_once,10,0,[
],[
(try_begin),
(try_for_agents,":binzhong"),
(agent_get_team,":duiwu",":binzhong"),
(eq,":duiwu",mtef_team_1),
(store_agent_hit_points,":xueliang",":binzhong",1),
(store_add,":xueliang",":xueliang",10),
(agent_set_hit_points,":binzhong",":xueliang",1),
(try_end),
]),
#妖精骑士回血
(ti_once,1, 4, [
(this_or_next|main_hero_fallen),
(num_active_teams_le,1)],
[
(try_begin),
(main_hero_fallen),
(neq,"$zuobi_qishi",10),
(jump_to_menu,""),
(else_try),
(neq,"$zuobi_qishi",10),
(jump_to_menu,""),
(else_try),
(eq,"$zuobi_qishi",10),
(jump_to_menu,"mnu_zhuanzhi_shibai"),
(try_end),
(finish_mission),
]),
]
), |
|