//===== eAthena Script ============================================
//= King of Emperium Hill
//===== By: =======================================================
//= AnnieRuru
//===== Current Version: ==========================================
//= 1.0
//===== Compatible With: ==========================================
//= hercules 2014-02-18
//===== Description: ==============================================
//= defends the emperium in the middle of the map until times up
//===== Topic =====================================================
//= http://hercules.ws/board/topic/4495-gvg-king-of-emperium-hill/
//===== Additional Comments: ======================================
//= Finally there is a topic for this !
//=================================================================
- script KoE -1,{
OnInit:
disablenpc "The King#KoE";
disablenpc "Exit#KoE";
bindatcmd "koe", strnpcinfo(0)+"::OnCommand", 99,100;
end;
OnCommand:
if ( compare( .@atcmd_parameters$, "on" ) ) goto L_start;
else if ( compare( .@atcmd_parameters$, "off" ) ) goto L_end;
else {
dispbottom "type - '@koe on' to start the event";
dispbottom "type - '@koe off' to end the event";
}
end;
OnMon2100:
OnMon2200: // everyday 8pm starts
OnWed2100:
OnWed2200:
OnSat2100:
OnSat2200:
L_start:
if ( .start ) end;
gvgon "guild_vs1";
announce "The King of Emperium Hill has begun!", bc_all;
.start = 1;
enablenpc "The King#KoE";
disablenpc "Exit#KoE";
$koegid = 0;
donpcevent "::OnRevKoE";
maprespawnguildid "guild_vs1", $koegid, 7;
monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead";
end;
OnMon2130:
OnMon2230: // everyday 8pm starts
// getitem 675, 5;
Zeny += 10; // configure prize here
end;
}
// Flags
guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{
if ( !$koegid ) end;
mes "[King of Emperium Hill]";
mes "The Current King of Emperium Hill is the ["+ getguildname($koegid) +"] guild.";
close;
//OnInit: // Uncomment this line to make the emblem stay after @reloadscript
OnRevKoE:
flagemblem $koegid;
end;
}
After i destroyed the emperium, i still able to hit own emperium again although the empeerium belongs to me. how do i solve it?
Question
donkeyg
After i destroyed the emperium, i still able to hit own emperium again although the empeerium belongs to me. how do i solve it?
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.