查看: 30|回复: 0

水经验--宝宝叛变的启动和停止

[复制链接]

19

主题

14

回帖

666

积分

高级会员

积分
666
发表于 2026-6-16 23:10:45 | 显示全部楼层 |阅读模式
unit Q57;

interface
uses Classes, SysUtils;

procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);

implementation

procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
begin
//指定一个叛变有效时长
Gamelib.SlaveMutiny(360000{单位毫秒, 这里换算后为60分钟});   

//停止叛变
Gamelib.SlaveMutiny(0);   
end;

end.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表