mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Fixed expertise and image design checks
also added options.cfg to gitignore
This commit is contained in:
@@ -290,9 +290,10 @@ public class SkillService implements INetworkDispatch {
|
||||
try
|
||||
{
|
||||
DatatableVisitor table = ClientFileManager.loadFile("datatables/player/player_level.iff", DatatableVisitor.class);
|
||||
for (int i = 0; i <= creature.getLevel(); i++) expertisePoints += (int) table.getObject(i, 5);
|
||||
for (int i = 0; i <= creature.getLevel(); i++) expertisePoints += (int) table.getObject(i, 5);
|
||||
for (String skill : creature.getSkills()) if(skill.startsWith("expertise_")) expertisePoints--;
|
||||
}
|
||||
catch (Exception e) { e.printStackTrace(); }
|
||||
catch (Exception e) { e.printStackTrace(); }
|
||||
return expertisePoints;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user