Code improvements.

This commit is contained in:
MobiusDev
2016-04-24 16:30:15 +00:00
parent 8bd51aba1c
commit 2dd14bef9b
860 changed files with 8865 additions and 17041 deletions

View File

@ -95,11 +95,7 @@ public final class L2EnchantSkillGroup
public byte getRate(L2PcInstance ply)
{
if (ply.getLevel() < 76)
{
return 0;
}
return _rate[ply.getLevel() - 76];
return ply.getLevel() < 76 ? 0 : _rate[ply.getLevel() - 76];
}
}
}