goddameit 發表於 2008-6-11 20:21:09

簡易版隨機召喚怪物

/*-------------------------------------------------
出版時間 2008/6/11
製作 by goddameit
協力\除錯 by 陳小修
-------------------------------------------------*/
prontera.gat,155,179,4      script      怪物召喚區傳送人員      877,{
if(@pvp_n_4==1){
warp "pvp_n_4-4.gat",55,165;
dispbottom "你來到第 4 召喚區,重新挑戰";
end;
}
if(@pvp_n_3==1){
warp "pvp_n_3-4.gat",55,165;
dispbottom "你來到第 3 召喚區,重新挑戰";
end;
}
if(@pvp_n_2==1){
warp "pvp_n_2-4.gat",55,165;
dispbottom "你來到第 2 召喚區,重新挑戰";
end;
}
if(@pvp_n_1==1){
warp "pvp_n_1-4.gat",55,165;
dispbottom "你來到第 1 召喚區,重新挑戰";
end;
}
set $@monsterr,rand(1,4);
warp "pvp_n_"+$@monsterr+"-4.gat",55,165;
dispbottom "你來到第 "+$@monsterr+" 召喚區";
end;
}
//===========================================================
pvp_n_3-4.gat,55,165,4      script      MonsterC      877,{
set @pvp_n_3,1;
set @monsterr,rand(1002,1836);
setarray .@TriesAgain,1002,1832,1751,1502,1324,1325,1326,1327;
setarray .@TriesAgaina,1329,1330,1331,1332,1333,1334,1335,1336;
setarray .@TriesAgainb,1328,1337,1338,1339,1340,1341,1342,1343;
setarray .@TriesAgainc,1344,1345,1346,1347,1348,1349,1350,1351;
setarray .@TriesAgaind,1352,1353,1354,1355,1356,1357,1358,1359;
setarray .@TriesAgaine,1360,1361,1362,1363,1136,1137,1210,1223;
setarray .@TriesAgainf,1284,1407,1496,1501,1833,1168;
set @timq,30-@timqe;
if(@timqe<31){
for ( set .@i,1; .@i <= 8; set .@i,.@i+1 )
      {               
                if ( @monsterr ==.@TriesAgain[.@i] )||( @monsterr ==.@TriesAgaina[.@i] )||( @monsterr ==.@TriesAgainb[.@i] )||( @monsterr ==.@TriesAgainc[.@i] )||
( @monsterr ==.@TriesAgaind[.@i] )||( @monsterr ==.@TriesAgaine[.@i] )||( @monsterr ==.@TriesAgainf[.@i] )               
                        {
                              dispbottom "召喚失敗!!!";
                              dispbottom "點數不扣!!!";
                              set @timqe,@timqe-1;
                              dispbottom "剩下"+@timq+"次";
                              end;
                        }

      }

      atcommand "@killmonster";
      atcommand "@monster "+@monsterr;
      dispbottom "召喚!!!";
      dispbottom "怪物編碼 "+@monsterr;
      set @timqe,@timqe+1;
      dispbottom "召喚"+@timqe+"次了,剩下"+@timq+"次";
      end;

      }
dispbottom "強制回去!!!";
set @timqe,0;
set @pvp_n_3,0;
atcommand "@killmonster";
warp "prontera.gat",155,174;
end;
}

