Page 1 of 1
[HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Wed Feb 16, 2011 11:46 pm
by ZeroCool22
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision
4501:
L2JDP Revision
7789:
I see other posts here with codes for Epilogue and GF but this not work on Freya.
viewtopic.php?f=81&t=18833&p=101328&hil ... on#p101328 (This method not work on Last Rev. Freya).
If someone can put a script working on Freya will be great, thx.
Re: [HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Thu Feb 17, 2011 12:57 am
by kimeraweb
Similar I wanted for skills, you can use this answer

was working for me.
viewtopic.php?f=81&t=18833
Good luck!
Re: [HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Thu Feb 17, 2011 1:28 am
by ZeroCool22
You test this on Last Freya? why i try but not work.

Re: [HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Thu Feb 17, 2011 2:37 am
by kimeraweb
Well, you need some basic Java knowledges to get it work.
In that post, teach you how to implement a new parameter which can be used on your XML (so potions included).
Just create a new condition (whatever you name it) for your new parameter and that potion will work as you want.
Yes, I'm using Freya, not the last, but it is not relevant. The code didn't change pretty much ^^
Re: [HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Mon Feb 21, 2011 1:00 pm
by Ralm
It did work for me,
And what I did was implement Copyleft code in Core, then change the condition on Skill XML for Mana pot.
Re: [HELP]Disallow Mana Potion in combat in Last Rev Freya?
Posted: Mon Feb 21, 2011 1:14 pm
by ZeroCool22
Ralm wrote:It did work for me,
And what I did was implement Copyleft code in Core, then change the condition on Skill XML for Mana pot.
Working now but i edited the item.xml no skill.