您当前的位置:首页 > 传奇技术

传奇私服Hero引擎游戏副本脚本编写事例

本文出处:网游动力作者:本站发布时间:2011-05-05阅读次数:

[@main]
#say
|
你好,我这里是副本传送员
在我这里每天可以进去刷一次副本
里边可以刷到大量的元宝和赤月装备
我这里完全免费,你可以放心
 
<我今天还没刷呢/@go> <不打扰你了,刷过了/@gun>

<温馨提示:杀死10个怪,将会随机获得赤月装备或武器一件>

[@gun]
#if
#act
close

[@go]
#IF
check [120] 0
dayofweek sun
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 1
set [121] 0
set [122] 0
set [123] 0
set [124] 0
set [125] 0
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [121] 0
dayofweek mon
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 1
set [122] 0
set [123] 0
set [124] 0
set [125] 0
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [122] 0
dayofweek tue
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 0
set [122] 1
set [123] 0
set [124] 0
set [125] 0
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [123] 0
dayofweek wed
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 0
set [122] 0
set [123] 1
set [124] 0
set [125] 0
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [124] 0
dayofweek thu
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 0
set [122] 0
set [123] 0
set [124] 1
set [125] 0
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [125] 0
dayofweek fri
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 0
set [122] 0
set [123] 0
set [124] 0
set [125] 1
set [126] 0
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
break

#IF
check [126] 0
dayofweek sat
#ACT
mapmove fuben 13 16
give 回城卷 1
set [120] 0
set [121] 0
set [122] 0
set [123] 0
set [124] 0
set [125] 0
set [126] 1
SETONTIMER 0 1
GuildNoticeMsg 250 252 玩家<%s>进入了副本地图,祝他刷好多元宝回来!
#elseact
messagebox 对不起,今天你已经刷过了副本了吧?