战神引擎维护补偿Npc脚本(只能领取一次)

用于战神引擎维护补偿Npc脚本,每一个玩家只能领取一次,还特别针对法师的做了一个补偿宝宝的功能,脚本比较常见,明文版,可以根据GM的要求,任意修改里面的补偿物品内容等。

战神引擎维护补偿Npc脚本(只能领取一次)

战神引擎维护补偿Npc脚本(只能领取一次)

战神引擎维护补偿Npc脚本(只能领取一次)

部分脚本

This_Player.CallOut(This_NPC,1,'kq');   
end;
begin
if (This_Player.GetV(64,46) = 1) and (This_Player.GetSlaveCount('') < 1) then begin This_Player.MakeSlaveEx('月灵', 1 ,7); end else This_Player.CallOut(This_NPC,1,'kq'); end; end; procedure _1; begin if This_Player.level >= 30 then
    begin 
        if This_Player.GetV(77,34) <> 3 then
          begin
            if This_Player.FreeBagNum >= 5 then
           begin 
              //  This_Player.GiveBindItem('100元宝',1);
				This_Player.GiveBindItem('魔血石(大)',1);
				This_Player.GiveBindItem('20倍秘籍',1);
				ServerSay('玩家<' + This_Player.Name + '>领取了维护补偿!', 70);
                This_Player.SetV(77,34,3);
                This_NPC.NpcDialog(This_Player,
               '恭喜你领取成功');
            end else
            This_NPC.NpcDialog(This_Player,'你的包裹剩余不足3格') 
        end else
        This_NPC.NpcDialog(This_Player,'你已领取了奖励');
		end else
        This_NPC.NpcDialog(This_Player,'等级不足30级无法领取');
end;
procedure _2;
begin
if This_Player.Job = 1 then
begin
if This_Player.level >= 35 then
    begin 
        if This_Player.GetV(66,34) <> 2 then
          begin
            if This_Player.FreeBagNum >= 3 then
           begin 
                This_Player.GiveBindItem('宝宝召唤卷',3);
				ServerSay('玩家<' + This_Player.Name + '>领取了法师宝宝补偿!', 70);
                This_Player.SetV(66,34,2);
                This_NPC.NpcDialog(This_Player,
               '恭喜你领取成功');
            end else
            This_NPC.NpcDialog(This_Player,'你的包裹剩余不足3格') 
        end else
        This_NPC.NpcDialog(This_Player,'你已领取了奖励');
		end else
        This_NPC.NpcDialog(This_Player,'等级不足35级无法领取');
				end else
        This_NPC.NpcDialog(This_Player,'法师才可以领取');
end;
begin
This_Player.CallOut(This_NPC,1,'kq');
    This_NPC.NpcDialog( This_Player,
    +'|每次维护完毕大于30级的玩家都可以领取补偿\' 
	+'|{cmd}<领取维护补偿/@1>^<法师宝宝补偿/@2>\'
	);
end.
分享到:
赞(0)