china0396 发表于 2026-6-14 04:31:25

战神引擎人物角色经验倍数调整教程

D:\mud2.0\Mir200\Envir\PsMapQuest\RunQuest.pas

procedure TempExpBylv();

var tempLv , tempExp : integer;

begin



    tempExp := 0;

    tempLv := This_Player.Level;

    if (tempLv >= 1) and (tempLv <= 30) then tempExp := 100      

    else if (tempLv >= 31) and (tempLv <= 45) then tempExp := 30

    else if (tempLv >= 46) and (tempLv <= 60) then tempExp := 15

    else if (tempLv >= 60) then tempExp := 10;



    if tempExp > 0 then

    begin

      This_Player.MultiTempExpRate := tempExp;

      This_Player.PlayerNotice('当前经验倍数:' + inttostr(tempExp) + '倍',2);

    end;

end



-----------------------------------------------------------------------------------------------------------------------

D:\mud2.0\Mir200\Envir\PsMapQuest\LogonQuest.pas

procedure TempExpBylv();

var tempLv , tempExp : integer;

begin



    tempExp := 0;

    tempLv := This_Player.Level;

    if (tempLv >= 1) and (tempLv <= 30) then tempExp := 100

    else if (tempLv >= 31) and (tempLv <= 45) then tempExp := 30

    else if (tempLv >= 46) and (tempLv <= 60) then tempExp := 15

    else if (tempLv >= 61) then tempExp := 2;

    if tempExp > 0 then

    begin

      This_Player.MultiTempExpRate := tempExp;

      This_Player.PlayerNotice('当前经验倍数:' + inttostr(tempExp) + '倍',2);

    end;

end;



这2处修改就可以了额

页: [1]
查看完整版本: 战神引擎人物角色经验倍数调整教程