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!
Im looking for help, don know its even possible, I made some alterations in chat window sizes for NPC-s.
My problem is the QuestHTMLWnd is working, but cant find a way to resize the rewards icons back grounds.
Some one have any idea for change it?
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Question
TreVor
Edited by TreVor
Link to comment
Share on other sites
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.