- 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
Bleadd
Hello,
Last L2J Revision H5 Stable.
How can i have access to the Method isCombatFlagEquipped() in L2PcInstance from ManaPotion.java?
I tried to import L2PcInstance, to get the activeChar in a variable "L2PcInstance activeChar = getActiveChar()" in order to access the method but don't work?
How can i do ?
My goal :
if (!playable.isCombatFlagEquipped())
{
playable.setCurrentMp(playable.getCurrentMp()+Config.MoreManaNoCombat);
}
2 answers to this question
Recommended Posts