战神引擎12生肖自定义Npc脚本带素材

用于战神引擎自定义NPC脚本和素材,一个NPC,集成了12个生肖地图的传送,生肖地图默认进入条件是等级60和5000元宝,当然脚本是明文版的,可以任意修改里面的进入条件。

战神引擎12生肖自定义Npc脚本带素材

部分脚本

procedure _M9; 
begin
if (GetHour = 18) and (GetMin < 60) then begin if This_Player.Level >= 60 then 
   begin
   if  This_Player.YBnum >= 5000 then 
       begin
       This_Player.ScriptRequestSubYBNum(5000); 
	   This_Player.Flyto('H204~19',51,48);
	   This_NPC.NpcNotice('玩家【'+This_Player.Name+'】进入了十二生肖神殿-猴!');
	   end else
This_Player.PlayerNotice('你的元宝不足',2);   
	   end else
	This_Player.PlayerNotice('你的等级不足',2); 
end else 
This_NPC.NpcDialog(This_Player,   
'<未到开放时间。>');	
   end;
procedure _M10; 
begin
if (GetHour = 19) and (GetMin < 60) then begin if This_Player.Level >= 60 then 
   begin
   if  This_Player.YBnum >= 5000 then 
       begin
       This_Player.ScriptRequestSubYBNum(5000); 
	   This_Player.Flyto('H204~20',51,48);
	   This_NPC.NpcNotice('玩家【'+This_Player.Name+'】进入了十二生肖神殿-鸡!');
	   end else
This_Player.PlayerNotice('你的元宝不足',2);   
	   end else
	This_Player.PlayerNotice('你的等级不足',2);  
end else 
This_NPC.NpcDialog(This_Player,   
'<未到开放时间。>');	
   end;
procedure _M11; 
begin
if (GetHour = 20) and (GetMin < 60) then begin if This_Player.Level >= 60 then 
   begin
   if  This_Player.YBnum >= 5000 then 
       begin
       This_Player.ScriptRequestSubYBNum(5000); 
	   This_Player.Flyto('H204~21',51,48);
	   This_NPC.NpcNotice('玩家【'+This_Player.Name+'】进入了十二生肖神殿-狗!');
	   end else
This_Player.PlayerNotice('你的元宝不足',2);   
	   end else
	This_Player.PlayerNotice('你的等级不足',2);  
end else 
This_NPC.NpcDialog(This_Player,   
'<未到开放时间。>');	
   end;
procedure _M12; 
begin
if (GetHour = 21) and (GetMin < 60) then begin if This_Player.Level >= 60 then 
   begin
   if  This_Player.YBnum >= 5000 then 
       begin
       This_Player.ScriptRequestSubYBNum(5000); 
	   This_Player.Flyto('H204~22',51,48);
	   This_NPC.NpcNotice('玩家【'+This_Player.Name+'】进入了十二生肖神殿-猪!');
	   end else
This_Player.PlayerNotice('你的元宝不足',2);   
	   end else
	This_Player.PlayerNotice('你的等级不足',2);  
end else 
This_NPC.NpcDialog(This_Player,   
'<未到开放时间。>');	
   end;
begin
   _domian;
end.
分享到:
赞(0)