But now I need help with, If someone breaks it,The Player's Guild who lasthit the Jewel will receive the reward if they're on the same map (pvp_y_8-2) instead of only the player who broke the jewel gets the reward.
Thank You in advance for the help!
- script izlude_king -1,{
OnClock1900:
if(gettime(4)==2 || gettime(4)==4 ) { // Tue Thur
//set .koe_start, 1;
set .King,1;
announce "The King of Izlude has begun!!", 0;
monster "pvp_y_8-2",127,162,"King's Jewel",2035,1,"izlude_king::OnKoeDead";
end;
}
OnClock2100:
if(gettime(4)==2 || gettime(4)==4 ) { // Tue Thurs
if (.King != 0){
//goto OnKoeDead;
set .King,0;
announce "The King of Izlude is over!!", 0;
killmonster "pvp_y_8-2","All";
end;
}
end;
}
OnKoeDead:
set .King,0;
announce "The King of Izlude is over!!", 0;
announce "The current King of Izlude is " + strcharinfo(0) + "!!", 0;
getitem 7608, 1;
//sleep 500;
//if ( .koe_start )
// monster "pvp_y_8-2",127,162,"EMPERIUM",1288,1,"KoE::OnKoeDead";
end;
} // End of Script
Question
Yami
I got it to work now!!
But now I need help with, If someone breaks it,The Player's Guild who lasthit the Jewel will receive the reward if they're on the same map (pvp_y_8-2) instead of only the player who broke the jewel gets the reward.
Thank You in advance for the help!
Edited by YamiLink 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.