//===========================================================
pvp_n_2-4.gat,55,165,4      script      MonsterB      877,{
set @pvp_n_2,1;
set @monsterr,rand(1002,1836);
setarray .@TriesAgain,1002,1832,1751,1502,1324,1325,1326,1327;
setarray .@TriesAgaina,1329,1330,1331,1332,1333,1334,1335,1336;
setarray .@TriesAgainb,1328,1337,1338,1339,1340,1341,1342,1343;
setarray .@TriesAgainc,1344,1345,1346,1347,1348,1349,1350,1351;
setarray .@TriesAgaind,1352,1353,1354,1355,1356,1357,1358,1359;
setarray .@TriesAgaine,1360,1361,1362,1363,1136,1137,1210,1223;
setarray .@TriesAgainf,1284,1407,1496,1501,1833,1168;
set @timq,30-@timqe;
if(@timqe<31){
for ( set .@i,1; .@i <= 8; set .@i,.@i+1 )
      {               
                if ( @monsterr ==.@TriesAgain[.@i] )||( @monsterr ==.@TriesAgaina[.@i] )||( @monsterr ==.@TriesAgainb[.@i] )||( @monsterr ==.@TriesAgainc[.@i] )||
( @monsterr ==.@TriesAgaind[.@i] )||( @monsterr ==.@TriesAgaine[.@i] )||( @monsterr ==.@TriesAgainf[.@i] )               
                        {
                              dispbottom "召喚失敗!!!";
                              dispbottom "點數不扣!!!";
                              set @timqe,@timqe-1;
                              dispbottom "剩下"+@timq+"次";
                              end;
                        }

      }

      atcommand "@killmonster";
      atcommand "@monster "+@monsterr;
      dispbottom "召喚!!!";
      dispbottom "怪物編碼 "+@monsterr;
      set @timqe,@timqe+1;
      dispbottom "召喚"+@timqe+"次了,剩下"+@timq+"次";
      end;

      }
dispbottom "強制回去!!!";
set @timqe,0;
set @pvp_n_2,0;
atcommand "@killmonster";
warp "prontera.gat",155,174;
end;
}

//===========================================================
pvp_n_1-4.gat,55,165,4      script      MonsterA      877,{
set @pvp_n_1,1;
set @monsterr,rand(1002,1836);
setarray .@TriesAgain,1002,1832,1751,1502,1324,1325,1326,1327;
setarray .@TriesAgaina,1329,1330,1331,1332,1333,1334,1335,1336;
setarray .@TriesAgainb,1328,1337,1338,1339,1340,1341,1342,1343;
setarray .@TriesAgainc,1344,1345,1346,1347,1348,1349,1350,1351;
setarray .@TriesAgaind,1352,1353,1354,1355,1356,1357,1358,1359;
setarray .@TriesAgaine,1360,1361,1362,1363,1136,1137,1210,1223;
setarray .@TriesAgainf,1284,1407,1496,1501,1833,1168;
set @timq,30-@timqe;
if(@timqe<31){
for ( set .@i,1; .@i <= 8; set .@i,.@i+1 )
      {               
                if ( @monsterr ==.@TriesAgain[.@i] )||( @monsterr ==.@TriesAgaina[.@i] )||( @monsterr ==.@TriesAgainb[.@i] )||( @monsterr ==.@TriesAgainc[.@i] )||
( @monsterr ==.@TriesAgaind[.@i] )||( @monsterr ==.@TriesAgaine[.@i] )||( @monsterr ==.@TriesAgainf[.@i] )               
                        {
                              dispbottom "召喚失敗!!!";
                              dispbottom "點數不扣!!!";
                              set @timqe,@timqe-1;
                              dispbottom "剩下"+@timq+"次";
                              end;
                        }

      }

      atcommand "@killmonster";
      atcommand "@monster "+@monsterr;
      dispbottom "召喚!!!";
      dispbottom "怪物編碼 "+@monsterr;
      set @timqe,@timqe+1;
      dispbottom "召喚"+@timqe+"次了,剩下"+@timq+"次";
      end;

      }
dispbottom "強制回去!!!";
set @timqe,0;
set @pvp_n_1,0;
atcommand "@killmonster";
warp "prontera.gat",155,174;
end;
}
//====================================================================
pvp_n_4-4.gat,55,165,4      script      MonsterD      877,{
set @pvp_n_4,1;
set @monsterr,rand(1002,1836);
setarray .@TriesAgain,1002,1832,1751,1502,1324,1325,1326,1327;
setarray .@TriesAgaina,1329,1330,1331,1332,1333,1334,1335,1336;
setarray .@TriesAgainb,1328,1337,1338,1339,1340,1341,1342,1343;
setarray .@TriesAgainc,1344,1345,1346,1347,1348,1349,1350,1351;
setarray .@TriesAgaind,1352,1353,1354,1355,1356,1357,1358,1359;
setarray .@TriesAgaine,1360,1361,1362,1363,1136,1137,1210,1223;
setarray .@TriesAgainf,1284,1407,1496,1501,1833,1168;
set @timq,30-@timqe;
if(@timqe<31){
for ( set .@i,1; .@i <= 8; set .@i,.@i+1 )
      {               
                if ( @monsterr ==.@TriesAgain[.@i] )||( @monsterr ==.@TriesAgaina[.@i] )||( @monsterr ==.@TriesAgainb[.@i] )||( @monsterr ==.@TriesAgainc[.@i] )||
( @monsterr ==.@TriesAgaind[.@i] )||( @monsterr ==.@TriesAgaine[.@i] )||( @monsterr ==.@TriesAgainf[.@i] )               
                        {
                              dispbottom "召喚失敗!!!";
                              dispbottom "點數不扣!!!";
                              set @timqe,@timqe-1;
                              dispbottom "剩下"+@timq+"次";
                              end;
                        }

      }

      atcommand "@killmonster";
      atcommand "@monster "+@monsterr;
      dispbottom "召喚!!!";
      dispbottom "怪物編碼 "+@monsterr;
      set @timqe,@timqe+1;
      dispbottom "召喚"+@timqe+"次了,剩下"+@timq+"次";
      end;

      }
dispbottom "強制回去!!!";
set @timqe,0;
set @pvp_n_4,0;
atcommand "@killmonster";
warp "prontera.gat",155,174;
end;
}
pvp_n_4-4.gat      mapflag      pvp      off
pvp_n_3-4.gat      mapflag      pvp      off
pvp_n_2-4.gat      mapflag      pvp      off
pvp_n_1-4.gat      mapflag      pvp      off

