How to enabled Mana Potion during skill?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
lucky.it
Posts: 20
Joined: Fri May 08, 2009 11:06 am

How to enabled Mana Potion during skill?

Post 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.
User avatar
lucky.it
Posts: 20
Joined: Fri May 08, 2009 11:06 am

Re: How to enabled Mana Potion during skill?

Post by lucky.it »

Up!

can anyone help me?
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: How to enabled Mana Potion during skill?

Post by hope »

Did you turn them on in configs
User avatar
Vulcan
Posts: 53
Joined: Sat Nov 13, 2010 11:47 am

Re: How to enabled Mana Potion during skill?

Post 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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How to enabled Mana Potion during skill?

Post by jurchiks »

that line is not for potions, can't you see?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Vulcan
Posts: 53
Joined: Sat Nov 13, 2010 11:47 am

Re: How to enabled Mana Potion during skill?

Post by Vulcan »

jurchiks wrote:that line is not for potions, can't you see?
Omg , i didn't noticed!
User avatar
Vulcan
Posts: 53
Joined: Sat Nov 13, 2010 11:47 am

Re: How to enabled Mana Potion during skill?

Post by Vulcan »

up!
Zakoomar2
Posts: 7
Joined: Thu Oct 14, 2010 3:56 am

Re: How to enabled Mana Potion during skill?

Post by Zakoomar2 »

see viewtopic.php?f=95&t=19581#p107475 (java/com/l2jserver/gameserver/network/clientpackets/UseItem.java)
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: How to enabled Mana Potion during skill?

Post 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
Zakoomar2
Posts: 7
Joined: Thu Oct 14, 2010 3:56 am

Re: How to enabled Mana Potion during skill?

Post by Zakoomar2 »

Oly?
see datapack.data.scripts.handlers.itemhandlers.ItemSkills.java/ItemSkillsTemplate.java/ManaPotion.java
ADONES
Posts: 51
Joined: Sun Dec 06, 2009 10:28 pm

Re: How to enabled Mana Potion during skill?

Post by ADONES »

Hello there..

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

yours
ADONES
User avatar
armura
Posts: 40
Joined: Sat Sep 04, 2010 9:08 pm

Re: How to enabled Mana Potion during skill?

Post 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
Post Reply