Extractable skill 50% + 50% = 75%???
Posted: Wed Mar 09, 2011 12:11 pm
L2J Revision 4513:
L2JDP Revision 7813:
Extractable.java r7775:
for example: extractable_skills.csv 12345,1,50;77777,1,50
item 12345 chance 50%
item 77777 chance 50%
total : 50% + 50% = 100% ... it is okey.
but...
Extractable.java r7813:
<table name="#extractableItems">12345,1,50;77777,1,50</table>
item 12345 chance 50%
item 77777 chance 50%
total : 50% + 50% * 50% = 75% ... 25% fail.
item 77777 have 25% chance. not 50%. because 50% * 50% = 25%.
are you understand?
I think that is BUG. need revert. Please review the well again.
L2JDP Revision 7813:
Extractable.java r7775:
for example: extractable_skills.csv 12345,1,50;77777,1,50
item 12345 chance 50%
item 77777 chance 50%
total : 50% + 50% = 100% ... it is okey.
but...
Extractable.java r7813:
<table name="#extractableItems">12345,1,50;77777,1,50</table>
item 12345 chance 50%
item 77777 chance 50%
total : 50% + 50% * 50% = 75% ... 25% fail.
item 77777 have 25% chance. not 50%. because 50% * 50% = 25%.
are you understand?
I think that is BUG. need revert. Please review the well again.