// Made:By Kirlein (Tyirial Script Concept) //
// Devil Square based off the mmorpg Muonline //
// Have Fun and feel free to leave suggestions //
// Leave This intacted //
// + Translated by Stillhard aka Dewa //
// + Add times for 24 hours of play //
// + Add a little bit infos for newbie users //
// Completely rewrite by ~AnnieRuru~ //
// + Tested with rAthena 17101 //
// http://rathena.org/board/topic/77632-devil-square/
/////////////////////////////////////////////////
celestiaj,92,102,4 script Devil Square 796,{
if (getgmlevel() > 40) {
mes "Would you like to start the event?";
menu "Yes",L_Start,"No",-;
close;
}
mes "[Devil Square Guardian]";
mes "Welcome to the entrance door to ^FF0000Devil Square^000000";
mes "If you failed or die, the door will be closed and you have to wait until it start to open again";
next;
if ( select ( "Enter", "Info", "Cancel " ) == 3 ) {
mes "[Devil Square Guardian]";
mes "See ya";
close;
}
else if ( @menu == 2 ) { // Info
mes "[Devil Square Guardian]";
mes "There are 12 level monsters you'll encounter";
mes "Each level the enemies will grow stronger";
mes "If you succeded to win all 12 level monsters, you'll get a special reward!!!";
close;
}
else if ( .start != 1 ) { // time
mes "[Devil Square Guardian]";
mes "Devil Square is now closed";
mes "It'll be open again at:";
mes "04:00 , 10:00 , 16:00 , 22:00"; // display your time here
close;
}
else if ( baselevel < 70 || zeny < 20000 ) { // requirement
mes "[Devil Square Guardian]";
mes "Minimum base level to enter is 70";
mes "The registration fee is 20,000z";
close;
}
else if ( .register_num >= .register_limit ) { // room FULL
mes "[Devil Square Guardian]";
mes "I'm sorry but the Devil Square is FULL";
mes "Maximum users to enter is "+ .register_limit +" players";
close;
}
zeny = zeny - 20000;
announce strcharinfo(0)+" has entered the Devil Square", bc_npc;
percentheal 100,100;
warp "ordeal_1-1",165,165;
.register_aid[ .register_num ] = getcharid(3);
.register_num++;
end;
OnInit:
.register_limit = 15; // maximum amount of players can play in this event
.ann_survive = 60000; // the rate at which announce the players that still survive in devil square, in mili-seconds
bindatcmd "devilsquare", strnpcinfo(0)+"::Onatcmd", 99,100;
end;
Onatcmd:
if ( compare( .@atcmd_parameters$, "on" ) || compare( .@atcmd_parameters$, "start" ) ) {
if ( .start )
dispbottom "Devil Square Event already started.";
else
goto L_Start;
}
else if ( compare( .@atcmd_parameters$, "off" ) || compare( .@atcmd_parameters$, "end" ) ) {
if ( !.start )
dispbottom "Devil Square Event not yet start.";
else
goto L_End;
}
else if ( !.start ) {
dispbottom "Devil Square Event is currently not running.";
dispbottom "Use "+ .@atcmd_command$ +" on | start to start the event.";
dispbottom "Use "+ .@atcmd_command$ +" off | end to end this event";
}
else if ( .start == 1 )
dispbottom "Devil Square Event is currently accepting participations.";
else
dispbottom "Devil Square Event is currently running. Currently on Round "+ .round +" with "+ .mob +" mobs left.";
end;
L_Start:
disablenpc "Reward NPC#DS";
OnClock0400: // yeah I know about OnMinute ... it just that more people knows better using OnClock
OnClock1000:
OnClock1600:
OnClock2200:
.start = 1;
disablenpc "Exit#DS";
mapannounce "ordeal_1-1","Devil Square is now closed.", bc_map;
getmapxy .@map$, .@x, .@y, 1;
mapwarp "ordeal_1-1", .@map$, .@x, .@y;
killmonsterall "ordeal_1-1";
announce "Devil Square is NOW OPEN! 5 Minutes until it starts!", bc_all;
sleep 2000;
announce "[Devil Square] Dual clients in Devil Square will be punished!", bc_all;
sleep 58000;
announce "Devil Square will begin in 4 minutes!", bc_all;
sleep 60000;
announce "Devil Square will begin in 3 minutes!", bc_all;
sleep 60000;
announce "Devil Square will begin in 2 minutes!", bc_all;
sleep 60000;
announce "Devil Square will begin in 1 minutes!", bc_all;
sleep 60000;
announce "DEVIL SQUARE HAS JUST BEGUN!!", bc_all;
sleep 2000;
mapannounce "ordeal_1-1","Devil Square : Before we begin, I will first announce the rules/gameplay.", bc_map;
sleep 3000;
mapannounce "ordeal_1-1","Devil Square : Healing Items such as Yggdrasil Berry and Yggdrasil Seed are not allowed!", bc_map;
sleep 3000;
mapannounce "ordeal_1-1","Devil Square : Dual clients are not allowed also. Once you are caught, you will be punished!", bc_map;
sleep 4000;
mapannounce "ordeal_1-1","Devil Square : First round will start at North-East portal, for the next round, just go to the next portal, clockwise.", bc_map;
sleep 5000;
mapannounce "ordeal_1-1","Devil Square : [Tip: Work as a Team]", bc_map;
sleep 2500;
mapannounce "ordeal_1-1","Devil Square : NOW LET US BEGIN!", bc_map;
sleep 1500;
mapannounce "ordeal_1-1","GOODLUCK!!", bc_map;
if ( !.register_num )
goto L_End;
.start = 2;
donpcevent strnpcinfo(0)+"::OnSurvive";
.round = 1;
.mob = 78;
areamonster "ordeal_1-1",183,182,246,244,"Baphomet",1039,1,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"RSX 0806",1623,1,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Eddga",1115,1,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Baphomet Jr.",1149,15,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Beetle King",1494,15,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Neraid",1255,15,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Bigfoot",1060,15,strnpcinfo(0)+"::Ondevildead";
areamonster "ordeal_1-1",183,182,246,244,"Leib Olmai",1306,15,strnpcinfo(0)+"::Ondevildead";
end;
Ondevildead:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs to enter the 2nd round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 2nd round", bc_map;
goto Ondevil2;
}
end;
Ondevil2:
.round = 2;
.mob = 79;
areamonster "ordeal_1-1",197,150,278,149,"Amon Ra",1511,1,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Dracula",1389,1,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Osiris",1038,1,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Pharaoh",1157,1,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Ancient Mummy",1297,15,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Dullahan",1504,15,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Mummy",1041,15,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Ragged Zombie",1865,15,strnpcinfo(0)+"::Ondevildead2";
areamonster "ordeal_1-1",197,150,278,149,"Skeleton Prisoner",1196,15,strnpcinfo(0)+"::Ondevildead2";
end;
Ondevildead2:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 3rd round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 3rd round", bc_map;
goto Ondevil3;
}
end;
Ondevil3:
.round = 3;
.mob = 83;
areamonster "ordeal_1-1",181,117,248,49,"Evil Snake Lord",1418,1,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Gold Queen Scaraba",2165,1,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Moonlight Flower",1150,1,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Turtle General",1312,1,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Phreeoni",1159,1,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Scaraba",2083,13,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Scaraba",2084,13,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Assaulter",1315,13,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Hode",1127,13,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Evil Cloud Hermit",1412,13,strnpcinfo(0)+"::Ondevildead3";
areamonster "ordeal_1-1",181,117,248,49,"Cat o Nine Tail",1307,13,strnpcinfo(0)+"::Ondevildead3";
end;
Ondevildead3:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 4th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 4th round", bc_map;
goto Ondevil4;
}
end;
Ondevil4:
.round = 4;
.mob = 80;
areamonster "ordeal_1-1",149,101,149,21,"Atros",1785,1,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Orc Hero",1087,1,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Orc Lord",1190,1,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Hardrock Mammoth",1990,1,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Vesper",1685,1,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Driller",1380,15,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Tatacho",1986,10,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Orc Archer",1189,15,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Zenorc",1177,20,strnpcinfo(0)+"::Ondevildead4";
areamonster "ordeal_1-1",149,101,149,21,"Apocalypse",1365,15,strnpcinfo(0)+"::Ondevildead4";
end;
Ondevildead4:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 5th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 5th round", bc_map;
goto Ondevil5;
}
end;
Ondevil5:
.round = 5;
.mob = 84;
areamonster "ordeal_1-1",118,117,51,51,"Bacsojin",1630,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Angeling",1096,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Arc Angeling",1388,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Deviling",1582,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Ghostring",1120,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Pori Pori",1502,1,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Magmaring",1836,13,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Poporing",1031,13,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Poring",1002,13,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Santa Poring",1062,13,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Marin",1242,13,strnpcinfo(0)+"::Ondevildead5";
areamonster "ordeal_1-1",118,117,51,51,"Drops",1113,13,strnpcinfo(0)+"::Ondevildead5";
end;
Ondevildead5:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 6th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 6th round", bc_map;
goto Ondevil6;
}
end;
Ondevil6:
.round = 6;
.mob = 79;
areamonster "ordeal_1-1",102,150,21,150,"Detale",1719,1,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Boitata",2068,1,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Gopinich",1885,1,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Lady Tanee",1688,1,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Hydrolancer",1720,15,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Acidus",1713,15,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Mavka",1884,15,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Kraben",1587,15,strnpcinfo(0)+"::Ondevildead6";
areamonster "ordeal_1-1",102,150,21,150,"Iara",2069,15,strnpcinfo(0)+"::Ondevildead6";
end;
Ondevildead6:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 7th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 7th round", bc_map;
goto Ondevil7;
}
end;
Ondevil7:
.round = 7;
.mob = 79;
areamonster "ordeal_1-1",117,180,51,249,"Garm",1252,1,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Ktullanux",1779,1,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Stormy Knight",1251,1,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Tendrillon",1991,1,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Ice Titan",1777,15,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Hillslion",1989,15,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Garm Baby",1515,15,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Snowier",1775,15,strnpcinfo(0)+"::Ondevildead7";
areamonster "ordeal_1-1",117,180,51,249,"Freezer",1319,15,strnpcinfo(0)+"::Ondevildead7";
end;
Ondevildead7:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 8th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 8th round", bc_map;
goto Ondevil8;
}
end;
Ondevil8:
.round = 8;
.mob = 79;
areamonster "ordeal_1-1",149,197,149,278,"Dark Lord",1272,1,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Drake",1112,1,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Incantation Samura",1492,1,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Lord of Death",1373,1,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Dark Illusion",1302,10,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Vanberk",1771,20,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Isilla",1772,20,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Owl Baron",1295,10,strnpcinfo(0)+"::Ondevildead8";
areamonster "ordeal_1-1",149,197,149,278,"Loli Ruri",1505,15,strnpcinfo(0)+"::Ondevildead8";
end;
Ondevildead8:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 9th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 9th round", bc_map;
goto Ondevil9;
}
end;
Ondevil9:
.round = 9;
.mob = 84;
areamonster "ordeal_1-1",183,182,246,244,"Beelzebub",1873,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Kraken",2202,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Maya",1147,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Mistress",1059,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Maya Purple",1289,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Golden Thief Bug",1086,1,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Dolomedes",2092,14,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Ungoliant",1618,16,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Angra Mantis",2133,16,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Centipide",1987,16,strnpcinfo(0)+"::Ondevildead9";
areamonster "ordeal_1-1",183,182,246,244,"Porn Spider",2132,16,strnpcinfo(0)+"::Ondevildead9";
end;
Ondevildead9:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 10th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 10th round", bc_map;
goto Ondevil10;
}
end;
Ondevil10:
.round = 10;
.mob = 70;
areamonster "ordeal_1-1",197,150,278,149,"Lost Dragon",2131,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",274,149,"Entweihen",1957,1,strnpcinfo(0)+"::Ondevildead10";
areamonster "ordeal_1-1",197,150,278,149,"Gloom Under Night",1768,1,strnpcinfo(0)+"::Ondevildead10";
areamonster "ordeal_1-1",197,150,278,149,"Fallen Bishop Hibram",1871,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",272,148,"Thorn",1960,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",272,151,"Thorn",1961,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",275,151,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",275,148,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",273,147,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",274,147,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",276,150,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",274,152,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",273,152,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",271,150,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
monster "ordeal_1-1",271,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10";
areamonster "ordeal_1-1",197,150,278,149,"Necromancer",1870,15,strnpcinfo(0)+"::Ondevildead10";
areamonster "ordeal_1-1",197,150,278,149,"Agav",1769,20,strnpcinfo(0)+"::Ondevildead10";
areamonster "ordeal_1-1",197,150,278,149,"Echio",1770,20,strnpcinfo(0)+"::Ondevildead10";
end;
Ondevildead10:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 11th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 11th round", bc_map;
goto Ondevil11;
}
end;
Ondevil11:
.round = 11;
.mob = 47;
areamonster "ordeal_1-1",181,117,248,49,"Doppelganger",1046,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Ygnizem",1658,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Assassin Cross Eremes",1647,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Kiel D-01",1734,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Assassin Cross Eremes",1641,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Champion Chen",2231,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Clown Alphoccio",2233,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Creator Flamel",2229,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Gypsy Trentini",2234,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"High Priest Magaleta",1643,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"High Wizard Katrinn",1645,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Lord Knight Seyren",1640,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Paladin Randel",2228,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Professor Celia",2230,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Sniper Cecil",1644,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Stalker Gertie",2232,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Whitesmith Harword",1642,1,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Seyren",1634,5,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Eremes",1635,5,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Harword",1636,5,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Magaleta",1637,5,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Shecil",1638,5,strnpcinfo(0)+"::Ondevildead11";
areamonster "ordeal_1-1",181,117,248,49,"Katrinn",1639,5,strnpcinfo(0)+"::Ondevildead11";
end;
Ondevildead11:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to enter the 12th round", bc_map;
else if ( !.mob ) {
announce "Devil Square will enter to 12th round", bc_map;
goto Ondevil12;
}
end;
Ondevil12:
.round = 12;
.mob = 91;
areamonster "ordeal_1-1",149,101,149,21,"Ifrit",1832,1,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Valkyrie Randgris",1751,1,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Satan Morocc",1917,1,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Valkyrie",1765,7,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Naght Sieger",1956,1,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Kasa",1833,20,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Salamander",1831,20,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Incarntation of Morocc",1921,10,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Incarntation of Morocc",1918,10,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Incarntation of Morocc",1919,10,strnpcinfo(0)+"::Ondevildead12";
areamonster "ordeal_1-1",149,101,149,21,"Incarntation of Morocc",1920,10,strnpcinfo(0)+"::Ondevildead12";
end;
Ondevildead12:
.mob--;
if ( .mob == 25 || .mob == 5 )
announce "Devil Square : "+ .mob +" mobs left to finish the Devil Square", bc_map;
else if ( !.mob ) {
announce "Congratulations!! Please proceed to the center to claim your rewards!", bc_map;
goto L_End;
}
end;
L_End:
killmonsterall "ordeal_1-1";
enablenpc "Reward NPC#DS";
deletearray .register_aid;
.start = .round = .mob = .register_num = 0;
end;
}
ordeal_1-1,150,150,7 script Reward NPC#DS 51,{
mes "[Reward NPC]";
mes "Here is your rewards!";
getitem 7230,10;
getitem 30097,1;
mes "See ya";
announce "DEVIL SQUARE : Congratulations! "+ strcharinfo(0) +" has just finished the Devil Square!", bc_all;
next;
warp "SavePoint", 0,0 ;
close;
}
ordeal_1-1 mapflag loadevent
ordeal_1-1 mapflag nowarp
ordeal_1-1 mapflag nowarpto
ordeal_1-1 mapflag noteleport
ordeal_1-1 mapflag nosave SavePoint
ordeal_1-1 mapflag nomemo
ordeal_1-1 mapflag nobranch
ordeal_1-1 mapflag nopenalty
ordeal_1-1 mapflag noicewall
ordeal_1-1 mapflag restricted 7
How can I disable the Reward NPC even when the Event is not running. I only want him to appear whenever the Event is finished. Because I find out that when the devil square NPC is open waiting for 5 minutes, the players inside the ordeal_1-1 can see the NPC. Meaning, they can just go back and back to get the rewards. How can I fix this? Any help?
Question
c e d i e
How can I disable the Reward NPC even when the Event is not running. I only want him to appear whenever the Event is finished. Because I find out that when the devil square NPC is open waiting for 5 minutes, the players inside the ordeal_1-1 can see the NPC. Meaning, they can just go back and back to get the rewards. How can I fix this? Any help?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.