viewing paste Bomb Poring Survival v1.2 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511
//                              ____________________________
//-------------------| BOMB PORING SURVIVAL EVENT |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//                      ____________________________
 
//-------------- Created By Emistry ,-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------- Thank you to all eAthena Members.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------- Without you all , I won't be able to write a single / simple script.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
 
 
//                              ____________________________
//---------------------------|   V E R S I O N   1 . 2   |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//                      ____________________________
 
 
 
 
//------------------------------- C H A N G E L O G---------------------------------------------
//      ->      Simplify some script parts.    
//      ->      Fixed GM Start Event Message Closing Problem.
//      ->      Fixed Reward NPC Appear After Event Finished.
//      ->      Added New Announcement Messages.
//      ->      Changed Default Bomb Poring Amount.    
//      ->      Announce Register NPC Location On Prontera.
//      ->      Bomb Poring no more fixed spawn on a specific spots.
//      ->      Changed some Globe Announce to Map Announce.
//      ->      Changed Time Duration of Event.
//      ->      Added an iforming message after GM has Disable the Event.
//      ->      Changed Rewards based on each Character and not Account based.
//      ->      Change Rewards System to auto RANDOMLY GENERATE Reward amount.
//      ->      Default Reward = Poring Coin [ ItemID : 7539 ] ( Amount 1 to 30 )
 
 
 
//              _________________________
//----------------------| MAP FLAG OF THIS EVENT |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//              _________________________
 
 
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
 
 
 
 
//----------------------Hide NPC On Startup----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
-       script  Bomber#disable  -1,{
 
OnInit:
        disablenpc "Reward NPC";
}
 
 
//----------------------NPC Master Location-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------------To Active / Close Event --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
prontera,155,77,4       script  Bomber  1904,{
        doevent "bombevent::OnStart";
}
 
 
 
//----------------------WHISPERING SYSTEM----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//------------------  PM [ npc:bombevent ] with any message then menu will come out --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
-       script  bombevent       -1,{
        OnWhisperGlobal:
 
OnStart:
        if (getgmlevel() >= 60) goto LMS_Admin;
        mes "[Minion]";
        mes "Hello " + strcharinfo(0) + ", I am busy right now.";
        mes "*sigh*";
        close;
 
 
 
//---------------------------GM MENU----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
LMS_Admin:
        mes "[Bomber]";
        mes "Hello " + strcharinfo(0) + ", would you like me to start the Bomb Event ?";
        mes "Choose [ ^336699START EVENT ^000000 ] if you wish to start it !!";
        menu "START EVENT",M_bomb,"Spectate",M_warp,"End Event",M_EndEvent,"No Thanks",leave;
        M_bomb:
                next;
                mes "[Bomber]";
                 mes "Ok, I'll start it this instant.";
                next;
                 mes "The Registry NPC will come out more awhile..";
                 mes "He is use for player to register the Game.";
                 mes "He also will warp player who had registered to the event location.";
                close2;
                set $@offvar,1;
                goto StartEvent;
                end;
 
        M_warp:
                mes "[Bomber]";
                mes "Very well, I will warp you to the map!";
                warp "quiz_01",42,369;
                close;
 
        leave:
                next;
                mes "[Bomber]";
                mes "Ok " + strcharinfo(0) +", nice seeing you.";
                close;
               
        M_EndEvent:
                mes "[Bomber]";
                mes "Ok master, I will stop the event for you right away!";
                next;
                set $@offvar,1;
                announce "I will be back after 3 Minutes",bc_blue|bc_self;
                disablenpc "Reward NPC";
                killmonsterall "quiz_01";
                areawarp "quiz_01",10,10,450,450,"prontera",155,165;
               
                disablenpc "Bomber";
                warp "prontera",155,160;
                close2;
                sleep2 180000;
                enablenpc "Bomber";
                end;
 
 
//----------------------START EVENT----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
        StartEvent:
        initnpctimer;
        announce "Bomb Event Will begin in 3 minutes. Head to Prontera",0;
        killmonsterall "quiz_01";
        disablenpc "Reward NPC";
        sleep2 30000;
        announce "Bomb Event Will begin in 2 minutes 30 seconds . Head to Prontera",0;
        sleep2 30000;
        announce "Bomb Event will begin in 2 minutes! Head to Prontera",0;
        sleep2 15000;
        announce "Bomb : I have now appeared in Prontera for registry l! ",0;
        enablenpc "Registry";
        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 "Bomb Event has now begun !! Registry Closed Now ~",0,0x00FF00;
        disablenpc "Registry";
        sleep2 3000;
        announce "Bomb Event will begin in ~5~",0;
        sleep2 1000;
        announce "Bomb Event will begin in ~4~",0;
        sleep2 1000;
        announce "Bomb Event will begin in ~3~",0;
        sleep2 1000;
        announce "Bomb Event will begin in ~2~",0;
        sleep2 1000;
        announce "Bomb Event will begin in ~1~",0;
        sleep2 1000;
 
 
//----------------------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;
        enablenpc "Reward NPC";
        sleep2 3000;
        mapannounce "quiz_01","You have survive and WIN, approach the Reward NPC please.",0;
        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;
                enablenpc "Reward NPC";
                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  ^^. ";
        }
       
}
 
//----------------------REWARD NPC---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
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;
 
}
 
 
//----------------------REGISTER FOR GAME----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
prontera,156,185,4      script  Registry        1904,{
        if (BaseLevel < 1) goto NO;                     // Check Base Level Before Register
        if (class > 0) goto event;                      // Check Class Before Register
        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
//      statusup2 bStr,-999;                    // you can enable this to set their stat to lower during the event
//      statusup2 bAgi,-999;                    // you can enable this to set their stat to lower during the event
//      statusup2 bVit,-999;                    // you can enable this to set their stat to lower during the event
//      statusup2 bInt,-999;                    // you can enable this to set their stat to lower during the event
//      statusup2 bDex,-999;                    // you can enable this to set their stat to lower during the event
//      statusup2 bLuk,-999;                    // you can enable this to set their stat to lower during the event
        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;
}
        OnInit:
        disablenpc "Registry";
        disablenpc "Reward NPC";
        end;
}
 
 
 
//-------------Bomb Poring Will Keep Spawn After Died-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------When A Bomb Poring with  "bomblose/1::OnMobDied" Died.. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------The Event Will Spawn 2 More Bomb Poring. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------The 2 Is "Special" ( Will Spawn 2 More Bomb Porings Back When Died Again ) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
//------------"Unlimit Spawn" Might Increase Lag In Your Server If The Number Too High ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
-       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;
}
Viewed 1032 times, submitted by unknown.