Hello all dear members how to fix grade penalty on l2jfrozen ?
This option doesnt work i have on config ExpertisePenalty=True and dont work players can equip weapon s on 40 lvl
/**
* Refresh expertise penalty.
*/
public void refreshExpertisePenalty()
{
if (!Config.EXPERTISE_PENALTY)
return;
int intensityW = 0; // Default value
int intensityA = 0; // Default value.
// Level of grade penalty.
for (final L2ItemInstance item : getInventory().getItems())
{
// Checks if items equipped
if (item != null && item.isEquipped())
{
// Gets grade of item
final int crystaltype = item.getItem().getCrystalType();
if (item.isWeapon())
{
if (crystaltype-getExpertiseIndex()>=intensityW)
{
intensityW = crystaltype-getExpertiseIndex();
}
}
else
{
if (item.isArmor())
{
if (crystaltype-getExpertiseIndex()>=intensityA)
{
intensityA = crystaltype-getExpertiseIndex();
}
}
}
}
}
int intensity = intensityW + intensityA;
if (getExpertisePenalty() != intensity)
{
int penalties = _masteryPenalty + _masteryWeapPenalty + intensity;
if (penalties > 10) // Checks if penalties are out of bounds for skill level on XML
{
penalties = 10;
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Question
TreVor
Edited by TreVor
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.