viewing paste Unknown #288 | 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
OnMobDeath:
    set $@heldunmobs,$@heldunmobs-1;
    if($@heldunmobs<=0) { 
        mapannounce "for_map01","Hel Dungeon Wave cleared!",bc_map;
        if($@heldunwave==1) { 
            mapannounce "for_map01","You cleared Wave 1! Here comes Wave 2!",bc_map; 
            donpcevent "HelDunSpawn::OnWave2"; 
        }
        else if($@heldunwave==2) { 
            mapannounce "for_map01","You cleared Wave 2! Here comes the MvP!",bc_map; 
            donpcevent "HelDunSpawn::OnFirstMVP"; 
        }
        else if($@heldunwave==3) { 
            mapannounce "for_map01","You cleared the MvP! Here comes Wave 3!",bc_map; 
            donpcevent "HelDunSpawn::OnWave4"; 
        }
        else if($@heldunwave==4) { 
            mapannounce "for_map01","You cleared Wave 3! Here comes Wave 4!",bc_map; 
            donpcevent "HelDunSpawn::OnWave5"; 
        }
        else if($@heldunwave==5) { 
            mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map; 
            donpcevent "HelDunSpawn::OnWave6"; 
        }
        else if($@heldunwave==6) { 
            mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map; 
            donpcevent "HelDunSpawn::OnWave7"; 
        }
        else if($@heldunwave==7) { 
            mapannounce "for_map01","You cleared Wave 5! Here comes the final MvP!",bc_map; 
            donpcevent "HelDunSpawn::OnFinalMVP"; 
        }
        else if($@heldunwave==8) { 
            mapannounce "for_map01","You have defeated the final MvP of The Gates of Hel!",bc_map; 
            enablenpc "Warp to Gates of Hell"; 
        }
    }
    end;
}
 
OnMobDeath:
    set $@heldunmobs,$@heldunmobs-1;
    if($@heldunmobs<=0) { 
        mapannounce "for_map01","Hel Dungeon Wave cleared!",bc_map;
        switch($@heldunwave){
        case 1:
            mapannounce "for_map01","You cleared Wave 1! Here comes Wave 2!",bc_map;
            donpcevent "HelDunSpawn::OnWave2";
            break;
        case 2:
            mapannounce "for_map01","You cleared Wave 2! Here comes the MvP!",bc_map;
            donpcevent "HelDunSpawn::OnFirstMVP";
        case 3:
            mapannounce "for_map01","You cleared the MvP! Here comes Wave 3!",bc_map; 
            donpcevent "HelDunSpawn::OnWave4";
            break;
        case 4:
            mapannounce "for_map01","You cleared Wave 3! Here comes Wave 4!",bc_map; 
            donpcevent "HelDunSpawn::OnWave5";
            break;
        case 5:
            mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map; 
            donpcevent "HelDunSpawn::OnWave6";
            break;
        case 6:
            mapannounce "for_map01","You cleared Wave 4! Here comes Wave 5!",bc_map; 
            donpcevent "HelDunSpawn::OnWave7";
            break;
        case 7:
            mapannounce "for_map01","You cleared Wave 5! Here comes the final MvP!",bc_map; 
            donpcevent "HelDunSpawn::OnFinalMVP";
            break;
        case 8:
            mapannounce "for_map01","You have defeated the final MvP of The Gates of Hel!",bc_map; 
            enablenpc "Warp to Gates of Hell";
            break;
    }
    end;
}
Viewed 920 times, submitted by Guest.