Jump to content

[Share]Fixed bug with baby pets buffs for L2J!


Recommended Posts

Index: /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2BabyPetInstance.java

===================================================================

--- /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2BabyPetInstance.java (revision 3404)

+++ /trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2BabyPetInstance.java (revision 3405)

@@ -287,6 +287,6 @@

if (skill.hasEffects()

&& !"none".equals(skill.getEffectTemplates()[0].stackType)

- && skill.getEffectTemplates()[0].stackType == e.getStackType()

- && skill.getEffectTemplates()[0].stackOrder <= e.getStackOrder())

+ && e.getStackType().equals(skill.getEffectTemplates()[0].stackType)

+ && e.getStackOrder() >= skill.getEffectTemplates()[0].stackOrder)

iter.remove();

}

 

 

 

Credits : L2J Forum!

 

PS:ola auta gia na katevasw to karma m!

Link to comment
Share on other sites

Kaneis copy/paste kati gia na anebaseis to karma s k oute p skeftikes na dwseis parapanw plirofories.

 

Perimeneis na pareis karma?:S

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