Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*--------------------------------MAP FLAG DOS EVNEOTS---------------------------------*/
- /*----------------BOMB PORING--------------*/
- quiz_01 mapflag nowarpto
- quiz_01 mapflag noskill
- quiz_01 mapflag nowarp
- quiz_01 mapflag noteleport
- quiz_01 mapflag nomemo
- quiz_01 mapflag nosave SavePoint
- quiz_01 mapflag nobranch
- quiz_01 mapflag noicewall
- quiz_01 mapflag nopenalty
- quiz_01 mapflag nobranch
- quiz_01 mapflag noexp
- quiz_01 mapflag noreturn
- quiz_01 mapflag pvp_noparty
- quiz_01 mapflag restricted 1
- /*----------------FIM BOMB PORING--------------*/
- /*--------------------------------FIM MAP FLAG DOS EVNEOTS---------------------------------*/
- prontera,156,175,4 script evento 954,{
- OnWhisperGlobal:
- switch ( $eventocheck ){
- case 0:
- mes "[Eventos EquilibriumRO]";
- mes "Desculpe,"+ strcharinfo(0) +", no momento nenhum evento está ativo.";
- next;
- mes "[Eventos EquilibriumRO]";
- mes "Os eventos ocorerrão aleatóriamente cada 1 hora, em breve teremos um novo evento.";
- close;
- break;
- case 1:
- if (BaseLevel < 1) goto NO; // Check Base Level Before Register
- if (Class > 0) goto event; // Check Class Before Register
- if (Strcharinfo(3) == quiz_01) goto NO;
- event:
- mes "[^0000FFRegistry^000000]";
- mes "You dare to participate in the Bomb Survival Event?";
- next;
- switch(select("Bring it on !! ","Sorry, give me some time..")) {
- case 1:
- sc_end SC_ALL; // Remove all their Buffs before they enter
- sc_start SC_DECREASEAGI,1200000,10;
- percentheal 100,100;
- sc_start SC_STRIPSHIELD,1200000,5; //if they wearing a shield then will get this negative buffs
- sc_start SC_STRIPWEAPON,1200000,5; //if they wearing a shield then will get this negative buffs
- sc_start SC_STRIPARMOR,1200000,5; //if they wearing a shield then will get this negative buffs
- sc_start SC_STRIPHELM,1200000,5; //if they wearing a shield then will get this negative buffs
- set BombRewarded,0; //reset the rewarded players for last events
- warp "quiz_01",42,369;
- end;
- break;
- case 2:
- mes "[^0000FFRegistry^000000]";
- mes "Come back when your are ready.";
- close;
- break;
- NO:
- mes "[^0000FFRegistry^000000]";
- mes "You must not a Novice , or with base level lower or equal to 1.";
- close;
- }
- break;
- case 2:
- mes "[Eventos EquilibriumRO]";
- mes "O Bomb Poring está ativo mas infelizmente não podemos mais aceitar incrições";
- next;
- mes "[Eventos EquilibriumRO]";
- mes"Em pouco tempo pouco tempo teremos um novo evento aguarde.";
- close;
- break;
- case 3:
- delwaitingroom;
- waitingroom "Nenhum evento ativo CASE 3", 0;
- break;
- case 4:
- delwaitingroom;
- waitingroom "Nenhum evento ativo CASE 4", 0;
- break;
- case 5:
- delwaitingroom;
- waitingroom "Nenhum evento ativo CASE 5", 0;
- break;
- }
- OnMinute12:
- announce "Estamos sorteando um evento que irá começar em 1 minuto.", 0;
- end;
- OnMinute13:
- if(gettime(1)==0){
- if ($@ran == 1){
- set $eventocheck, 1;
- goto Evento_Um;}
- if ($@ran == 2){
- set $eventocheck, 1;
- goto Evento_Dois;}
- if ($@ran == 3){
- set $eventocheck, 1;
- goto Evento_Tres;}
- if ($@ran == 4){
- set $eventocheck, 1;
- goto Evento_Quatro;}
- }
- end;
- //-------------------AQUI COMEÇAM OS EVENTOS---------------
- Evento_Um:
- delwaitingroom;
- waitingroom "BombPoring está:[ABERTO]", 0;
- set $eventocheck, 1;
- initnpctimer;
- announce "Mestre dos Eventos: o evento sorteado foi: Bomb Poring vai começar em 3 minutos se preparem.",0;
- killmonsterall "quiz_01";
- disablenpc "Reward NPC";
- sleep2 30000;
- announce "Mestre dos Eventos: Para entrar no evento mande pm para npc:evento você ainda tem 2 minutos e meio",0;
- sleep2 30000;
- announce "Mestre dos Eventos:Se não conseguir mandar pm fale comigo em Prontera [xxx;xxx] você tem 2 minutos",0;
- sleep2 15000;
- announce "Mestre dos Eventos:Estamos aceitando inscrições me mande pm ou fale comigo em Prontera",0;
- sleep2 3000;
- announce "Bomb : Location : Prontera [ 156 , 185 ] l! ",0;
- announce "Bomb : At the Centre of Prontera ",0;
- sleep2 22000;
- announce "Bomb : Location : Prontera [ 156 , 185 ] l! ",0;
- announce "Bomb : At the Centre of Prontera ",0;
- sleep2 20000;
- announce "Bomb Event will begin in 1 minute!",0;
- sleep2 1000;
- announce "Bomb : Location : Prontera [ 156 , 185 ] l! ",0;
- announce "Bomb : At the Centre of Prontera ",0;
- sleep2 15000;
- mapannounce "quiz_01","In 30 seconds the Bomb Event will start !!",0;
- sleep2 30000;
- announce "Mestre dos Eventos:Incrições para o Bomb Poring encerrada!! o Evento irá começar.",0,0x00FF00;
- set $eventocheck, 2;
- delwaitingroom;
- waitingroom "BombPoring está:[Em Andamento]", 0;
- sleep2 3000;
- mapannounce "quiz_01","Bomb Event will begin in ~5~",0;
- sleep2 1000;
- mapannounce "quiz_01","Bomb Event will begin in ~4~",0;
- sleep2 1000;
- mapannounce "quiz_01","Bomb Event will begin in ~3~",0;
- sleep2 1000;
- mapannounce "quiz_01","Bomb Event will begin in ~2~",0;
- sleep2 1000;
- mapannounce "quiz_01","Bomb Event will begin in ~1~",0;
- sleep2 1000;
- mapannounce "quiz_01","Estamos sorteando um evento que irá começar em 1 minuto.", 0;
- //----------------------ROUND ONE ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- mapannounce "quiz_01","Round 1 !! The BOMB timing has Started to count down !!",0;
- sleep2 2000;
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has joined the event.",0,0x00FF00;
- sleep2 3000;
- announce "Alright !! Let's BLOW it up !! ",bc_blue|bc_map;
- sleep2 3000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,5;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,5;
- sleep2 13000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,5;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,5;
- sleep2 10000;
- mapannounce "quiz_01","5 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","4 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","3 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","2 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","1 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","Round 1 Finished !! Please wait for next round !! ^^ !!",0;
- killmonsterall "quiz_01";
- sleep2 1000;
- //----------------------ROUND TWO----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- if(getmapusers("quiz_01") < 1) goto L_Lose;
- mapannounce "quiz_01","Round 2 !! What ?? The BOMB seem to be increased !!",0;
- sleep2 2000;
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has survived to this round.",0,0x00FF00;
- sleep2 3000;
- announce "Good Job !! Gratz to reach this stage !! ",bc_blue|bc_map;
- sleep2 3000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,5;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,5;
- sleep2 13000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,3;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,3;
- sleep2 10000;
- mapannounce "quiz_01","5 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","4 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","3 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","2 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","1 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","Round 2 Finished !! Please wait for next round !! ^^ !!",0;
- killmonsterall "quiz_01";
- sleep2 1000;
- //----------------------ROUND THREE ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- if(getmapusers("quiz_01") < 1) goto L_Lose;
- mapannounce "quiz_01","Round 3 !! What ?? The BOMB increased again !!",0;
- sleep2 2000;
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has survived to this round.",0,0x00FF00;
- sleep2 3000;
- announce "Keep In On !! 2 More Stage After this Stage !! ~ ",bc_blue|bc_map;
- sleep2 3000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,7;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,7;
- sleep2 5000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,5;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,5;
- sleep2 10000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,2,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,2,"bomblose1::OnMobDied";
- sleep2 7000;
- mapannounce "quiz_01","5 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","4 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","3 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","2 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","1 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","Round 3 Finished !! Please wait for next round !! ^^ !!",0;
- killmonsterall "quiz_01";
- sleep2 1000;
- //----------------------ROUND FOUR ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- if(getmapusers("quiz_01") < 1) goto L_Lose;
- mapannounce "quiz_01","Round 4 !! OMG ?? The BOMB increasing into a huge number !!",0;
- sleep2 2000;
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has survived to this round.",0,0x00FF00;
- sleep2 3000;
- announce "Incredible !! They Survive till this stage ~ ",bc_blue|bc_map;
- sleep2 3000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,5;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,5;
- sleep2 15000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,2,"bomblose1::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,2,"bomblose::OnMobDied";
- sleep2 10000;
- mapannounce "quiz_01","5 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","4 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","3 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","2 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","1 Second to go until next Round !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","Round 4 Finished !! Please wait for next round !! ^^ !!",0;
- killmonsterall "quiz_01";
- sleep2 1000;
- //----------------------ROUND FIVE ( FINAL )-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- if(getmapusers("quiz_01") < 1) goto L_Lose;
- mapannounce "quiz_01","Final Round !! What ?? The BOMB cant be stopped now !! Damn it !!~ ",0;
- sleep2 2000;
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has survived to this round.",0,0x00FF00;
- sleep2 3000;
- announce "OMG !!! They come to the FINAL STAGE !!! Who Will Survive till the END !?? ~ ",bc_blue|bc_all;
- sleep2 3000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,15;
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,15;
- sleep2 18000;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,2,"bomblose1::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,2,"bomblose::OnMobDied";
- sleep2 2000;
- mapannounce "quiz_01","Survive this round to get Reward ^^ !!",0;
- sleep2 10000;
- mapannounce "quiz_01","30 Second to go !! ^^ !!",0;
- sleep2 1500;
- mapannounce "quiz_01","15 Second to go !! ^^ !!",0;
- sleep2 5000;
- mapannounce "quiz_01","10 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","9 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","8 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","7 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","6 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","5 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","4 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","3 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","2 Second to go !! ^^ !!",0;
- sleep2 1000;
- mapannounce "quiz_01","1 Second to go !! ^^ !!",0;
- sleep2 1000;
- if(getmapusers("quiz_01") < 1) goto L_Lose;
- mapannounce "quiz_01","Congratulation to all SURVIVALS xD !! ^^ !!",0;
- killmonsterall "quiz_01";
- goto L_Win;
- sleep2 1000;
- end;
- //----------------------When All Players LOSE / WIN--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- //------------------Will Auto Check Every Round Before Start----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- L_Lose:
- if ( getmapusers("quiz_01") == 0 ){
- killmonsterall "quiz_01";
- announce "'Bomb Event has ended. No one survived.",0;
- stopnpctimer;
- end;
- }
- L_Win:
- if ( getmapusers("quiz_01") > 0 ){
- mapannounce "quiz_01",getmapusers("quiz_01") +" players has survived the event.",0,0x00FF00;
- goto Premio_Auto_Event;
- sleep2 3000;
- mapannounce "quiz_01","You have survive and WIN, approach the Reward NPC please.",0;
- donpcevent "EventStart::VencedorWin";
- end;
- }
- stopnpctimer;
- end;
- OnTimer10000:
- if(getmapusers("quiz_01") == 1){
- killmonsterall "quiz_01";
- mapannounce "quiz_01","You have survive and WIN, approach the Reward NPC please.",0;
- goto Premio_Auto_Event;
- end;
- }
- //-----------When Player Died He Will Be Warp Back -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- //-----------But Will Increase Amount Of Bomb Poring At The Same Time--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- OnPCDieEvent:
- getmapxy .@mapnvz$,.@xnvz,.@ynvz,0;
- if ( .@mapnvz$ == "quiz_01") {
- sleep2 1;
- warp "prontera",155,155;
- mapannounce "quiz_01","What a disaster !! The Bomb will be multiplied when someone had died in the Event !! .",0;
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- atcommand "@alive "+ strcharinfo(0);
- dispbottom "What A Bad Luck...Join Us Again Next Time ^^. ";
- }
- end;
- Evento_Dois:
- announce "Estamos sorteando um evento que irá começar em 2 minuto.", 0;
- delwaitingroom;
- waitingroom "BombPoring está:[ABERTO]", 0;
- goto Evento_Um;
- end;
- Evento_Tres:
- announce "Estamos sorteando um evento que irá começar em 3 minuto.", 0;
- delwaitingroom;
- waitingroom "BombPoring está:[ABERTO]", 0;
- goto Evento_Um;
- end;
- Evento_Quatro:
- announce "Estamos sorteando um evento que irá começar em 4 minuto.", 0;
- delwaitingroom;
- waitingroom "BombPoring está:[ABERTO]", 0;
- goto Evento_Um;
- end;
- //------------------AQUI TERMINAM OS EVENTOS--------------
- //--------AQUI COMEÇA A PRÊMIAÇÂO DE CADA EVENTO----------
- Premio_Auto_Event:
- switch( $eventocheck ) {
- case 1: //--------> Evento_Um
- enablenpc "Reward NPC";
- case 2:
- case 3:
- case 4:
- }
- //--------AQUI ACABA A PRÊMIAÇÂO DE CADA EVENTO----------
- OnInit:
- set $@ran, rand(1,4); //----------> Quantidade de eventos a serem sorteados, só mexer se souber o que está fazendo.
- set $eventocheck, 0; //----------> Para checar qual evento que está ativo
- set $@eventowinner, 0; //---------> Não sei ainda.
- set $premioevento, 7539; //----------> Prêmio do ganhador.
- set $qntpremioevento, rand(1,30); //----------> Quantidade de item que o vencedor irá receber.
- disablenpc "Reward NPC";
- delwaitingroom;
- waitingroom "Nenhum evento ativo", 0;
- end;
- }
- quiz_01,42,369,3 script Reward NPC 72,{
- if(BombRewarded == 1) goto L_End;
- mes "[Reward NPC]";
- mes "Please tell me your name.";
- next;
- input .@name$;
- if(.@name$ != strcharinfo(0)) {
- mes "[Reward NPC]";
- mes "Are you sure that is your name?";
- close;
- }
- mes "[Reward NPC]";
- mes "Congrats. You've won.";
- close2;
- announce "Bomb Event : We have Survivor !! "+.@name$+" has won the Bomb Event!",0;
- set $rewarditem, 7539; //Change This item id and amount to what ever you want. Default = Poring Coins [ItemID 7539]
- set $rand, rand(1,30); // Randomly picks from 1 to 30.
- getitem $rewarditem,$rand;
- set BombRewarded,1; //to ensure player cant have chances to spam rewards
- warp "prontera",155,155;
- sleep2 1500;
- if ( getmapusers("quiz_01") < 1 ){
- disablenpc "Reward NPC";
- }
- end;
- L_End:
- mes "[Reward NPC]";
- mes "You have obtained the Rewards already ";
- mes " OR ";
- mes " You joined this game without Register yourself at Registry NPC.";
- mes "So, dont blame me for not giving you rewards .";
- close;
- }
- - script bomblose -1,{
- OnMobDied:
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- end;
- }
- - script bomblose1 -1,{
- OnMobDied:
- areamonster "quiz_01", 23, 361, 38, 376, "Timed Bomb",1904,1,"bomblose1::OnMobDied";
- areamonster "quiz_01", 45, 362, 60, 376, "Timed Bomb",1904,1,"bomblose::OnMobDied";
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement