Jump to content

[Share]Clan Skills as a reward for the leader :P


Recommended Posts

*L2PcInstance.java

 

Hello , with this code , if the leader of the clan is a HERO .. the clan will be rewarded by taking full clan skills (for its level)

 

Cool HuH?!

 

So , 1st of all find

 

private void regiveTemporarySkills()

 

 

Then  go and paste this!

 

// Add clan skills

	L2PcInstance player = getClient().getActiveChar();

	if (getClan() !=null && getClan().getReputationScore() >= 0)
{

	if (player.isClanLeader() && player.isHero())
		{
			L2Skill[] skills = getClan() .getAllSkills();
		for (L2Skill sk : skills)
		{
return;

 

 

Thanks ,

 

 

I think its gonna be usefull on low rates ...

Link to comment
Share on other sites

Good Job Revenger ;)

Try to make diffs :D team-->:Create patch ;)

Keep the good work!!

 

-TheEnd

Thanks ;)

 

Really appreciate your comments guys , but i have not imagination to create BIG codes so i am bored and creating shiatz :P

Link to comment
Share on other sites

Well, if some1 already have clan skills and be clan leader & hero when the hero period will end he will lose all of his clan skills..kinda unfair.

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...