- 游戏资料
- 百度网盘不限速版 4月前
- 降魔2顶v修改教程 2022-11-17
- 钓鱼脚本+素材 2023-7-24
- 多机多区网关配置。。 2020-7-1
- 战神引擎
- V8
- lua
- 传奇
- 脚本
- 安卓
- Linux
- 天花板
- 冰雪
- 手工端
- 手游
- 数据库
- 系统
- unity
- 666
- 游戏
- 传奇3
- 单机
- zircon
- 176
- 复古
- 野径云俱黑赶快
- 群服
- CentOS
- 特色
- 存档
- 破解版
- 问题
- 盘古
- 白猪
- 离线版
- 话题
- 图片
- 格式
- 沉默
- 光芒引擎
- 说明书
- 富士康
- iPhone
- 君临
- 阅读
- 小说
- 水晶传奇
- Controller
- 代码
- TeamViewer
- 向日葵
- 新春
- 真三国
- sql
- 攻略
- 雷神
- Gee
- 情怀
- 魔兽
- 单机传奇
- 酷狗
- 下载
- 探秘
- 3proxy
- 登录
- sxg
- 丛林肉搏
- 原神
- 第一版
- 苹果
- XO引擎
- socks5
- 硬盘
- 检测
- 翻墙
- 黑神话
- 黑神话悟空
- 热血传奇
- 客户端
1558
0
0
返回
战神引擎-自动修理装备
夜
发布于 2022-11-9

Program Mir2; procedure P100; begin exit; end; procedure _CallMain; var iTime:integer; Switch:string; begin if This_Player.GetS(110,1) < 1 then Switch := '关' else Switch := '开'; if This_Player.GetS(111,1) < 1 then iTime := 0 else iTime := This_Player.GetS(111,1); This_NPC.NpcDialog(This_Player, '设置自动修复时间 <'+ inttostr(iTime) +'/@SetTime>^<['+Switch+']/@SetLoop>|'+ '{cmd}<关闭界面/@exit>'); end; procedure LoopNow_2; var k:integer; begin if This_Player.GetS(110,1) > 0 then begin for k := 0 to 16 do begin This_Player.RepairBodyEquip(k); end; This_Player.PlayerNotice('自动修复成功',1); This_Player.CallOutex(This_Npc, This_Player.GetS(111,1), 'LoopNow_1'); end else This_Player.PlayerNotice('自动修复已关闭',0); exit; end; procedure LoopNow_1; var k:integer; begin if This_Player.GetS(110,1) > 0 then begin for k := 0 to 16 do begin This_Player.RepairBodyEquip(k); end; This_Player.PlayerNotice('自动修复成功',1); This_Player.CallOutex(This_Npc, This_Player.GetS(111,1), 'LoopNow_2'); end else This_Player.PlayerNotice('自动修复已关闭',0); exit; end; procedure _SetLoop; begin if This_Player.GetS(111,1) < 1 then begin This_NPC.InputDialog(This_Player,'请先设置自动修复时间',1,100); exit; end; if This_Player.GetS(110,1) < 1 then begin This_Player.SetS(110,1,1); This_Player.PlayerNotice('自动修复已开启',2); This_Player.CallOutex(This_Npc, This_Player.GetS(111,1), 'LoopNow_1'); _CallMain; end else This_Player.SetS(110,1,0); _CallMain; end; procedure P101; var Inum:integer; begin Inum := StrToIntDef(This_NPC.InputStr,-1); if (Inum > 0) and (Inum < 65535) then begin if This_Player.GetS(111,1) < 1 then begin This_Player.SetS(111,1,Inum); _CallMain; end; end else This_NPC.InputDialog(This_Player,'请输入1-65535之间的数字',1,100); exit; end; procedure _SetTime; begin This_NPC.InputDialog(This_Player,'请输入时间',0,101); end; begin _CallMain; end.
随便看看
最新回复 (0)
版块热门