2
0

NobleSkillTable.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.datatables;
  16. import com.l2jserver.gameserver.model.skills.L2Skill;
  17. /**
  18. *
  19. * @author -Nemesiss-
  20. */
  21. public class NobleSkillTable
  22. {
  23. private static final L2Skill[] _nobleSkills = new L2Skill[8];
  24. private NobleSkillTable()
  25. {
  26. _nobleSkills[0] = SkillTable.getInstance().getInfo(1323, 1);
  27. _nobleSkills[1] = SkillTable.getInstance().getInfo(325, 1);
  28. _nobleSkills[2] = SkillTable.getInstance().getInfo(326, 1);
  29. _nobleSkills[3] = SkillTable.getInstance().getInfo(327, 1);
  30. _nobleSkills[4] = SkillTable.getInstance().getInfo(1324, 1);
  31. _nobleSkills[5] = SkillTable.getInstance().getInfo(1325, 1);
  32. _nobleSkills[6] = SkillTable.getInstance().getInfo(1326, 1);
  33. _nobleSkills[7] = SkillTable.getInstance().getInfo(1327, 1);
  34. }
  35. public static NobleSkillTable getInstance()
  36. {
  37. return SingletonHolder._instance;
  38. }
  39. public L2Skill[] getNobleSkills()
  40. {
  41. return _nobleSkills;
  42. }
  43. @SuppressWarnings("synthetic-access")
  44. private static class SingletonHolder
  45. {
  46. protected static final NobleSkillTable _instance = new NobleSkillTable();
  47. }
  48. }