- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Leonidas44
Hello mxc community,
I come to ask You a favor. While developing L2Mythras file source I ran up to a problem.
More of less Mana Potions when flagged as automatic use would not put item itself on reuse delay.
Screens might show You how it's working for now
BEFORE
AFTER
As You can see Auto Recharger consumed Mana Potion and gave MP back but I'm able to click on Mana Potion with left mouse button to get another 1k MP :')
Ideally I'd like to change this code:
Here is Mana Potion XML and skill itself:
I was also thinking about manually adding the same packet handler as it is for Left Click on skillbar. Potion then consumes itself and puts item on reuse delay as requested in XML.
Been trying also with different interfaces that have implemented ACP or Auto Potions. All of them were working correctly and so far what I'm missing is that what kind of packet listens to left click on skillbar. It should like general knowledge not only related to L2Mythras file source but I might be wrong.
Anyway would really appreciate for anybody to kindly get into a discussion. I can share any code from files related to Mana Potions but all these files can be found in post made by Akar0
Edited by Vision3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now