- script Revenge -1,{
OnInit:
disablenpc "The King";
end;
OnWhisperGlobal:
if ( getgmlevel() < 99 ) end;
else if ( compare ( @whispervar0$, "on" ) ) goto L_start;
else if ( compare ( @whispervar0$, "off" ) ) goto L_end;
else end;
L_end:
OnTue2200:
OnWed2200:
OnThu2200:
announce "The King of Emperium Hill is over!", 0;
agitend;
enablenpc "Hamavel";
disablenpc "The King";
killmonsterall "bat_a01";
end;
L_start:
OnTue2100:
OnWed2100:
OnThu2100:
announce "The King of Emperium Hill has begun!", 0;
agitstart;
enablenpc "The King";
disablenpc "Hamavel";
setcastledata "bat_a01", 1, 0;
// getcastledata "bat_a01", 0, "::OnRevRevenge"; // I think this command broken
donpcevent "::OnRevRevenge";
maprespawnguildid "bat_a01", 0, 7;
monster "bat_a01",168,345,"EMPERIUM",1288,1,"Revenge::OnEmpDead";
end;
OnEmpDead:
set .@gid, getcharid(2);
setcastledata "bat_a01", 1, .@gid;
announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0;
// getcastledata "bat_a01", 0, "::OnRevRevenge";
donpcevent "::OnRevRevenge";
maprespawnguildid "bat_a01", .@gid, 6;
sleep 500;
if ( agitcheck() == 1 )
monster "bat_a01",168,345,"EMPERIUM",1288,1,"Revenge::OnEmpDead";
end;
}
// KoE Entrance
prontera,166,190,4 script The King 58,{
mes "[The King]";
if ( getcharid(2) == 0 ) {
mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000.";
close;
}
mes "Hello.";
mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?";
if ( select ( "Yes", "No" ) == 2 ) close;
switch( rand(1,4) ){
case 1: warp "bat_a01", 50, 88; end;
case 2: warp "bat_a01", 88, 50; end;
case 3: warp "bat_a01", 50, 11; end;
case 4: warp "bat_a01", 11, 50; end;
}
}
// KoE Exit
guild_vs1,57,49,5 script Hamavel 453,{
mes "Hamavel";
mes "Thanks for join ValhallaRO, See ya ";
if ( getcharid(2) == getcastledata("guild_vs1",1) )
getitem 501, 400; // configure prize here
next;
warp "Save",0,0;
close;
}
// Flags
prontera.gat,153,190,4 script King of Emperium Hill#1::koe_flag 722,{
set .@gid, getcastledata("bat_a01",1);
if ( .@gid == 0 ) end;
mes "[King of Emperium Hill]";
mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild.";
close;
OnRevKoE:
flagemblem getcastledata("bat_a01",1);
end;
}
guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722
guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722
guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722
bat_a01 mapflag gvg_castle
bat_a01 mapflag nobranch
bat_a01 mapflag nomemo
bat_a01 mapflag nopenalty
bat_a01 mapflag noreturn
bat_a01 mapflag nosave SavePoint
bat_a01 mapflag noteleport
bat_a01 mapflag pvp_noparty
bat_a01 mapflag nowarp
bat_a01 mapflag nowarpto
Question
PapaZola
here my castle_db
0,bat_a01,RevengeBattleground,Agit#bat_a01,1 // kRO : Hohensyubangawoo
the problem logo guild notshow up
how to make show the logo guld
Edited by ArcencielCodeboxed
Link to comment
Share on other sites
0 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.