OK論壇

 找回密碼
 註冊
查看: 1375|回復: 0

[EA] 優配擂斯任務 仿造問題

 關閉 [複製鏈接]

該用戶從未簽到

發表於 2008-2-6 03:23:03 | 顯示全部樓層 |閱讀模式
這是EA版的優配任務
二樓的莫內 打死後會出現廣播 然後 三分鐘後 又會隨著傳送點消失而重生
但是 我仿造這個寫了另一個腳本 怪有出現 打死後也會出現傳點 但是怪不會重生 ..
我想問看看 大概要怎麼寫怪才會重生 ?
juperos_02.gat,1,1,1 script JuperosLvl2QuestInit -1,{
OnInit:
while(1)
{
  monster "juperos_02.gat",24,276,"1st Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate1Dead";
  monster "juperos_02.gat",240,29,"2nd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate2Dead";
  monster "juperos_02.gat",282,183,"3rd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate3Dead";
  end;

OnGate1Dead:
mapannounce "juperos_02.gat","你想要探索優配擂斯嗎? 這底下已經沒有生物生存了",1,0xFF0000;
set $JupeGate1,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;

OnGate2Dead:
mapannounce "juperos_02.gat","你為了什麼而來 ? 寶物嗎 ? 還是說 要來找我",1,0xFF0000;
set $JupeGate2,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;

OnGate3Dead:
mapannounce "juperos_02.gat"," 你如果想要找我 我就在最底下等著 ",1,0xFF0000;
set $JupeGate3,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;
s_WarpOpen:
attachnpctimer;
initnpctimer;
  end;
OnTimer3000:
  mapannounce "juperos_02.gat","Vroom! Vroom!",1,0xBA55D3;
  end;
OnTimer6000:
  mapannounce "juperos_02.gat","Attention, visitors.",1,0xBA55D3;
  end;
OnTimer9000:
  mapannounce "juperos_02.gat","You are allowed to enter the next zone for a short period of time. Please use the portal in the center of the map.",1,0xBA55D3;
  enablenpc "JupeWarp2";
  end;
OnTimer189000:
  mapannounce "juperos_02.gat","The portal has now closed.",1,0xBA55D3;
  disablenpc "JupeWarp2";
  set $JupeGate1,0;
  set $JupeGate2,0;
  set $JupeGate3,0;
stopnpctimer;
}
}
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|小黑屋|OK討論區

GMT+8, 2024-5-3 02:21 AM , Processed in 0.045226 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回復 返回頂部 返回列表