88684491 發表於 2008-6-11 20:50:26

沙發嗎?

抓下來用看看~謝謝大大無私分享

goddameit 發表於 2008-6-11 20:52:46

沙 發 = =?

你 說 啥 啊

DAD 發表於 2008-6-11 20:56:44

沙發就是頭香
頭香就是第一個:110: :109:

goddameit 發表於 2008-6-11 20:58:09

喔 喔 ~ 先 別 複 製 啊

我 要 調 整

nicki1314 發表於 2008-6-12 02:55:14

同個作者 幫你推一下 順便看看腳本^^ -ˇ-加油歐

321555 發表於 2008-6-12 08:26:54

回覆 1樓的 goddameit 的帖子

感謝分 想@@

這是腳本還是物品呢??

goddameit 發表於 2008-6-12 16:20:27

回覆 7樓的 321555 的帖子

NPC ~ 讓 玩 家 無 聊 玩 玩 的

linday 發表於 2008-6-13 01:37:14

看看先 抓抓來玩玩看好了

iqeeingh 發表於 2008-6-14 14:53:23

簡易版??
有多簡易呢
我來複製看看><"

克雅 發表於 2008-6-14 23:16:00

不知 會是啥樣的劇本? 簡易 易懂? 謝謝分享

crazy569000 發表於 2008-6-15 13:13:21

回覆 1樓的 goddameit 的帖子

抓下來用看看~謝謝大大無私分享

深紫 發表於 2008-6-17 01:52:28

請跟枯枝差別在..?:L

love0915993273 發表於 2008-6-17 09:44:51

謝謝樓主分享^___^"
(小弟抓來做其他腳本的範本xD)

0229443268 發表於 2008-6-18 19:55:26

謝謝大大分享!!我可以放到我私服裡面玩
頁: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 簡易版隨機召喚怪物