战神引擎每日充值回馈元宝Npc脚本

用于战神引擎每日充值回馈元宝Npc脚本,相比之前看到的充值回馈的脚本,都是赠送装备或者物品等,今天这个是判断玩家每日充值后,在回馈对应的元宝数量的NPC,跟之前完全不一样,脚本是明文版,可以任意修改里面回馈的金额和对应的元宝数量。

战神引擎每日充值回馈元宝Npc脚本

部分脚本

begin 
if This_Player.GetV(25,12) < GetDateNum(GetNow) then
begin
This_Player.ScriptRequestAddYBNum(50000);
This_Player.SetV(25,12,GetDateNum(GetNow));
ServerSay('玩家<'+This_Player.Name+'>领取了每日充值奖励!', 3);
This_NPC.NpcDialog(This_Player,'恭喜你领取成功');
end else
This_NPC.NpcDialog(This_Player,'今日已领取过奖励了');
end else
This_NPC.NpcDialog(This_Player,'你今日充值没到300元。');
end;
procedure _paodian4; 
var mei : integer;  
begin 
mei := This_Player.getV(99,99);
if mei >= 600  then 
begin 
if This_Player.GetV(25,13) < GetDateNum(GetNow) then
begin
This_Player.ScriptRequestAddYBNum(100000);
This_Player.SetV(25,13,GetDateNum(GetNow));
ServerSay('玩家<'+This_Player.Name+'>领取了每日充值奖励!', 3);
This_NPC.NpcDialog(This_Player,'恭喜你领取成功');
end else
This_NPC.NpcDialog(This_Player,'今日已领取过奖励了');
end else
This_NPC.NpcDialog(This_Player,'你今日充值没到600元。');
end;
procedure _paodian5; 
var mei : integer;  
begin 
mei := This_Player.getV(99,99);
if mei >= 1000  then 
begin 
if This_Player.GetV(25,14) < GetDateNum(GetNow) then
begin
This_Player.ScriptRequestAddYBNum(150000);
This_Player.SetV(25,14,GetDateNum(GetNow));
ServerSay('玩家<'+This_Player.Name+'>领取了每日充值奖励!', 3);
This_NPC.NpcDialog(This_Player,'恭喜你领取成功');
end else
This_NPC.NpcDialog(This_Player,'今日已领取过奖励了');
end else
This_NPC.NpcDialog(This_Player,'你今日充值没到1000元。');
end;
begin 
   today := GetDateNum(GetNow);
   if This_Player.GetV(99,98) <> today then
   begin
   This_Player.SetV(99,98,today);
   This_Player.SetV(99,99,0);
   mei := This_Player.getV(99,99); 
   end  else
   mei := This_Player.getV(99,99);
   This_Npc.NpcDialog(This_Player,
   '|此活动每日均可领取,<充值比例为1:500> 平台赠送不计算\'+     
   '|您当前累计充值:<'+inttostr(mei)+'/c=red> 元\'+ 
   '|<★每日充值满100元★:>额外赠送<1w元宝/c=250>\'+ 
   '|<★每日充值满200元★:>额外赠送<2w元宝/c=250>\'+ 
   '|<★每日充值满300元★:>额外赠送<5w元宝/c=250>\'+ 
   '|<★每日充值满600元★:>额外赠送<10w元宝/c=250>\'+ 
   '|<★每日充值满1000元★:>额外赠送<15w元宝/c=250>\'+  
   '|{cmd}<满100元奖励/@paodian1> ^<满200元奖励/@paodian2>\'  +
   '|{cmd}<满300元奖励/@paodian3> ^<满600元奖励/@paodian4>\'  +
   '|{cmd}<满1000元奖励/@paodian5> \'   
   );
end.
分享到:
赞(0)