Can someone edit this script, its a gold room script and i want this this to repawn the poring in every 30 please? that GM don't need to Respawn it.
//===== eAthena Script =======================================
//= Treasure Room
//===== By: ==================================================
//= Chasis of ThugRO
//===== Current Version: =====================================
//= v.1
//===== Compatible With: =====================================
//= Any eAthena Version
//===== Description: =========================================
//= Its a Pirate Thing way of Mining.
//= for any revision or bug just let me know
//============================================================
//========== Treasure Room Settings ==========================
pvp_n_2-1 mapflag nosave SavePoint
pvp_n_2-1 mapflag nomemo
pvp_n_2-1 mapflag nobranch
pvp_n_2-1 mapflag noexp
pvp_n_2-1 mapflag nodrop
pvp_n_2-1 mapflag nochat
pvp_n_2-1 mapflag novending
pvp_n_2-1 mapflag nowarp
pvp_n_2-1 mapflag nowarpto
pvp_n_2-1 mapflag noreturn
pvp_n_2-1.gat mapflag pvp off
//ordeal_2-1.gat mapflag pvp_noguild
pvp_n_2-1 mapflag noloot
pvp_n_2-1 mapflag noskill
pvp_n_2-1 mapflag restricted 7
//===========================================================
//=== Mobs
//===========================================================
- script trum_v1 -1,{
OnInit:
// Target Mobs
monster "pvp_n_2-1",0,0,"Gold Eater",1002,5000,"trum_v1::OnThisMobDeath";
end;
OnThisMobDeath:
monster "pvp_n_2-1",0,0,"Gold Eater",1002,1,"trum_v1::OnThisMobDeath";
getitem 969,5;
}
//===========================================================
//=== Exit Warper
//===========================================================
pvp_n_2-1,94,15,4 script Treasure Miner 826,{
if(getgmlevel()) > 50{
mes "[ Treasure Miner ]";
mes "What would you like to do?";
next;
menu "Respawn Gold Eaters",M_RESPAWN,"Exit to Prontera",M_TELEPORT,"Stay",M_Bye;
close;
M_RESPAWN:
mes "[ Treasure Miner ]";
mes "Respawning monsters....";
monster "pvp_n_2-1",0,0,"Coin Eater",1002,2000,"trum_v1::OnThisMobDeath";
next;
mes "Done!";
close;}
mes "[ Treasure Miner ]";
mes "I'm sorry, you are not authorized to perform this action.";
close;
M_TELEPORT:
mes "[ Treasure Miner ]";
mes "Thank You for mining!!.";
next;
warp "prontera",155,180;
end;
M_Bye:
mes "[Treasure Miner]";
mes "Alright, Go get more Golds~.";
close;
}
//===========================================================
//=== Warpers
//===========================================================
prontera,166,198,3 script Treasurer#prt::Treasurer 804,{
mes "[Treasurer]";
mes "Hi There, Would you like to go to the Treasure Room? You need 1,000,000z to go inside.";
next;
switch(select("Yes. Ahoy!:No")) {
case 1:
if (Zeny > 999999) {
mes "[ Treasurer ]";
mes "Alright I will now send you to the Treasure Room, Take Care!.";
next;
set Zeny,Zeny-1000000;
atcommand "@option 0 0 0";
warp "pvp_n_2-1",93,155;
emotion 21;
close;
}
else {
mes "[ Treasurer ]";
mes "Sorry, But you don't have enough zeny.";
close;
}
case 2:
mes "[ Treasurer ]";
mes "Alright, No problem.";
close;
}
}
//===========================================================
//=== NPC Clones
//===========================================================
aldebaran,133,116,4 duplicate(Treasurer) Treasurer#alde 804
alberta,23,247,4 duplicate(Treasurer) Treasurer#alb 804
payon,151,182,4 duplicate(Treasurer) Treasurer#pay 804
geffen,115,74,4 duplicate(Treasurer) Treasurer#gef 804
Question
Yoona
Can someone edit this script, its a gold room script and i want this this to repawn the poring in every 30 please? that GM don't need to Respawn it.
Script into Code
Link to comment
Share on other sites
1 answer 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.