Jump to content
  • 0

Custom KOE like HELP


Yami

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   2
  • Joined:  01/02/14
  • Last Seen:  

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!

-	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
Edited by Yami
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   2
  • Joined:  01/02/14
  • Last Seen:  

No working script like this? Any help please?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   2
  • Joined:  01/02/14
  • Last Seen:  

HELP =(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...