2
0

SoulCrystal.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 net.sf.l2j.gameserver.model.base;
  16. /**
  17. * $ Rewrite 06.12.06 - Yesod
  18. * */
  19. public class SoulCrystal
  20. {
  21. public static final int[][] HighSoulConvert =
  22. {
  23. {4639, 5577}, //RED 10 - 11
  24. {5577, 5580}, //RED 11 - 12
  25. {5580, 5908}, //RED 12 - 13
  26. {5908, 9570}, //RED 13 - 14
  27. {4650, 5578}, //GRN 10 - 11
  28. {5578, 5581}, //GRN 11 - 12
  29. {5581, 5911}, //GRN 12 - 13
  30. {5911, 9572}, //GRN 13 - 14
  31. {4661, 5579}, //BLU 10 - 11
  32. {5579, 5582}, //BLU 11 - 12
  33. {5582, 5914}, //BLU 12 - 13
  34. {5914, 9571} //BLU 13 - 14
  35. };
  36. /**
  37. * "First line is for Red Soul Crystals, second is Green and third is Blue Soul Crystals,
  38. * ordered by ascending level, from 0 to 13..."
  39. */
  40. public static final int[] SoulCrystalTable =
  41. {
  42. 4629, 4630, 4631, 4632, 4633, 4634, 4635, 4636, 4637, 4638, 4639, 5577, 5580, 5908, 9570,
  43. 4640, 4641, 4642, 4643, 4644, 4645, 4646, 4647, 4648, 4649, 4650, 5578, 5581, 5911, 9572,
  44. 4651, 4652, 4653, 4654, 4655, 4656, 4657, 4658, 4659, 4660, 4661, 5579, 5582, 5914, 9571
  45. };
  46. public static final int MAX_CRYSTALS_LEVEL = 14;
  47. public static final int BREAK_CHANCE = 10;
  48. public static final int LEVEL_CHANCE = 32;
  49. public static final int RED_BROKEN_CRYSTAL = 4662;
  50. public static final int GRN_BROKEN_CYRSTAL = 4663;
  51. public static final int BLU_BROKEN_CRYSTAL = 4664;
  52. public static final int RED_NEW_CRYSTAL = 4629;
  53. public static final int GRN_NEW_CYRSTAL = 4640;
  54. public static final int BLU_NEW_CRYSTAL = 4651;
  55. }