*Problem with Buffer, restore CP/HP/MP (not disabled)
Posted: Fri Jan 06, 2012 10:12 am
Hi guys, i have serious problems with \scripts\custom\NpcBuffer\NpcBuffer.java (555Id NPC)
When using the buff, auto buff or scheme Buffer = CP/HP restores for 100%. I do not need such a function.
Need disable restore options.
I removed code the script from NpcBuffer.java (\scripts\custom\NpcBuffer\NpcBuffer.java):
Buffer still recovers Cp / Hp ..
I also removed code from L2CabaleBufferInstance.java (gameserver\model\actor\instance):
No result, buffer also restores Hp / CP, what could be the problem?
My script Buffer (\scripts\custom\NpcBuffer\NpcBuffer.java):
http://pastebin.com/Aj3EwnQ4 (upd)
When using the buff, auto buff or scheme Buffer = CP/HP restores for 100%. I do not need such a function.
Need disable restore options.
I removed code the script from NpcBuffer.java (\scripts\custom\NpcBuffer\NpcBuffer.java):
Code: Select all
pcStatus.setCurrentHp (pcStat.getMaxHp ());pcStatus.setCurrentCp (pcStat.getMaxCp ());
Buffer still recovers Cp / Hp ..
I also removed code from L2CabaleBufferInstance.java (gameserver\model\actor\instance):
Code: Select all
target.setCurrentCp (target.getMaxCp ());target.setCurrentHp (target.getMaxHp ());
No result, buffer also restores Hp / CP, what could be the problem?
My script Buffer (\scripts\custom\NpcBuffer\NpcBuffer.java):
http://pastebin.com/Aj3EwnQ4 (upd)