定时全区弹窗脚本.txt:
/
/
对应自定义定时任务 upgrade
procedure _upgrade;
begin
if
( GetHour
=
19
)
and
(GetMin
=
30
) then
begin
if
CompareText(This_Player.MapName,
'0139~22'
) <>
0
then
begin
This_Player.PlayerNotice(
'DTP=tm:tianjiang'
,
5
);
end;
end;
if
(( GetHour
=
9
)
or
(GetHour
=
13
)
or
( GetHour
=
19
))
and
(GetMin
=
00
) then
begin
if
CompareText(This_Player.MapName,
'0139~22'
) <>
0
then
begin
This_Player.PlayerNotice(
'DTP=tm:jiqing'
,
5
);
end;
end;
givefenghao;
This_player.RepairBodyEquip(
12
);
/
/
This_Player.SetS(
1
,
50
,
0
);
/
/
避免出现切割bug
/
/
This_Player.SetS(
1
,
10
,
0
);
/
/
避免出现切割bug
end;
定时全区弹窗脚本.txt 在npc里面添加下去
This_Player.PlayerNotice('DTP=tm:tianjiang',5);
这个好像是读取tianjiang.json 然后弹窗给玩家
暂无评论内容