prontera,147,167,4 script Prophet 705,{
//--------------------------------------------
set .@mz, 2000000000;
set .@n$, "[Prophet]";
//--------------------------------------------
//--------------------------------------------
if($Invade == 1){
mes .@n$;
mes "MvP Invasion is now Activated.";
mes "Get ready for the MvP Invasion and it will start at 12 midnight.";
mes "You have only 1 day to eliminate them all.";
close;
}
mes .@n$;
mes "Balance : "+(.@mz - $donate)+"z";
mes "Donated : "+$donate+"z";
next;
switch( select("Donate","What is MvP Invasion?","Nevermind") )
{
case 1:
input .@amt,0,.@mz;
if ( .@amt == 0 )
{
next;
mes .@n$;
mes "^FF0000Invalid input...^000000";
close;
}
if ( .@amt > Zeny )
{
next;
mes .@n$;
mes "^FF0000You have insufficient amount of Zeny on hand.^000000";
close;
}
set Zeny, Zeny - .@amt;
set $donate, $donate + .@amt;
next;
if($donate >= .@mz){
mes .@n$;
mes "Donated : "+$donate+"z";
donpcevent "Invasion::OnInvasion";
set $donate,0;
close;
}
mes .@n$;
mes "Donated : "+$donate+"z";
close;
case 2:
mes .@n$;
mes "MvP Invasion will be activated if the whole midgard reach the amount of donation needed. Announcement will be held at the same time that donation is completed. All MvP monster will be summoned in morroc town at 12mn and will last a day.";
close;
case 4:
mes .@n$;
mes "As you wish.";
mes "See you later.";
close;
}
}
- script Invasion -1,{
OnInvasion:
//--------------------------------------------
set $Invade,1;
//--------------------------------------------
announce "Prophet: MvP Invasion is now Activated",0;
sleep2 10000;
announce "Prophet: Get ready for the MvP Invasion and it will start at 12 midnight.",0;
sleep2 10000;
announce "Prophet: You have only 1 day to eliminate them all.",0;
end;
OnClock0000:
goto invade;
invade:
if($invade == 1){
set $invade,0;
donpcevent "Invasion::OnStart";
announce "Citizen of Morroc: We are invaded by MvP Monsters Please help us!!",0;
}else{
killmonsterall "morocc",1;
}
end;
OnStart:
monster "morocc",0,0,"Amon Ra",1511,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Assassin Cross Eremes",1647,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Atroce",1785,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"White Lady",1630,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Baphomet",1039,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Beelzebub",1873,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Boitata",2068,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Dark Lord",1272,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Detale",1719,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Doppelganger",1046,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Dracula",1389,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Drake",1112,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Eddga",1115,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Evil Snake Lord",1418,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Fallen Bishop Hibram",1871,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Garm",1252,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Gloom Under Night",1768,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Golden Thief Bug",1086,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Gopinich",1885,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"High Priest Magaleta",1649,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"High Wizard Katrinn",1651,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Ifrit",1832,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Incantation Samurai",1492,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Kiel D-01",1734,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Stormy Knight",1251,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Ktullanux",1779,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Lady Tanee",1688,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Lord Knight Seyren",1646,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Lord of Death",1373,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Maya",1147,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Mistress",1059,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Moonlight Flower",1150,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Nidhoggr's Shadow",2022,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Orc Hero",1087,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Orc Lord",1190,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Osiris",1038,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Pharaoh",1157,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Phreeoni",1159,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"RSX-0806",1623,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Sniper Cecil",1650,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Tao Gunka",1583,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Thanatos",1708,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Turtle General",1312,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Valkyrie Randgris",1751,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Vesper",1685,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Whitesmith Howard",1648,3,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Wounded Morroc",1917,1,"Invasion::OnMyMobDead";
monster "morocc",0,0,"Egnigem Cenia",1658,3,"Invasion::OnMyMobDead";
end;
OnMyMobDead:
announce "Citizen of Morroc: Thank you ["+strcharinfo(0)+"] for helping us!",0;
end;
}
//--------------------------------------------
morocc mapflag monster_noteleport
//--------------------------------------------
Hi guyss.. I need some edit on my script..
I want some changes first is when I complete the 2b zeny donation the invasion will start instead of waiting for 12nn and will end after 24 hours.. second is the set of monster will be on array type.. and 3rd is on OnMyMobDead: player name and monster name will be announced.. example: Citizen of Morroc: Thank you player for eliminating baphomet..
I hope someone is willing to share...