Jump to content

[share]olympiad clan skills bug fix


Recommended Posts

hello everyone,another share by me today :P,i have been searching the forum and i didnt find anything about this so here is the fix:

you go at :

java/net/sf/l2j/gameserver/model/L2Clan.java

at line 386:add this

 

       SiegeManager.getInstance().removeSiegeSkills(player);

       player.setClanCreateExpiryTime(System.currentTimeMillis() + Config.ALT_CLAN_CREATE_DAYS * 86400000L); //24*60*60*1000 = 86400000

}

           // remove Clanskills from Player  

   for (L2Skill skill : player.getClan().getAllSkills())  

player.removeSkill(skill, false);  

player.setClan(null);

player.setClanJoinExpiryTime(clanJoinExpiryTime);

player.setPledgeClass(exMember.calculatePledgeClass(player));

player.broadcastUserInfo();

 

enjoy the fix  ;)

credits:to cobra!!!!!!!!

green:added

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Join the conversation

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

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.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock