Jump to content

Recommended Posts

Posted

Hello today i created a code for aCis project After olympiad char's skills get refreshed

 

PasteBin: http://pastebin.com/t8FtY8Hm

 

### Eclipse Workspace Patch 1.0
#P test
Index: java/net/sf/l2j/gameserver/model/olympiad/AbstractOlympiadGame.java
===================================================================
--- java/net/sf/l2j/gameserver/model/olympiad/AbstractOlympiadGame.java (revision 39)
+++ java/net/sf/l2j/gameserver/model/olympiad/AbstractOlympiadGame.java (working copy)
@@ -344,15 +343,13 @@

                player.teleToLocation(player.getLastX(), player.getLastY(), player.getLastZ());
                player.setLastCords(0, 0, 0);
+              
+               for (L2Skill s : player.getAllSkills())
+               {
+                       player.enableSkill(s);
+               }
+               player.sendSkillList();
+               player.sendPacket(new SkillCoolTime(player));
        }

        public static final void rewardParticipant(L2PcInstance player, int[][] reward)

 

 

Kind Regards

 

`Romeo

Guest
This topic is now closed to further replies.


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