传奇挑战功能脚本代码

[复制链接]
查看1855 | 回复28 | 2015-9-22 22:12:44 | 显示全部楼层 |阅读模式
本帖最后由 GMbb8论坛 于 2015-9-24 21:28 编辑

没有等级限制,只在双方面对面,即可挑战,挑战时间5分钟,在挑战时间内没有分出胜负的,直接随机传送,并提示 时间到,未分出胜负(蓝底白字)
增加地图参数 FIGHT4 (挑战地图)
注:需加禁止召唤英雄(NOCALLHERO),禁止使用物品,死亡不掉装备(NODROPITEM),退进游戏时退出本地图NORECONNECT 参数一起使用

2:对能正常交易的物品是可以的,非法和禁锢物品是不可以的了

出挑战地图后,生命值,魔法值全回满

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

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

功能:挑战地图移动
格式: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
当前地图还存在人数已经满员!请稍后再试,谢谢!\
-------------------------------------------------------------------------------
MapInfo.txt文件

[EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029A|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029B|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029C|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029D|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029E|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029F|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029G|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029H|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG
[EM029I|EM029 挑战] NOCALLHERO NORECALL NOGUILDRECALL NODEARRECALL NOMasterRECALL NORANDOMMOVE RUNHUMAN NORECONNECT(0159) FIGHT4 NODRUG



上一篇:传奇洒馆二卷脚本
下一篇:传奇自动寻路脚本代码
asdas123 | 2015-9-26 14:35:09 | 显示全部楼层
站位支持
ewtxvjiemfs | 2023-8-31 19:34:42 | 显示全部楼层
他也玩传奇资源下载网站版本
yj322322 | 2023-8-31 19:41:20 | 显示全部楼层
找了很久,终于找到这个了!
cxoywjgbsdo | 2023-8-31 21:11:54 | 显示全部楼层
他也玩传奇网站1.76小极品
eolopcoro | 2023-8-31 21:58:06 | 显示全部楼层
传奇他也玩资源论坛sf版本
hwczwkkwqwz | 2023-8-31 22:20:05 | 显示全部楼层
他也玩传奇资源网站游戏截图
iycxzgddxtv | 2023-8-31 22:47:51 | 显示全部楼层
他也玩gm资源论坛,单职业服务端下载
oligifo | 2023-9-1 00:40:36 | 显示全部楼层
他也玩传奇资源下载私服网站
hzyxxhggexv | 2023-9-1 01:23:37 | 显示全部楼层
他也玩传奇论坛热血传奇图片真多!
懒得打字嘛,点击右侧快捷回复 快捷回复框
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则