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