597p9rwqtl 发表于 2023-10-23 12:41:44

[HERO引擎] 挑战功能的设置方法

挑战功能的设置方法


功能:挑战功能



说明:

      没有等级限制,只在双方面对面,即可挑战,挑战时间5分钟,

在挑战时间内没有分出胜负的,直接随机传送.

      增加地图参数 FIGHT4 (挑战地图),此参数禁止召唤英雄,死亡不掉落物品,不增加PK值.      

      M2\查看\列表信息 中可设置禁止挑战的物品.

      挑战时双方都不可以使用英雄,所有药品

      挑战胜,所有之前押的物品归胜方所有



相关脚本命令:

      功能:移动到挑战地图

      格式:CHALLENGMAPMOVE 地图名 X Y



示例:

功能:没有挑战地图可移动,则退回抵押的物品

格式:GETCHALLENGEBAKITEM



//----------------------------------------------------------------------

QFunction-0.txt 文件



[@Challenge]

#IF

CHECKMAPHUMANCOUNT EM029A = 0

#ACT

CHALLENGMAPMOVE EM029A 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029B = 0

#ACT

CHALLENGMAPMOVE EM029B 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029C = 0

#ACT

CHALLENGMAPMOVE EM029C 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029D = 0

#ACT

CHALLENGMAPMOVE EM029D 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029E = 0

#ACT

CHALLENGMAPMOVE EM029E 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029F = 0

#ACT

CHALLENGMAPMOVE EM029F 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029G = 0

#ACT

BREAK

CHALLENGMAPMOVE EM029G 14 15

#IF

CHECKMAPHUMANCOUNT EM029H = 0

#ACT

CHALLENGMAPMOVE EM029H 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029I = 0

#ACT

CHALLENGMAPMOVE EM029I 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029J = 0

#ACT

CHALLENGMAPMOVE EM029J 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029K = 0

#ACT

CHALLENGMAPMOVE EM029K 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029L = 0

#ACT

CHALLENGMAPMOVE EM029L 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029M = 0

#ACT

CHALLENGMAPMOVE EM029M 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029N = 0

#ACT

CHALLENGMAPMOVE EM029N 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029O = 0

#ACT

CHALLENGMAPMOVE EM029O 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029P = 0

#ACT

CHALLENGMAPMOVE EM029P 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029Q = 0

#ACT

CHALLENGMAPMOVE EM029Q 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029R = 0

#ACT

CHALLENGMAPMOVE EM029R 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029S = 0

#ACT

CHALLENGMAPMOVE EM029S 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029T = 0

#ACT

CHALLENGMAPMOVE EM029T 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029U = 0

#ACT

CHALLENGMAPMOVE EM029U 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029V = 0

#ACT

CHALLENGMAPMOVE EM029V 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029W = 0

#ACT

CHALLENGMAPMOVE EM029W 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029X = 0

#ACT

CHALLENGMAPMOVE EM029X 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029Y = 0

#ACT

CHALLENGMAPMOVE EM029Y 14 15

BREAK

#IF

CHECKMAPHUMANCOUNT EM029Z = 0

#ACT

CHALLENGMAPMOVE EM029Z 14 15

BREAK

#IF

#ACT

goto @Challenge_Fail





[@Challenge_Fail]

#IF

#ACT

GETCHALLENGEBAKITEM

#SAY

当前地图人数已经满员!请稍后再试,谢谢!\



;挑战胜利者执行..

[@Challenge_Win]

#IF

#ACT

SendMsg 5 挑战胜利..

-------------------------------------------------------------------------------

MapInfo.txt文件



NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG

专属神器 发表于 2023-11-20 17:00:30

在这里可以学到很多传奇一条龙开区时遇到的问题。

羽国沉默 发表于 2023-11-20 19:10:54

这个帖子不回对不起自己!

硬汉归来 发表于 2023-11-20 19:25:14

比较全的传奇教程分享网站,站长辛苦了。

龙牌沉默 发表于 2023-11-21 00:52:33

感谢楼主提供这么好的论坛」

浪剑传说 发表于 2023-11-21 04:26:23

感谢楼主提供这么好的论坛!

麒麟火龙 发表于 2023-11-21 05:23:23

新手上路不用愁,碰到传奇架设问题可以来这搜索。

星王合击 发表于 2023-11-21 09:37:49

这个帖子不回对不起自己!

青妖专属 发表于 2023-11-21 09:46:42

很多架设问题在这里可以找到,真是太好啦。

牛家村专属 发表于 2023-11-21 10:33:19

这东西我收了!
页: [1] 2 3 4
查看完整版本: 挑战功能的设置方法