灵符兑换声望手游脚本

很常见的货币兑换脚本,脚本里面是用50灵符兑换5点声望,你们也可以通过下面的脚本,把兑换的比例换成你们要的,也可以修改里面的货币。非常的简单。直接修改数字就行,修改了保存以后,从新启动M2即可。


灵符兑换声望手游脚本

脚本如下

{

*******************************************************************}

Program Mir2;

Procedure _doexit;

begin

   This_NPC.CloseDialog(This_Player);

end;

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

begin                                               

  result := true;

end;

procedure _xiane4;

begin

   if This_Player.MyLFnum >= 50 then 

  begin

  This_Player.MyShengwan := This_Player.MyShengwan + 5;

  This_Player.DecLF(050false);

  end

    else

    This_Npc.NpcDialog(This_Player,

    '对不起,你没有50灵符,不能兑换声望!'

    );

   end;

   begin

      This_NPC.NpcDialog(This_Player,

      '在我这里可以用灵符兑换声望哦\ \'

     +'|{cmd}<50灵符兑换5声望点 xiane4="">  \'

     );

end.