Page 1 of 1

How to enabled Mana Potion during skill?

Posted: Thu Nov 11, 2010 7:06 am
by lucky.it
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4422:
L2JDP Revision 7669:

Hi,
i want to change last Mana Potion system (potion disabled during skill) and restore old Epilogue system (potion always enabled).

I tried to change the skill 10001 in many different ways (I also tried the way suggested by netvirus in this topic: viewtopic.php?f=41&t=19104&start=15) ... but ... nothing happened.

Some one can help me?

Thank in advanced.

Re: How to enabled Mana Potion during skill?

Posted: Sat Nov 13, 2010 7:40 am
by lucky.it
Up!

can anyone help me?

Re: How to enabled Mana Potion during skill?

Posted: Sat Nov 13, 2010 9:49 am
by hope
Did you turn them on in configs

Re: How to enabled Mana Potion during skill?

Posted: Sat Nov 13, 2010 11:51 am
by Vulcan
I have the same problem, i think that the way to turn on the mana potion while casting is in the "ItemSkillTemplate.java" handler.

In that file there is a part of code wich terminate the method if the player is casting. I tried to delete that part but still manapotion aren't usable while casting.

Code: Select all

                      if (!itemSkill.isPotion() && playable.isCastingNow())                    {                        return;                    } 
hope someone know how to solve.

Re: How to enabled Mana Potion during skill?

Posted: Sat Nov 13, 2010 1:08 pm
by jurchiks
that line is not for potions, can't you see?

Re: How to enabled Mana Potion during skill?

Posted: Sat Nov 13, 2010 2:11 pm
by Vulcan
jurchiks wrote:that line is not for potions, can't you see?
Omg , i didn't noticed!

Re: How to enabled Mana Potion during skill?

Posted: Tue Nov 16, 2010 3:13 pm
by Vulcan
up!

Re: How to enabled Mana Potion during skill?

Posted: Tue Nov 16, 2010 11:11 pm
by Zakoomar2
see viewtopic.php?f=95&t=19581#p107475 (java/com/l2jserver/gameserver/network/clientpackets/UseItem.java)

Re: How to enabled Mana Potion during skill?

Posted: Tue Nov 16, 2010 11:24 pm
by hope
Zakoomar2 wrote:see viewtopic.php?f=95&t=19581#p107475 (java/com/l2jserver/gameserver/network/clientpackets/UseItem.java)
Is that not to do with oly

Re: How to enabled Mana Potion during skill?

Posted: Wed Nov 17, 2010 5:24 am
by Zakoomar2
Oly?
see datapack.data.scripts.handlers.itemhandlers.ItemSkills.java/ItemSkillsTemplate.java/ManaPotion.java

Re: How to enabled Mana Potion during skill?

Posted: Thu Dec 02, 2010 9:48 am
by ADONES
Hello there..

i got the same problem.. nobody know how to solve the problem?

yours
ADONES

Re: How to enabled Mana Potion during skill?

Posted: Sat Jan 22, 2011 12:24 pm
by armura
Sorry for my stupid question...
(perhaps the problem is mine, I can't understand everthing is write in english...)

I try many updates to enable mana potion or healing potion in the skill without success, but, none does not work... It's is possible?

I solve my question in viewtopic.php?f=69&t=20683