91M2引擎判断转生等级脚本
判断转生等级及等级procedure Main(Npc: TNormNPC; Player: TPlayObject; Args: TArgs);
begin
case Player.ReNewLevel of
0:
begin
case Player.Level of
7:;player.SendMessage('7级', 0);
9:;player.SendMessage('9级', 0);
end;
end;
1:
begin
case Player.Level of
7:;player.SendMessage('1转7级', 0);
9:;player.SendMessage('1转9级', 0);
end;
end;
else
begin
if player.Level = 22 then
;layer.SendMessage('22级', 0);
end;
end;
end;
示例中使用了if和case两种判断等级的方式
不错,顶一个! 不错,楼主用心了,我等必须支持下 确实是难得好帖啊,顶先! 感谢楼主分享,2019发大财!!! 确实是难得好帖啊,顶先! 顶顶顶顶顶大大大 确实是难得好帖啊,顶先! 撸过。支持。。。支持。。。 66666668