核心提示:脚本为60天签到脚本、不断签,每10天奖励一次额外物品,每次签到可抽奖、抽奖物品在签到抽奖.txt 文件里修改,文件具体位置请查看脚本内容。...
脚本为60天签到脚本、不断签,每10天奖励一次额外物品,每次签到可抽奖、抽奖物品在 签到抽奖.txt 文件里修改,文件具体位置请查看脚本内容。
1、Market_Def文件夹增加文件夹:特殊系统,并创建[签到].txt
2、在QuestDiary文件夹增加:每日签到 文件夹,并创建3个TXT文件(如下图):
3、MerChant 为NPC添加
【新加NPC】/签到 3 332 338 特殊系统\[签到] 0 12 0
4、签到NPC的脚本内容如下:
[@main]
#IF
CHECKVAR HUMAN 签到天数 > 60
#ACT
reset [321] 6
CALCVAR HUMAN 签到天数 = 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
#IF
CHECKVAR HUMAN 签到天数 = 10
check [321] 0
#ACT
set [321] 1
set [322] 0
set [323] 0
set [324] 0
set [325] 0
set [326] 0
goto @奖励1
#IF
CHECKVAR HUMAN 签到天数 = 20
check [322] 0
#ACT
set [321] 1
set [322] 1
set [323] 0
set [324] 0
set [325] 0
set [326] 0
goto @奖励2
#IF
CHECKVAR HUMAN 签到天数 = 30
check [323] 0
#ACT
set [322] 1
set [322] 1
set [323] 1
set [324] 0
set [325] 0
set [326] 0
goto @奖励3
#IF
CHECKVAR HUMAN 签到天数 = 40
check [324] 0
#ACT
set [322] 1
set [322] 1
set [323] 1
set [324] 1
set [325] 0
set [326] 0
goto @奖励4
#IF
CHECKVAR HUMAN 签到天数 = 50
check [325] 0
#ACT
set [322] 1
set [322] 1
set [323] 1
set [324] 1
set [325] 1
set [326] 0
goto @奖励5
#IF
CHECKVAR HUMAN 签到天数 = 60
check [326] 0
#ACT
set [322] 1
set [322] 1
set [323] 1
set [324] 1
set [325] 1
set [326] 1
goto @奖励6
#IF
CHECKLEVELEX > 20
#SAY
<每日签到获得经验奖励哦/SCOLOR=151>\
<---------------------------------------------------------/SCOLOR=13>\
<签到奖励:/SCOLOR=116><每天奖励5万点经验,每10天额外奖励物品。/SCOLOR=253>\
<---------------------------------------------------------/SCOLOR=13>\
<抽奖奖励:/SCOLOR=116><每日签到有一定机率抽取物品/SCOLOR=146>\
<---------------------------------------------------------/SCOLOR=13>\
<签到提示:/SCOLOR=116><每日限签到一次,夜0点过后可重新签到,每60天重置/SCOLOR=253>\
<---------------------------------------------------------/SCOLOR=13>\
<今日签到:/SCOLOR=116> <每日签到/@每日签到> <签到奖励/@签到奖励> <已经签到:/SCOLOR=158><$HUMAN(签到天数)><天/SCOLOR=158> \
<---------------------------------------------------------/SCOLOR=13>\
[@签到天数]
#IF
CHECKVAR HUMAN 签到天数 > 0
#SAY
\
你当前的签到天数为:<$HUMAN(签到天数)>天.加油再接再励.\
<关闭/@exit> \
#elsesay
\
勇士,你签到次数为0天.\
<关闭/@exit> \
[@签到奖励]
-------------------------------------------------------------\
<签到10天奖励:5元宝/SCOLOR=253> 等级大于40可领取\
<签到20天奖励:20元宝/SCOLOR=151> 等级大于41可领取\
<签到30天奖励:20元宝 金条/SCOLOR=253> 等级大于42可领取\
<签到40天奖励:100元宝 金条/SCOLOR=151> 等级大于43可领取\
<签到50天奖励:100元宝 金条 金条/SCOLOR=253> 等级大于44可领取\
<签到60天奖励:500元宝/SCOLOR=151> 等级大于45可领取\
-------------------------------------------------------------\
签到天数达到奖励要求后关闭对话框再次打开即可领取 <离开/@exit>\
[@每日签到]
#IF
dayofweek sun
check [311] 0
#ACT
set [311] 1
set [312] 0
set [313] 0
set [314] 0
set [315] 0
set [316] 0
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
ADDNAMELIST ..\QuestDiary\每日签到\签到名单.txt
messagebox 签到天数成功,当前的签到天数为<$HUMAN(签到天数)>天.
break
#IF
dayofweek mon
check [312] 0
#ACT
set [311] 1
set [312] 1
set [313] 0
set [314] 0
set [315] 0
set [316] 0
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
ADDNAMELIST ..\QuestDiary\每日签到\签到名单.txt
messagebox 签到天数成功,当前的签到天数为<$HUMAN(签到天数)>天.
break
#IF
dayofweek tue
check [313] 0
#ACT
set [311] 1
set [312] 1
set [313] 1
set [314] 0
set [315] 0
set [316] 0
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
ADDNAMELIST ..\QuestDiary\每日签到\签到名单.txt
messagebox 签到天数成功,当前的签到天数为<$HUMAN(签到天数)>天.
break
#IF
dayofweek wed
check [314] 0
#ACT
set [311] 1
set [312] 1
set [313] 1
set [314] 1
set [315] 0
set [316] 0
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
ADDNAMELIST ..\QuestDiary\每日签到\签到名单.txt
messagebox 签到天数成功,当前的签到天数为<$HUMAN(签到天数)>天.
break
#IF
dayofweek thu
check [315] 0
#ACT
set [311] 1
set [312] 1
set [313] 1
set [314] 1
set [315] 1
set [316] 0
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt
ADDNAMELIST ..\QuestDiary\每日签到\签到名单.txt
messagebox 签到天数成功,当前的签到天数为<$HUMAN(签到天数)>天.
break
#IF
dayofweek fri
check [316] 0
#ACT
set [311] 1
set [312] 1
set [313] 1
set [314] 1
set [315] 1
set [316] 1
set [317] 0
goto @奖励
CHANGEEXP + 50000
CALCVAR HUMAN 签到天数 + 1
SAVEVAR HUMAN 签到天数 ..\QuestDiary\每日签到\签到变量.txt