Page 1 of 1
[SOLVED] Calculate crystal count
Posted: Fri Mar 12, 2010 9:26 am
by xalis
L2J Revision Number: 3959
L2JDP Revision Number: 7106
Hi, someone know if there is any kind of formula to obtain the crystal_count in DP?
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 9:33 am
by jurchiks
armor/weapon tables?
but if you want the values for enchanted items, then you need to look for the formula in core, not dp
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 9:36 am
by xalis
Yes, in armor and weapon tables
Is there a formula to obtain values?
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 10:09 am
by jurchiks
what formula? it's getCrystalCount() for java and jython, and a simple query for sql
you should read L2Item.java, specifically line 364
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 10:32 am
by xalis
Hmm not that.
Code: Select all
/** * Returns the quantity of crystals for crystallization * @return int */ public final int getCrystalCount() { return _crystalCount; }
How L2J obtain the crystal_count values from official?
There is a formula or something else?
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 10:37 am
by jurchiks
so that's what you meant? should have told so earlier
somebody on official crystallizes the item and writes down the amount of crystals
the formula to calculate cry amount when item is enchanted is where I said, l2item.java line 364
Re: Calculate crystal count
Posted: Fri Mar 12, 2010 10:39 am
by xalis
They have also crystalize vesper? Oo They are mad?
Re: Calculate crystal count
Posted: Sat Mar 13, 2010 2:26 pm
by jurchiks
who cares jeez... maybe someone broke it while enchanting so they just asked the lvl and crystal count
besides looks like you don't know the situation on official server, there is a shitload of people running around in dynasty and vesper sets