- 好友
- 0
- 在线时间
- 0 小时
- 最后登录
- 2024-2-22
平民
- UID
- 2739658
- 第纳尔
- 78
- 精华
- 0
- 互助
- 0
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2016-4-13
鲜花( 0) 鸡蛋( 0)
|
发表于 2024-1-22 17:08:21
来自手机
|
显示全部楼层
请问“第三处是快速战斗”指的是哪个场景,我在领军者源码module_mission_templates.py里找到这段代码,这个应该是补充弹药的源码,把(neq, ":cur_agent", ":player_agent"),这行代码注掉就行吧
- common_siege_refill_ammo = (
- 120, 0, 0, [],
- [#refill ammo of defenders every two minutes.
- (get_player_agent_no, ":player_agent"),
- (try_for_agents,":cur_agent"),
- (neq, ":cur_agent", ":player_agent"),
- (agent_is_alive, ":cur_agent"),
- (agent_is_human, ":cur_agent"),
- ## (agent_is_defender, ":cur_agent"),
- (agent_get_team, ":agent_team", ":cur_agent"),
- (this_or_next|eq, ":agent_team", "$defender_team"),
- (eq, ":agent_team", "$defender_team_2"),
- (agent_refill_ammo, ":cur_agent"),
- (try_end),
- ])
复制代码 |
|