隐藏内容
  • 普通用户购买价格:100金币
  • 会员用户购买价格:免费
  • 永久会员用户购买价格:免费推荐

例子:

program Mir2;

function Gaoji0LB(price, num: Integer):boolean;
begin

result := true;
end;

procedure _doexit;
begin
This_Npc.CloseDialog(This_Player);
end;

procedure _fa;
begin
This_Npc.NpcDialog(This_Player,
‘|【需要材料】两个轩辕同部件\’
+’|{cmd}<【至尊法戒合成】/@fajie><【至尊法腕合成】/@fashou> \’

);
end;

 

procedure _hecheng;
begin
if (This_Player.GetBagItemCount (‘轩辕法靴’) >= 1) and (This_Player.GetBagItemCount (‘金刚石’) >= 1) and (This_Player.YBNum >= 3) and (This_Player.GetBagItemCount (‘至尊神石’) >= 1) then//检查身上
begin
This_Player.Take(‘轩辕法靴’,2);
This_Player.Take(‘至尊神石’,1);
This_Player.Take(‘金刚石’,10000);
This_Player.PsYBConsum(This_NPC,’Gaoji0LB’,20051,30000,1);
This_Player.Give(‘至尊法靴’,1);
ServerSay(‘恭喜玩家【’ + This_Player.Name + ‘】在庄园合成了至尊法靴!’, 3);
end
else
This_NPC.NpcDialog(This_Player,
‘你的材料不够,轩辕法靴2个、10000金刚石、30000元宝!’);
end;

 

begin
This_Npc.NpcDialog(This_Player,
‘|【合成介绍】我这里只提供装备合成\’
+’|【合成材料】元宝 衣服 鞋子\’
+’|{cmd}<【合成衣服】/@hecheng>\’
);
end.